nixpkgs/pkgs/development/tools/mdk/default.nix

23 lines
646 B
Nix
Raw Normal View History

2016-02-21 20:41:02 +01:00
{ stdenv, fetchurl, intltool, pkgconfig, glib }:
stdenv.mkDerivation {
name = "gnu-mdk-1.2.10";
2016-02-21 20:41:02 +01:00
src = fetchurl {
url = https://ftp.gnu.org/gnu/mdk/v1.2.10/mdk-1.2.10.tar.gz;
sha256 = "1rwcq2b5vvv7318j92nxc5dayj27dpfhzc4rjiv4ccvsc0x35x5h";
2016-02-21 20:41:02 +01:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool glib ];
2016-02-21 20:41:02 +01:00
postInstall = ''
mkdir -p $out/share/emacs/site-lisp/
cp -v ./misc/*.el $out/share/emacs/site-lisp
'';
meta = {
description = "GNU MIX Development Kit (MDK)";
homepage = https://www.gnu.org/software/mdk/;
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.all;
};
}