mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
pythonPackages.cchardet: init at 2.1.4
This commit is contained in:
parent
da28c89797
commit
76dc4b56f7
28
pkgs/development/python-modules/cchardet/default.nix
Normal file
28
pkgs/development/python-modules/cchardet/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, python
|
||||||
|
, nose
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cchardet";
|
||||||
|
version = "2.1.4";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1h3wajwwgqpyb1q44lzr8djbcwr4y8cphph7kyscz90d83h4b5yc";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ nose ];
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} setup.py nosetests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "High-speed universal character encoding detector";
|
||||||
|
homepage = https://github.com/PyYoshi/cChardet;
|
||||||
|
license = lib.licenses.mpl11;
|
||||||
|
maintainers = with lib.maintainers; [ ivan ];
|
||||||
|
};
|
||||||
|
}
|
@ -1176,6 +1176,8 @@ in {
|
|||||||
|
|
||||||
cccolutils = callPackage ../development/python-modules/cccolutils {};
|
cccolutils = callPackage ../development/python-modules/cccolutils {};
|
||||||
|
|
||||||
|
cchardet = callPackage ../development/python-modules/cchardet { };
|
||||||
|
|
||||||
CDDB = callPackage ../development/python-modules/cddb { };
|
CDDB = callPackage ../development/python-modules/cddb { };
|
||||||
|
|
||||||
cntk = callPackage ../development/python-modules/cntk { };
|
cntk = callPackage ../development/python-modules/cntk { };
|
||||||
|
Loading…
Reference in New Issue
Block a user