mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
gforth: Install gforth.el & add meta-data.
This commit is contained in:
parent
e89b78cbaa
commit
b46201250c
@ -1,10 +1,27 @@
|
||||
{ stdenv, fetchurl, m4 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gforth-0.7.3";
|
||||
let
|
||||
version = "0.7.3";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "gforth-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://ftp.gnu.org/gnu/gforth/gforth-0.7.3.tar.gz";
|
||||
url = "http://ftp.gnu.org/gnu/gforth/gforth-${version}.tar.gz";
|
||||
sha256 = "1c1bahc9ypmca8rv2dijiqbangm1d9av286904yw48ph7ciz4qig";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user