mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python312Packages.open-hypergraphs: init at 0.1.2 (#380798)
This commit is contained in:
54
pkgs/development/python-modules/open-hypergraphs/default.nix
Normal file
54
pkgs/development/python-modules/open-hypergraphs/default.nix
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
numpy,
|
||||
scipy,
|
||||
hypothesis,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "open-hypergraphs";
|
||||
version = "0.1.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "statusfailed";
|
||||
repo = "open-hypergraphs";
|
||||
tag = "pypi-${version}";
|
||||
hash = "sha256-ifcQXZDnOvo2XL7WYVFLv2iHWhImUSp3jqAPPYySNjU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
scipy
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"numpy"
|
||||
"scipy"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
hypothesis
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"open_hypergraphs"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Implementation of open hypergraphs for string diagrams";
|
||||
homepage = "https://github.com/statusfailed/open-hypergraphs";
|
||||
changelog = "https://github.com/statusfailed/open-hypergraphs/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
@@ -9745,6 +9745,8 @@ self: super: with self; {
|
||||
|
||||
open-garage = callPackage ../development/python-modules/open-garage { };
|
||||
|
||||
open-hypergraphs = callPackage ../development/python-modules/open-hypergraphs { };
|
||||
|
||||
open-interpreter = callPackage ../development/python-modules/open-interpreter { };
|
||||
|
||||
open-meteo = callPackage ../development/python-modules/open-meteo { };
|
||||
|
||||
Reference in New Issue
Block a user