Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 16.09 34 lines 1.1 kB view raw
1{ stdenv, fetchurl, readline, gettext, ncurses }: 2 3stdenv.mkDerivation rec { 4 name = "gnu-apl-${version}"; 5 version = "1.6"; 6 7 src = fetchurl { 8 url = "mirror://gnu/apl/apl-${version}.tar.gz"; 9 sha256 = "057zwzvvgcrrwsl52a27w86hgy31jqq6avqq629xj7yq90qah3ay"; 10 }; 11 12 buildInputs = [ readline gettext ncurses ]; 13 14 postInstall = '' 15 cp -r support-files/ $out/share/doc/ 16 find $out/share/doc/support-files -name 'Makefile*' -delete 17 ''; 18 19 meta = with stdenv.lib; { 20 description = "Free interpreter for the APL programming language"; 21 homepage = http://www.gnu.org/software/apl/; 22 license = licenses.gpl3Plus; 23 maintainers = [ maintainers.kovirobi ]; 24 platforms = stdenv.lib.platforms.linux; 25 inherit version; 26 27 longDescription = '' 28 GNU APL is a free interpreter for the programming language APL, with an 29 (almost) complete implementation of ISO standard 13751 aka. Programming 30 Language APL, Extended. GNU APL was written and is being maintained by 31 Jürgen Sauermann. 32 ''; 33 }; 34}