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