gnuapl: 1.6 -> 1.7
See http://lists.gnu.org/archive/html/info-gnu/2017-03/msg00007.html for release announcement.
This commit is contained in:
parent
2f73d5f856
commit
0848d1c2e1
@ -1,36 +1,32 @@
|
|||||||
{ stdenv, fetchurl, readline, gettext, ncurses }:
|
{ stdenv, fetchurl, readline, gettext, ncurses }:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gnu-apl-${version}";
|
name = "gnu-apl-${version}";
|
||||||
version = "1.6";
|
version = "1.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/apl/apl-${version}.tar.gz";
|
url = "mirror://gnu/apl/apl-${version}.tar.gz";
|
||||||
sha256 = "057zwzvvgcrrwsl52a27w86hgy31jqq6avqq629xj7yq90qah3ay";
|
sha256 = "07xq8ddlmz8psvsmwr23gar108ri0lwmw0n6kpxcv8ypas1f5xlg";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ readline gettext ncurses ];
|
buildInputs = [ readline gettext ncurses ];
|
||||||
|
|
||||||
patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
patchPhase = optionalString stdenv.isDarwin ''
|
||||||
substituteInPlace src/LApack.cc --replace "malloc.h" "malloc/malloc.h"
|
substituteInPlace src/LApack.cc --replace "malloc.h" "malloc/malloc.h"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = stdenv.lib.optionals stdenv.isDarwin [
|
|
||||||
"--disable-dependency-tracking"
|
|
||||||
"--disable-silent-rules"
|
|
||||||
];
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cp -r support-files/ $out/share/doc/
|
cp -r support-files/ $out/share/doc/
|
||||||
find $out/share/doc/support-files -name 'Makefile*' -delete
|
find $out/share/doc/support-files -name 'Makefile*' -delete
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = {
|
||||||
description = "Free interpreter for the APL programming language";
|
description = "Free interpreter for the APL programming language";
|
||||||
homepage = http://www.gnu.org/software/apl/;
|
homepage = http://www.gnu.org/software/apl/;
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = [ maintainers.kovirobi ];
|
maintainers = [ maintainers.kovirobi ];
|
||||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
platforms = with platforms; linux ++ darwin;
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user