mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-09 21:53:24 +00:00
Merge pull request #318339 from ViZiD/ufal-chu-liu-edmonds
python312Packages.ufal-chu-liu-edmonds: init at 1.0.3
This commit is contained in:
commit
a2905a4691
@ -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 ];
|
||||
};
|
||||
}
|
@ -16990,6 +16990,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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user