mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
0e56ec3357
The mirror ftp.gnu.org doesn't exist.
24 lines
663 B
Nix
24 lines
663 B
Nix
{ lib, stdenv, fetchurl, intltool, pkg-config, glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnu-mdk";
|
|
version = "1.3.0";
|
|
src = fetchurl {
|
|
url = "mirror://gnu/gnu/mdk/v${version}/mdk-${version}.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;
|
|
};
|
|
}
|