blob: 9a76ec2a1dfab1178013e1494ac50189f054aa81 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, wheel
, networkx
, numpy
, pydot
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyformlang";
version = "1.0.7";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-i4ib18Ktyc9pRu4P+tQIHoZ/IbAOk8Dn0MXJoxw8gAA=";
};
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 ];
};
}
|