diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-03-21 00:13:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 00:13:28 +0000 |
commit | 2015f3cc71627e56ba3872e640de267d1723758b (patch) | |
tree | 796f73289e27af4ded2fcc8a4c0a0ad4d17a5560 /pkgs/data/misc | |
parent | 7c668395e41a9057d42986bf78e93bbd8bc09b96 (diff) | |
parent | 71a5d2c832a3af02a649713d502515bd33acef4a (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/data/misc')
-rw-r--r-- | pkgs/data/misc/conway_polynomials/default.nix | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/pkgs/data/misc/conway_polynomials/default.nix b/pkgs/data/misc/conway_polynomials/default.nix deleted file mode 100644 index caf470c511523..0000000000000 --- a/pkgs/data/misc/conway_polynomials/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ lib, stdenv -, fetchurl -, python3 -}: - -stdenv.mkDerivation rec { - pname = "conway_polynomials"; - version = "0.5"; - - src = fetchurl { - url = "mirror://sageupstream/conway_polynomials/conway_polynomials-${version}.tar.bz2"; - sha256 = "05zb1ly9x2bbscqv0jgc45g48xx77mfs7qdbqhn4ihmihn57iwnq"; - }; - - # Script that creates the "database" (nested python array) and pickles it - spkg-install = fetchurl { - url = "https://raw.githubusercontent.com/sagemath/sage/9.2/build/pkgs/conway_polynomials/spkg-install.py"; - sha256 = "1bwnqasnyv793hxg29viing4dnliz29grkhldsirq19d509yk1fs"; - }; - - installPhase = '' - # directory layout as spkg-install.py expects - dir="$PWD" - cd .. - ln -s "$dir" "src" - - # environment spkg-install.py expects - mkdir -p "$out/share" - export SAGE_SHARE="$out/share" - export PYTHONPATH=$PWD - - ${python3.interpreter} ${spkg-install} - ''; - - meta = with lib; { - description = "Contains a small database of Conway polynomials"; - license = licenses.gpl2; - platforms = platforms.all; - maintainers = teams.sage.members; - }; -} |