python3Packages.spherogram: init at 2.3

This commit is contained in:
noiioiu 2025-05-22 20:27:09 -05:00
parent fc29fe854a
commit c9519e8299
No known key found for this signature in database
GPG key ID: BF51F00D07482A89
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
cython,
networkx,
decorator,
knot-floer-homology,
snappy-manifolds,
snappy-15-knots,
}:
buildPythonPackage rec {
pname = "spherogram";
version = "2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "3-manifolds";
repo = "spherogram";
tag = "${version}_as_released";
hash = "sha256-uqc+3xS4xulXR0tZlNuyC5Zz5OztR6c4PZWpsvU+4Pw=";
};
build-system = [
setuptools
cython
];
dependencies = [
networkx
decorator
snappy-manifolds
knot-floer-homology
];
optional-dependencies.snappy-15-knots = [ snappy-15-knots ];
pythonImportsCheck = [ "spherogram" ];
meta = {
description = "Spherical diagrams for 3-manifold topology";
homepage = "https://snappy.computop.org/spherogram.html";
changelog = "https://github.com/3-manifolds/Spherogram/releases/tag/${src.tag}";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ noiioiu ];
};
}

View file

@ -16479,6 +16479,8 @@ self: super: with self; {
spglib = callPackage ../development/python-modules/spglib { }; spglib = callPackage ../development/python-modules/spglib { };
spherogram = callPackage ../development/python-modules/spherogram { };
sphfile = callPackage ../development/python-modules/sphfile { }; sphfile = callPackage ../development/python-modules/sphfile { };
sphinx = callPackage ../development/python-modules/sphinx { }; sphinx = callPackage ../development/python-modules/sphinx { };