Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 571 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, pytest, pytestrunner, hypothesis }: 3 4buildPythonPackage rec { 5 name = "${pname}-${version}"; 6 pname = "chardet"; 7 version = "3.0.4"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4"; 12 }; 13 14 buildInputs = [ pytest pytestrunner hypothesis ]; 15 16 meta = with stdenv.lib; { 17 homepage = https://github.com/chardet/chardet; 18 description = "Universal encoding detector"; 19 license = licenses.lgpl2; 20 maintainers = with maintainers; [ domenkozar ]; 21 }; 22}