summary refs log tree commit diff
path: root/pkgs/development/interpreters/gnu-apl
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2017-03-20 09:24:35 +0100
committervbgl <vbgl@users.noreply.github.com>2017-03-31 07:33:53 +0200
commit0848d1c2e1d36ecf3a78ee14ae8d393c050578e6 (patch)
treea357910d281a92c78a7990d4dba08e1dec2d96da /pkgs/development/interpreters/gnu-apl
parent2f73d5f856d2448a4779401d54a64b55ba6f6bae (diff)
downloadnixpkgs-0848d1c2e1d36ecf3a78ee14ae8d393c050578e6.tar
nixpkgs-0848d1c2e1d36ecf3a78ee14ae8d393c050578e6.tar.gz
nixpkgs-0848d1c2e1d36ecf3a78ee14ae8d393c050578e6.tar.bz2
nixpkgs-0848d1c2e1d36ecf3a78ee14ae8d393c050578e6.tar.lz
nixpkgs-0848d1c2e1d36ecf3a78ee14ae8d393c050578e6.tar.xz
nixpkgs-0848d1c2e1d36ecf3a78ee14ae8d393c050578e6.tar.zst
nixpkgs-0848d1c2e1d36ecf3a78ee14ae8d393c050578e6.zip
gnuapl: 1.6 -> 1.7
See http://lists.gnu.org/archive/html/info-gnu/2017-03/msg00007.html
for release announcement.
Diffstat (limited to 'pkgs/development/interpreters/gnu-apl')
-rw-r--r--pkgs/development/interpreters/gnu-apl/default.nix16
1 files changed, 6 insertions, 10 deletions
diff --git a/pkgs/development/interpreters/gnu-apl/default.nix b/pkgs/development/interpreters/gnu-apl/default.nix
index bfb975f152a..4d38545a44f 100644
--- a/pkgs/development/interpreters/gnu-apl/default.nix
+++ b/pkgs/development/interpreters/gnu-apl/default.nix
@@ -1,36 +1,32 @@
 { stdenv, fetchurl, readline, gettext, ncurses }:
 
+with stdenv.lib;
 stdenv.mkDerivation rec {
   name = "gnu-apl-${version}";
-  version = "1.6";
+  version = "1.7";
 
   src = fetchurl {
     url = "mirror://gnu/apl/apl-${version}.tar.gz";
-    sha256 = "057zwzvvgcrrwsl52a27w86hgy31jqq6avqq629xj7yq90qah3ay";
+    sha256 = "07xq8ddlmz8psvsmwr23gar108ri0lwmw0n6kpxcv8ypas1f5xlg";
   };
 
   buildInputs = [ readline gettext ncurses ];
 
-  patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
+  patchPhase = optionalString stdenv.isDarwin ''
     substituteInPlace src/LApack.cc --replace "malloc.h" "malloc/malloc.h"
   '';
 
-  configureFlags = stdenv.lib.optionals stdenv.isDarwin [
-    "--disable-dependency-tracking"
-    "--disable-silent-rules"
-  ];
-
   postInstall = ''
     cp -r support-files/ $out/share/doc/
     find $out/share/doc/support-files -name 'Makefile*' -delete
   '';
 
-  meta = with stdenv.lib; {
+  meta = {
     description = "Free interpreter for the APL programming language";
     homepage    = http://www.gnu.org/software/apl/;
     license     = licenses.gpl3Plus;
     maintainers = [ maintainers.kovirobi ];
-    platforms   = with stdenv.lib.platforms; linux ++ darwin;
+    platforms   = with platforms; linux ++ darwin;
     inherit version;
 
     longDescription = ''