diff --git a/pkgs/applications/science/math/pari/default.nix b/pkgs/applications/science/math/pari/default.nix index 9f13914474c1..933ad45fd519 100644 --- a/pkgs/applications/science/math/pari/default.nix +++ b/pkgs/applications/science/math/pari/default.nix @@ -3,10 +3,11 @@ , fetchurl , gmp , libX11 +, libpthreadstubs , perl , readline , tex -, withThread ? true, libpthreadstubs +, withThread ? true }: assert withThread -> libpthreadstubs != null; @@ -80,7 +81,7 @@ stdenv.mkDerivation rec { ''; downloadPage = "http://pari.math.u-bordeaux.fr/download.html"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ ertes AndersonTorres ] ++ teams.sage.members; + maintainers = with maintainers; [ ertes ] ++ teams.sage.members; platforms = platforms.linux ++ platforms.darwin; broken = stdenv.isDarwin && stdenv.isAarch64; mainProgram = "gp"; diff --git a/pkgs/applications/science/math/pari/gp2c.nix b/pkgs/applications/science/math/pari/gp2c.nix index 7f31543a925f..512aaba78d54 100644 --- a/pkgs/applications/science/math/pari/gp2c.nix +++ b/pkgs/applications/science/math/pari/gp2c.nix @@ -7,11 +7,11 @@ stdenv.mkDerivation rec { pname = "gp2c"; - version = "0.0.12"; + version = "0.0.13"; src = fetchurl { url = "https://pari.math.u-bordeaux.fr/pub/pari/GP2C/${pname}-${version}.tar.gz"; - sha256 = "039ip7qkwwv46wrcdrz7y12m30kazzkjr44kqbc0h137g4wzd7zf"; + hash = "sha256-JhN07Kc+vXbBEqlZPcootkgSqnYlYf2lpLLCzXmmnTY="; }; buildInputs = [ @@ -25,10 +25,9 @@ stdenv.mkDerivation rec { ]; meta = with lib; { - description = "A compiler to translate GP scripts to PARI programs"; homepage = "http://pari.math.u-bordeaux.fr/"; + description = "A compiler to translate GP scripts to PARI programs"; downloadPage = "http://pari.math.u-bordeaux.fr/download.html"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ AndersonTorres ]; + inherit (pari.meta) license maintainers platforms broken; }; }