2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, perl }:
|
2014-09-14 19:33:43 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libchardet";
|
2021-05-14 08:27:26 +01:00
|
|
|
version = "1.0.6";
|
2017-06-20 04:45:10 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Joungkyun";
|
|
|
|
repo = "libchardet";
|
|
|
|
rev = version;
|
2021-05-14 08:27:26 +01:00
|
|
|
sha256 = "sha256-JhEiWM3q8X+eEBHxv8k9yYOaTGoJOzI+/iFYC0gZJJs=";
|
2014-09-14 19:33:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ perl ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2014-09-14 19:33:43 +01:00
|
|
|
description = "Mozilla's Universal Charset Detector C/C++ API";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "ftp://ftp.oops.org/pub/oops/libchardet/index.html";
|
2014-09-14 19:33:43 +01:00
|
|
|
license = licenses.mpl11;
|
|
|
|
maintainers = [ maintainers.abbradar ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.unix;
|
2014-09-14 19:33:43 +01:00
|
|
|
};
|
|
|
|
}
|