1{ stdenv, buildPythonPackage, fetchPypi
2, pytest, pytestrunner, hypothesis }:
3
4buildPythonPackage rec {
5 pname = "chardet";
6 version = "3.0.4";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4";
11 };
12
13 checkInputs = [ pytest pytestrunner hypothesis ];
14
15 meta = with stdenv.lib; {
16 homepage = https://github.com/chardet/chardet;
17 description = "Universal encoding detector";
18 license = licenses.lgpl2;
19 maintainers = with maintainers; [ domenkozar ];
20 };
21}