2015-10-14 21:39:12 +00:00
|
|
|
{ stdenv, fetchgit, makeWrapper, gmp, gcc }:
|
2015-03-27 05:24:35 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
v = "1.1.9";
|
|
|
|
name = "mkcl-${v}";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/jcbeaudoin/mkcl.git";
|
|
|
|
rev = "86768cc1dfc2cc9caa1fe9696584bb25ea6c1429";
|
|
|
|
sha256 = "0ja7vyp5rjidb2a1gah35jqzqn6zjkikz5sd966p0f0wh26l6n03";
|
|
|
|
};
|
|
|
|
|
2015-10-14 21:39:12 +00:00
|
|
|
buildInputs = [ makeWrapper ];
|
2015-03-27 05:24:35 +00:00
|
|
|
propagatedBuildInputs = [ gmp ];
|
|
|
|
|
2016-02-12 12:44:15 +00:00
|
|
|
hardening_format = false;
|
|
|
|
|
2015-03-27 05:24:35 +00:00
|
|
|
configureFlags = [
|
|
|
|
"GMP_CFLAGS=-I${gmp}/include"
|
|
|
|
"GMP_LDFLAGS=-L${gmp}/lib"
|
|
|
|
];
|
|
|
|
|
2015-10-14 21:39:12 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/mkcl --prefix PATH : "${gcc}/bin"
|
|
|
|
'';
|
|
|
|
|
2015-03-27 05:24:35 +00: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-24 22:26:58 +00:00
|
|
|
maintainers = [stdenv.lib.maintainers.tohl];
|
2015-03-27 05:24:35 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|