3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/gforth/default.nix

28 lines
685 B
Nix
Raw Normal View History

2014-09-22 14:15:17 +01:00
{ stdenv, fetchurl, m4 }:
let
version = "0.7.3";
in
stdenv.mkDerivation {
name = "gforth-${version}";
2014-09-22 14:15:17 +01:00
src = fetchurl {
url = "http://ftp.gnu.org/gnu/gforth/gforth-${version}.tar.gz";
2014-09-22 14:15:17 +01:00
sha256 = "1c1bahc9ypmca8rv2dijiqbangm1d9av286904yw48ph7ciz4qig";
};
2014-09-22 14:15:17 +01:00
buildInputs = [ m4 ];
postInstall = ''
mkdir -p $out/share/emacs/site-lisp
cp gforth.el $out/share/emacs/site-lisp/
'';
meta = {
description = "The Forth implementation of the GNU project";
homepage = https://www.gnu.org/software/gforth/;
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
};
}