1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/development/libraries/libuchardet/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

25 lines
614 B
Nix

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "libuchardet-${version}";
version = "0.0.5";
src = fetchFromGitHub {
owner = "BYVoid";
repo = "uchardet";
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;
};
}