Commit 57c940b9 authored by Mauricio Collares's avatar Mauricio Collares
Browse files

pari: 2.15.2 -> 2.15.3

parent 9926e299
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ assert withThread -> libpthreadstubs != null;

stdenv.mkDerivation rec {
  pname = "pari";
  version = "2.15.2";
  version = "2.15.3";

  src = fetchurl {
    urls = [
@@ -23,15 +23,16 @@ stdenv.mkDerivation rec {
      # old versions are at the url below
      "https://pari.math.u-bordeaux.fr/pub/pari/OLD/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz"
    ];
    hash = "sha256-sEYoER7iKHZRmksc2vsy/rqjTq+iT56B9Y+NBX++4N0=";
    hash = "sha256-rfWlhjjNr9cqi0i8n0RJcrIzKcjVRaHT7Ru+sbZWkmg=";
  };

  patches = [
    # https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2441
    # https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2466
    (fetchpatch {
      name = "fix-find_isogenous_from_Atkin.patch";
      url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pari/patches/bug2441.patch?id=9.8.rc0";
      hash = "sha256-DvOUFlFDnopN+MJY6GYRPNabuoHPFch/nNn+49ygznc=";
      name = "incorrect-result-from-qfbclassno.patch";
      url = "https://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi?p=pari.git;a=commitdiff_plain;h=7ca0c2eae87def89fa7253c60e4791a8ef26629d";
      excludes = [ "src/test/32/quadclassunit" "CHANGES" ];
      hash = "sha256-CQRkIYDFMrWHCoSWGsIydPjGk3w09zzghajlNuq29Jk=";
    })
  ];