7ba82dc81e
there urls only worked with "https://ftpmirror.gnu.org/" because it ignored the extra /gnu while with the other gnu mirrors "https://ftp.nluug.nl/pub/gnu/" it failed because the url would be pub/gnu/gnu.
23 lines
659 B
Nix
23 lines
659 B
Nix
{ lib, stdenv, fetchurl, intltool, pkg-config, glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnu-mdk";
|
|
version = "1.3.0";
|
|
src = fetchurl {
|
|
url = "mirror://gnu/mdk/v${version}/mdk-${version}.tar.gz";
|
|
sha256 = "0bhk3c82kyp8167h71vdpbcr852h5blpnwggcswqqwvvykbms7lb";
|
|
};
|
|
nativeBuildInputs = [ pkg-config intltool ];
|
|
buildInputs = [ 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;
|
|
};
|
|
}
|