Unverified Commit 79185314 authored by 7c6f434c's avatar 7c6f434c Committed by GitHub
Browse files

Merge pull request #309548 from Tom-Hubrecht/sagemath-deps

sage: Add as passthru.tests to critical dependencies
parents 9fb58261 de161855
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
{ lib, stdenv
, fetchFromBitbucket
, autoreconfHook

# Reverse dependency
, sage
}:

stdenv.mkDerivation rec {
@@ -20,6 +23,8 @@ stdenv.mkDerivation rec {
    autoreconfHook
  ];

  passthru.tests = { inherit sage; };

  meta = with lib; {
    description = "Littlewood-Richardson calculator";
    homepage = "http://math.rutgers.edu/~asbuch/lrcalc/";
+5 −0
Original line number Diff line number Diff line
@@ -7,6 +7,9 @@
, gmp
, cython
, cysignals

# Reverse dependency
, sage
}:

buildPythonPackage rec {
@@ -53,6 +56,8 @@ buildPythonPackage rec {
    make check
  '';

  passthru.tests = { inherit sage; };

  meta = with lib; {
    description = "Cython bindings for PARI";
    license = licenses.gpl2Plus;
+5 −0
Original line number Diff line number Diff line
@@ -4,6 +4,9 @@
, buildPythonPackage
, cython
, pariSupport ? true, pari # for interfacing with the PARI/GP signal handler

# Reverse dependency
, sage
}:

assert pariSupport -> pari != null;
@@ -46,6 +49,8 @@ buildPythonPackage rec {

  enableParallelBuilding = true;

  passthru.tests = { inherit sage; };

  meta = with lib; {
    description = "Interrupt and signal handling for Cython";
    mainProgram = "cysignals-CSI";
+5 −0
Original line number Diff line number Diff line
@@ -8,6 +8,9 @@
, gdb
, numpy
, ncurses

# Reverse dependency
, sage
}:

let
@@ -57,6 +60,8 @@ in buildPythonPackage rec {
  doCheck = false;
  # doCheck = !stdenv.isDarwin;

  passthru.tests = { inherit sage; };

  # force regeneration of generated code in source distributions
  # https://github.com/cython/cython/issues/5089
  setupHook = ./setup-hook.sh;
+5 −0
Original line number Diff line number Diff line
@@ -15,6 +15,9 @@
, fplll
, numpy

# Reverse dependency
, sage

# tests
, pytestCheckHook
}:
@@ -72,6 +75,8 @@ buildPythonPackage rec {
    export PY_IGNORE_IMPORTMISMATCH=1
  '';

  passthru.tests = { inherit sage; };

  meta = with lib; {
    description = "A Python interface for fplll";
    changelog = "https://github.com/fplll/fpylll/releases/tag/${version}";
Loading