2017-09-05 09:16:41 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2019-02-14 10:07:19 +00:00
|
|
|
, pytest_3, pytestrunner, hypothesis }:
|
2017-09-05 09:16:41 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "chardet";
|
|
|
|
version = "3.0.4";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4";
|
|
|
|
};
|
|
|
|
|
2019-02-14 10:07:19 +00:00
|
|
|
checkInputs = [ pytest_3 pytestrunner hypothesis ];
|
2017-09-05 09:16:41 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/chardet/chardet;
|
|
|
|
description = "Universal encoding detector";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
}
|