1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "snappy-manifolds";
10 version = "1.2.1";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "3-manifolds";
15 repo = "snappy_manifolds";
16 tag = "${version}_as_released";
17 hash = "sha256-vxG3z6zWzG4S11fBxYGn4/c2f2sWOCIrzT+R27TR144=";
18 };
19
20 build-system = [ setuptools ];
21
22 pythonImportsCheck = [ "snappy_manifolds" ];
23
24 meta = {
25 description = "Database of snappy manifolds";
26 changelog = "https://github.com/3-manifolds/snappy_manifolds/releases/tag/${src.tag}";
27 homepage = "https://snappy.computop.org";
28 license = lib.licenses.gpl2Plus;
29 maintainers = with lib.maintainers; [ noiioiu ];
30 };
31}