ecl: turn off format hardening
This commit is contained in:
parent
3dff59b818
commit
d0c38a0cef
@ -3,43 +3,41 @@
|
|||||||
, gmp, mpfr, libffi
|
, gmp, mpfr, libffi
|
||||||
, noUnicode ? false,
|
, noUnicode ? false,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
s = # Generated upstream information
|
|
||||||
rec {
|
|
||||||
baseName = "ecl";
|
baseName = "ecl";
|
||||||
version = "16.0.0";
|
version = "16.0.0";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
name = "${baseName}-${version}";
|
name = "${baseName}-${version}";
|
||||||
hash="0czh78z9i5b7jc241mq1h1gdscvdw5fbhfb0g9sn4rchwk1x8gil";
|
inherit version;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
url = "https://common-lisp.net/project/ecl/files/ecl-16.0.0.tgz";
|
url = "https://common-lisp.net/project/ecl/files/ecl-16.0.0.tgz";
|
||||||
sha256 = "0czh78z9i5b7jc241mq1h1gdscvdw5fbhfb0g9sn4rchwk1x8gil";
|
sha256 = "0czh78z9i5b7jc241mq1h1gdscvdw5fbhfb0g9sn4rchwk1x8gil";
|
||||||
};
|
};
|
||||||
buildInputs = [
|
|
||||||
libtool autoconf automake
|
|
||||||
];
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
libffi gmp mpfr
|
|
||||||
];
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
inherit (s) name version;
|
|
||||||
inherit buildInputs propagatedBuildInputs;
|
|
||||||
src = fetchurl {
|
|
||||||
inherit (s) url sha256;
|
|
||||||
};
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-threads"
|
"--enable-threads"
|
||||||
"--with-gmp-prefix=${gmp}"
|
"--with-gmp-prefix=${gmp}"
|
||||||
"--with-libffi-prefix=${libffi}"
|
"--with-libffi-prefix=${libffi}"
|
||||||
]
|
] ++ (stdenv.lib.optional (!noUnicode) "--enable-unicode");
|
||||||
++
|
|
||||||
(stdenv.lib.optional (! noUnicode)
|
buildInputs = [
|
||||||
"--enable-unicode")
|
libtool autoconf automake
|
||||||
;
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
libffi gmp mpfr
|
||||||
|
];
|
||||||
|
|
||||||
|
hardening_format = false;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
sed -e 's/@[-a-zA-Z_]*@//g' -i $out/bin/ecl-config
|
sed -e 's/@[-a-zA-Z_]*@//g' -i $out/bin/ecl-config
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
inherit (s) version;
|
|
||||||
description = "Lisp implementation aiming to be small, fast and easy to embed";
|
description = "Lisp implementation aiming to be small, fast and easy to embed";
|
||||||
license = stdenv.lib.licenses.mit;
|
license = stdenv.lib.licenses.mit;
|
||||||
maintainers = [stdenv.lib.maintainers.raskin];
|
maintainers = [stdenv.lib.maintainers.raskin];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user