nixpkgs-suyu/pkgs/development/tools/mdk/default.nix
2021-01-23 20:30:03 +07:00

22 lines
640 B
Nix

{ lib, stdenv, fetchurl, intltool, pkg-config, glib }:
stdenv.mkDerivation {
name = "gnu-mdk-1.3.0";
src = fetchurl {
url = "https://ftp.gnu.org/gnu/mdk/v1.3.0/mdk-1.3.0.tar.gz";
sha256 = "0bhk3c82kyp8167h71vdpbcr852h5blpnwggcswqqwvvykbms7lb";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ intltool glib ];
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;
};
}