mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
python3Packages.spherogram: init at 2.3
This commit is contained in:
parent
fc29fe854a
commit
c9519e8299
2 changed files with 51 additions and 0 deletions
49
pkgs/development/python-modules/spherogram/default.nix
Normal file
49
pkgs/development/python-modules/spherogram/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -16479,6 +16479,8 @@ self: super: with self; {
|
|||
|
||||
spglib = callPackage ../development/python-modules/spglib { };
|
||||
|
||||
spherogram = callPackage ../development/python-modules/spherogram { };
|
||||
|
||||
sphfile = callPackage ../development/python-modules/sphfile { };
|
||||
|
||||
sphinx = callPackage ../development/python-modules/sphinx { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue