mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
887295fd2d
@the-kenny did a good job in the past and is set as maintainer in many package, however since 2017-2018 he stopped contributing. To create less confusion in pull requests when people try to request his feedback, I removed him as maintainer from all packages.
30 lines
726 B
Nix
30 lines
726 B
Nix
{ stdenv, fetchurl, m4 }:
|
|
|
|
let
|
|
version = "0.7.3";
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = "gforth";
|
|
inherit version;
|
|
src = fetchurl {
|
|
url = "https://ftp.gnu.org/gnu/gforth/gforth-${version}.tar.gz";
|
|
sha256 = "1c1bahc9ypmca8rv2dijiqbangm1d9av286904yw48ph7ciz4qig";
|
|
};
|
|
|
|
buildInputs = [ m4 ];
|
|
|
|
configureFlags = stdenv.lib.optional stdenv.isDarwin [ "--build=x86_64-apple-darwin" ];
|
|
|
|
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;
|
|
};
|
|
}
|