nixpkgs/pkgs/development/libraries/libuchardet/default.nix

25 lines
614 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "libuchardet-${version}";
2016-04-12 13:12:54 +00:00
version = "0.0.5";
src = fetchFromGitHub {
owner = "BYVoid";
repo = "uchardet";
2016-04-12 13:12:54 +00:00
rev = "v${version}";
sha256 = "0rkym5bhq3hn7623fy0fggw0qaghha71k8bi41ywqd2lchpahrrm";
};
buildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "Mozilla's Universal Charset Detector C/C++ API";
homepage = https://www.byvoid.com/zht/project/uchardet;
license = licenses.mpl11;
maintainers = with maintainers; [ cstrahan ];
platforms = with platforms; unix;
};
}