summary refs log tree commit diff
path: root/pkgs/development/python-modules/chardet/default.nix
blob: 7e50dca40660d0eba878e79ebf6009cd549fbcf7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, buildPythonPackage, fetchPypi
, pytest, pytestrunner, hypothesis }:

buildPythonPackage rec {
  name = "${pname}-${version}";
  pname = "chardet";
  version = "3.0.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4";
  };

  buildInputs = [ pytest pytestrunner hypothesis ];

  meta = with stdenv.lib; {
    homepage = https://github.com/chardet/chardet;
    description = "Universal encoding detector";
    license = licenses.lgpl2;
    maintainers = with maintainers; [ domenkozar ];
  };
}