python3Packages.python-crfsuite: init at 0.9.7
This commit is contained in:
parent
41490c2bfb
commit
0548185f5b
36
pkgs/development/python-modules/python-crfsuite/default.nix
Normal file
36
pkgs/development/python-modules/python-crfsuite/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-crfsuite";
|
||||||
|
version = "0.9.7";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1ryfcdfpqbrf8rcd2rlay2gfiba3px3q508543jf81shrv93hi9v";
|
||||||
|
};
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
# make sure import the built version, not the source one
|
||||||
|
rm -r pycrfsuite
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pycrfsuite"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python binding for CRFsuite";
|
||||||
|
homepage = "https://github.com/scrapinghub/python-crfsuite";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = teams.tts.members;
|
||||||
|
};
|
||||||
|
}
|
|
@ -5379,6 +5379,8 @@ in {
|
||||||
|
|
||||||
python-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
|
python-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
|
||||||
|
|
||||||
|
python-crfsuite = callPackage ../development/python-modules/python-crfsuite { };
|
||||||
|
|
||||||
python-csxcad = callPackage ../development/python-modules/python-csxcad { };
|
python-csxcad = callPackage ../development/python-modules/python-csxcad { };
|
||||||
|
|
||||||
python-ecobee-api = callPackage ../development/python-modules/python-ecobee-api { };
|
python-ecobee-api = callPackage ../development/python-modules/python-ecobee-api { };
|
||||||
|
|
Loading…
Reference in a new issue