1 { lib, stdenv, fetchFromGitHub, perl }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-JhEiWM3q8X+eEBHxv8k9yYOaTGoJOzI+/iFYC0gZJJs=";
14 nativeBuildInputs = [ perl ];
16 enableParallelBuilding = true;
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;