mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
python312Packages.ufal-chu-liu-edmonds: init at 1.0.3
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
numpy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ufal-chu-liu-edmonds";
|
||||
version = "1.0.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "ufal.chu_liu_edmonds";
|
||||
inherit version;
|
||||
hash = "sha256-v3tv6cYWoFPPgaO6KXR2uUk3MsZ458Tz5wKeFW8fzNE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ numpy ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
cd tests
|
||||
python test.py
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "ufal.chu_liu_edmonds" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bindings to Chu-Liu-Edmonds algorithm from TurboParser";
|
||||
homepage = "https://github.com/ufal/chu_liu_edmonds";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ vizid ];
|
||||
};
|
||||
}
|
||||
@@ -16432,6 +16432,8 @@ self: super: with self; {
|
||||
inherit (pkgs.xorg) libX11 libXext;
|
||||
};
|
||||
|
||||
ufal-chu-liu-edmonds = callPackage ../development/python-modules/ufal-chu-liu-edmonds { };
|
||||
|
||||
ufmt = callPackage ../development/python-modules/ufmt { };
|
||||
|
||||
ufo2ft = callPackage ../development/python-modules/ufo2ft { };
|
||||
|
||||
Reference in New Issue
Block a user