blob: 8c83f498551448be5d537ccc77ed7066da5c6f87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
python,
buildPythonPackage,
fetchFromGitHub,
setuptools,
cython,
}:
buildPythonPackage rec {
pname = "fxrays";
version = "1.3.6";
pyproject = true;
src = fetchFromGitHub {
owner = "3-manifolds";
repo = "FXrays";
tag = "${version}_as_released";
hash = "sha256-IwEY54zDXqMci7WRvhueDJidTsbMwv6eqQSGZzFOtnQ";
};
build-system = [
setuptools
cython
];
pythonImportsCheck = [ "FXrays" ];
checkPhase = ''
runHook preCheck
${python.interpreter} -m FXrays.test
runHook postCheck
'';
meta = {
description = "Computes extremal rays of polyhedral cones with filtering";
changelog = "https://github.com/3-manifolds/FXrays/releases/tag/${src.tag}";
homepage = "https://github.com/3-manifolds/FXrays";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [
noiioiu
alejo7797
];
};
}
|