mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python3Packages.morfessor: fix build
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools_80,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "morfessor";
|
||||
version = "2.0.6";
|
||||
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Morfessor";
|
||||
@@ -16,7 +17,13 @@ buildPythonPackage rec {
|
||||
sha256 = "bb3beac234341724c5f640f65803071f62373a50dba854d5a398567f9aefbab2";
|
||||
};
|
||||
|
||||
checkPhase = "python -m unittest -v morfessor/test/*";
|
||||
build-system = [ setuptools_80 ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
enabledTestPaths = [
|
||||
"morfessor/test/*"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "morfessor" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user