Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 88001c7b7085
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 074d336b7f66
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Aug 31, 2019

  1. pari: 2.11.1 -> 2.11.2

    (cherry picked from commit 1da1a7a)
    alyssais committed Aug 31, 2019
    Copy the full SHA
    074d336 View commit details
Showing with 2 additions and 15 deletions.
  1. +2 −15 pkgs/applications/science/math/pari/default.nix
17 changes: 2 additions & 15 deletions pkgs/applications/science/math/pari/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ stdenv
, fetchurl
, fetchpatch
, gmp
, readline
, libX11
@@ -14,25 +13,13 @@ assert withThread -> libpthreadstubs != null;
stdenv.mkDerivation rec {

name = "pari-${version}";
version = "2.11.1";
version = "2.11.2";

src = fetchurl {
url = "https://pari.math.u-bordeaux.fr/pub/pari/unix/${name}.tar.gz";
sha256 = "1jfax92jpydjd02fwl30r6b8kfzqqd6sm4yx94gidyz9lqjb7a94";
sha256 = "0fck8ssmirl8fy7s4mspgrxjs5sag76xbshqlqzkcl3kqyrk4raa";
};

patches = [
# Fix a off-by-one bug that can potentially lead to segfaults (accepted upstream)
# https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2117
# https://trac.sagemath.org/ticket/27335
(fetchpatch {
name = "fix-off-by-one-error.patch";
# only relevant parts of https://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi?p=pari.git;a=patch;h=aa1ee6e0898d177e6bcf49237d82c804bc410985
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pari/patches/red_montgomery.patch?id=bbea55c96e1f05302b3c7f593cf64492497047c5";
sha256 = "0vqkmhgv9splsdswp6zjnkj50z76rc1m6k9iy3cf9dxwqw3h3nr6";
})
];

buildInputs = [
gmp
readline