1 { lib, buildPythonPackage, fetchPypi, fetchpatch
2 , pytest, pytestrunner, hypothesis }:
4 buildPythonPackage rec {
10 sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4";
14 # Add pytest 4 support. See: https://github.com/chardet/chardet/pull/174
16 url = "https://github.com/chardet/chardet/commit/0561ddcedcd12ea1f98b7ddedb93686ed8a5ffa4.patch";
17 sha256 = "1y1xhjf32rdhq9sfz58pghwv794f3w2f2qcn8p6hp4pc8jsdrn2q";
21 checkInputs = [ pytest pytestrunner hypothesis ];
24 homepage = "https://github.com/chardet/chardet";
25 description = "Universal encoding detector";
26 license = licenses.lgpl2;
27 maintainers = with maintainers; [ domenkozar ];