blob: 7753d6ccfdebcf19d3488f870e9c6348977d7bf6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib
, buildPythonPackage
, fetchPypi
, hypothesis
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "chardet";
version = "4.0.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-DW9ToV20Eg8rCMlPEefZPSyRHuEYtrMKBOw+6DEBefo=";
};
checkInputs = [
hypothesis
pytestCheckHook
];
pythonImportsCheck = [ "chardet" ];
meta = with lib; {
description = "Universal encoding detector";
homepage = "https://github.com/chardet/chardet";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ domenkozar ];
};
}
|