File tree Expand file tree Collapse file tree 2 files changed +56
-0
lines changed
development/python-modules/open-hypergraphs Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchFromGitHub ,
5+ hatchling ,
6+ numpy ,
7+ scipy ,
8+ hypothesis ,
9+ pytestCheckHook ,
10+ } :
11+
12+ buildPythonPackage rec {
13+ pname = "open-hypergraphs" ;
14+ version = "0.1.2" ;
15+ pyproject = true ;
16+
17+ src = fetchFromGitHub {
18+ owner = "statusfailed" ;
19+ repo = "open-hypergraphs" ;
20+ tag = "pypi-${ version } " ;
21+ hash = "sha256-ifcQXZDnOvo2XL7WYVFLv2iHWhImUSp3jqAPPYySNjU=" ;
22+ } ;
23+
24+ build-system = [
25+ hatchling
26+ ] ;
27+
28+ dependencies = [
29+ numpy
30+ scipy
31+ ] ;
32+
33+ pythonRelaxDeps = [
34+ "numpy"
35+ "scipy"
36+ ] ;
37+
38+ nativeCheckInputs = [
39+ pytestCheckHook
40+ hypothesis
41+ ] ;
42+
43+ pythonImportsCheck = [
44+ "open_hypergraphs"
45+ ] ;
46+
47+ meta = {
48+ description = "Implementation of open hypergraphs for string diagrams" ;
49+ homepage = "https://github.com/statusfailed/open-hypergraphs" ;
50+ changelog = "https://github.com/statusfailed/open-hypergraphs/blob/${ src . rev } /CHANGELOG.md" ;
51+ license = lib . licenses . mit ;
52+ maintainers = with lib . maintainers ; [ bcdarwin ] ;
53+ } ;
54+ }
Original file line number Diff line number Diff line change @@ -9745,6 +9745,8 @@ self: super: with self; {
97459745
97469746 open-garage = callPackage ../development/python-modules/open-garage { };
97479747
9748+ open-hypergraphs = callPackage ../development/python-modules/open-hypergraphs { };
9749+
97489750 open-interpreter = callPackage ../development/python-modules/open-interpreter { };
97499751
97509752 open-meteo = callPackage ../development/python-modules/open-meteo { };
You can’t perform that action at this time.
0 commit comments