Merge pull request #203204 from tjni/cchardet

This commit is contained in:
Sandro 2022-12-04 20:43:29 +01:00 committed by GitHub
commit 9a4e4de5ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,19 +2,24 @@
, stdenv , stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, python , cython
, nose , nose
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "cchardet"; pname = "cchardet";
version = "2.1.7"; version = "2.1.7";
format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "c428b6336545053c2589f6caf24ea32276c6664cb86db817e03a94c60afa0eaf"; sha256 = "c428b6336545053c2589f6caf24ea32276c6664cb86db817e03a94c60afa0eaf";
}; };
nativeBuildInputs = [
cython # pending https://github.com/PyYoshi/cChardet/pull/78 being released to PyPI
];
pythonImportsCheck = [ pythonImportsCheck = [
"cchardet" "cchardet"
]; ];