python.pkgs.chardet: 2.3.0 -> 3.0.4
This commit is contained in:
parent
f3400b5ca9
commit
b4dbd7fdb8
2 changed files with 23 additions and 15 deletions
22
pkgs/development/python-modules/chardet/default.nix
Normal file
22
pkgs/development/python-modules/chardet/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, pytest, pytestrunner, hypothesis }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "chardet";
|
||||
version = "3.0.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest pytestrunner hypothesis ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/chardet/chardet;
|
||||
description = "Universal encoding detector";
|
||||
license = licenses.lgpl2;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
};
|
||||
}
|
|
@ -8713,21 +8713,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
chardet = buildPythonPackage rec {
|
||||
name = "chardet-2.3.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/c/chardet/${name}.tar.gz";
|
||||
sha256 = "e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/chardet/chardet;
|
||||
description = "Universal encoding detector";
|
||||
license = licenses.lgpl2;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
};
|
||||
};
|
||||
chardet = callPackage ../development/python-modules/chardet { };
|
||||
|
||||
django = self.django_1_11;
|
||||
|
||||
|
|
Loading…
Reference in a new issue