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

26 lines
619 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, perl }:
2014-09-14 18:33:43 +00:00
stdenv.mkDerivation rec {
pname = "libchardet";
2021-05-14 07:27:26 +00:00
version = "1.0.6";
2017-06-20 03:45:10 +00:00
src = fetchFromGitHub {
owner = "Joungkyun";
repo = "libchardet";
rev = version;
2021-05-14 07:27:26 +00:00
sha256 = "sha256-JhEiWM3q8X+eEBHxv8k9yYOaTGoJOzI+/iFYC0gZJJs=";
2014-09-14 18:33:43 +00:00
};
nativeBuildInputs = [ perl ];
enableParallelBuilding = true;
meta = with lib; {
2014-09-14 18:33:43 +00:00
description = "Mozilla's Universal Charset Detector C/C++ API";
homepage = "ftp://ftp.oops.org/pub/oops/libchardet/index.html";
2014-09-14 18:33:43 +00:00
license = licenses.mpl11;
maintainers = [ maintainers.abbradar ];
platforms = platforms.unix;
2014-09-14 18:33:43 +00:00
};
}