mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 17:39:34 +00:00
realpine: turn off format hardening
This commit is contained in:
parent
9620a43228
commit
9f8dc7d0fe
|
@ -2,34 +2,35 @@
|
||||||
, openldap
|
, openldap
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
s =
|
baseName = "re-alpine";
|
||||||
rec {
|
|
||||||
version = "2.03";
|
version = "2.03";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "${baseName}-${version}";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/re-alpine/re-alpine-${version}.tar.bz2";
|
url = "mirror://sourceforge/re-alpine/re-alpine-${version}.tar.bz2";
|
||||||
sha256 = "11xspzbk9cwmklmcw6rxsan7j71ysd4m9c7qldlc59ck595k5nbh";
|
sha256 = "11xspzbk9cwmklmcw6rxsan7j71ysd4m9c7qldlc59ck595k5nbh";
|
||||||
baseName = "re-alpine";
|
|
||||||
name = "${baseName}-${version}";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
ncurses tcl openssl pam kerberos openldap
|
ncurses tcl openssl pam kerberos openldap
|
||||||
];
|
];
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
hardening_format = false;
|
||||||
inherit (s) name version;
|
|
||||||
inherit buildInputs;
|
|
||||||
src = fetchurl {
|
|
||||||
inherit (s) url sha256;
|
|
||||||
};
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-ssl-include-dir=${openssl}/include/openssl"
|
"--with-ssl-include-dir=${openssl}/include/openssl"
|
||||||
"--with-tcl-lib=${tcl.libPrefix}"
|
"--with-tcl-lib=${tcl.libPrefix}"
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lgcc_s"
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lgcc_s"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
inherit (s) version;
|
description = "Console mail reader";
|
||||||
description = ''Console mail reader'';
|
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = stdenv.lib.licenses.asl20;
|
||||||
maintainers = [stdenv.lib.maintainers.raskin];
|
maintainers = [stdenv.lib.maintainers.raskin];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
|
Loading…
Reference in a new issue