python311Packages.pyformlang: init at 1.0.4

This commit is contained in:
natsukium
2023-12-10 11:48:16 +09:00
parent cbef97d927
commit 65269514de
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, wheel
, networkx
, numpy
, pydot
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyformlang";
version = "1.0.4";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-ysX6c8q26bcQyq6GgKBKxTdp00j+4ypb3mgM2cqCmBs=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
networkx
numpy
pydot
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "pyformlang" ];
meta = with lib; {
description = "A python framework for formal grammars";
homepage = "https://pypi.org/project/pyformlang/";
license = licenses.mit;
maintainers = with maintainers; [ natsukium ];
};
}
+2
View File
@@ -9319,6 +9319,8 @@ self: super: with self; {
pyfluidsynth = callPackage ../development/python-modules/pyfluidsynth { };
pyformlang = callPackage ../development/python-modules/pyformlang { };
pyfreedompro = callPackage ../development/python-modules/pyfreedompro { };
pygments-style-github = callPackage ../development/python-modules/pygments-style-github { };