python310Packages.faust-cchardet: init at 2.1.18

This commit is contained in:
Robert Schütz 2023-03-02 14:42:13 +01:00 committed by Martin Weinelt
parent 14eec01b9f
commit d8fe6839b0
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, cython
, pkgconfig
, setuptools
, wheel
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "faust-cchardet";
version = "2.1.18";
format = "pyproject";
src = fetchFromGitHub {
owner = "faust-streaming";
repo = "cChardet";
rev = "refs/tags/v${version}";
fetchSubmodules = true;
hash = "sha256-jTOqxBss/FAb8nMkU62H6O4ysmirD2FTA9mtvxXh43k=";
};
nativeBuildInputs = [
cython
pkgconfig
setuptools
wheel
];
pythonImportsCheck = [
"cchardet"
];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
changelog = "https://github.com/faust-streaming/cChardet/blob/${src.rev}/CHANGES.rst";
description = "High-speed universal character encoding detector";
homepage = "https://github.com/faust-streaming/cChardet";
license = lib.licenses.mpl11;
maintainers = with lib.maintainers; [ dotlambda ivan ];
};
}

View File

@ -3327,6 +3327,8 @@ self: super: with self; {
fasttext-predict = callPackage ../development/python-modules/fasttext-predict { };
faust-cchardet = callPackage ../development/python-modules/faust-cchardet { };
favicon = callPackage ../development/python-modules/favicon { };
fb-re2 = callPackage ../development/python-modules/fb-re2 { };