2015-10-15 00:39:12 +03:00
|
|
|
{ stdenv, fetchgit, makeWrapper, gmp, gcc }:
|
2015-03-27 08:24:35 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
v = "1.1.9";
|
|
|
|
name = "mkcl-${v}";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/jcbeaudoin/mkcl.git";
|
|
|
|
rev = "86768cc1dfc2cc9caa1fe9696584bb25ea6c1429";
|
2016-06-02 14:26:44 +03:00
|
|
|
sha256 = "1gsvjp9xlnjccg0idi8x8gzkn6hlrqia95jh3zx7snm894503mf1";
|
2015-03-27 08:24:35 +03:00
|
|
|
};
|
|
|
|
|
2015-10-15 00:39:12 +03:00
|
|
|
buildInputs = [ makeWrapper ];
|
2015-03-27 08:24:35 +03:00
|
|
|
propagatedBuildInputs = [ gmp ];
|
|
|
|
|
2016-02-26 20:38:15 +03:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-12 15:44:15 +03:00
|
|
|
|
2015-03-27 08:24:35 +03:00
|
|
|
configureFlags = [
|
2015-10-15 18:43:23 +03:00
|
|
|
"GMP_CFLAGS=-I${gmp.dev}/include"
|
|
|
|
"GMP_LDFLAGS=-L${gmp.out}/lib"
|
2015-03-27 08:24:35 +03:00
|
|
|
];
|
|
|
|
|
2015-10-15 00:39:12 +03:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/mkcl --prefix PATH : "${gcc}/bin"
|
|
|
|
'';
|
|
|
|
|
2015-03-27 08:24:35 +03:00
|
|
|
meta = {
|
|
|
|
description = "ANSI Common Lisp Implementation";
|
|
|
|
homepage = https://common-lisp.net/project/mkcl/;
|
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-11-25 01:26:58 +03:00
|
|
|
maintainers = [stdenv.lib.maintainers.tohl];
|
2015-03-27 08:24:35 +03:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|