2014-12-22 04:35:31 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libuchardet-${version}";
|
|
|
|
|
2016-04-12 14:12:54 +01:00
|
|
|
version = "0.0.5";
|
2014-12-22 04:35:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BYVoid";
|
|
|
|
repo = "uchardet";
|
2016-04-12 14:12:54 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0rkym5bhq3hn7623fy0fggw0qaghha71k8bi41ywqd2lchpahrrm";
|
2014-12-22 04:35:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Mozilla's Universal Charset Detector C/C++ API";
|
|
|
|
homepage = https://www.byvoid.com/zht/project/uchardet;
|
|
|
|
license = licenses.mpl11;
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; unix;
|
2014-12-22 04:35:31 +00:00
|
|
|
};
|
|
|
|
}
|