Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libchardet / default.nix
blob47ce911a695150dfb00d4297aa1326187fd5d062
1 { lib, stdenv, fetchFromGitHub, perl }:
3 stdenv.mkDerivation rec {
4   pname = "libchardet";
5   version = "1.0.6";
7   src = fetchFromGitHub {
8     owner = "Joungkyun";
9     repo = "libchardet";
10     rev = version;
11     sha256 = "sha256-JhEiWM3q8X+eEBHxv8k9yYOaTGoJOzI+/iFYC0gZJJs=";
12   };
14   nativeBuildInputs = [ perl ];
16   enableParallelBuilding = true;
18   meta = with lib; {
19     description = "Mozilla's Universal Charset Detector C/C++ API";
20     homepage = "ftp://ftp.oops.org/pub/oops/libchardet/index.html";
21     license = licenses.mpl11;
22     maintainers = [ maintainers.abbradar ];
23     platforms = platforms.unix;
24   };