mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
b3febfb850
because not all test suites are compatible with 4 yet.
22 lines
543 B
Nix
22 lines
543 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, pytest_3, pytestrunner, hypothesis }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "chardet";
|
|
version = "3.0.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4";
|
|
};
|
|
|
|
checkInputs = [ pytest_3 pytestrunner hypothesis ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/chardet/chardet;
|
|
description = "Universal encoding detector";
|
|
license = licenses.lgpl2;
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
};
|
|
}
|