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