3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/mdk/default.nix

24 lines
663 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, intltool, pkg-config, glib }:
2016-02-21 19:41:02 +00:00
2021-06-20 15:15:21 +01:00
stdenv.mkDerivation rec {
pname = "gnu-mdk";
version = "1.3.0";
2016-02-21 19:41:02 +00:00
src = fetchurl {
url = "mirror://gnu/gnu/mdk/v${version}/mdk-${version}.tar.gz";
2020-11-03 04:03:01 +00:00
sha256 = "0bhk3c82kyp8167h71vdpbcr852h5blpnwggcswqqwvvykbms7lb";
2016-02-21 19:41:02 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ intltool glib ];
2016-02-21 19:41:02 +00: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 = lib.licenses.gpl3;
platforms = lib.platforms.all;
2016-02-21 19:41:02 +00:00
};
}