mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
recutils
: Encryption support, UUID support, Bash builtins (#351773)
This commit is contained in:
commit
ab272732b1
@ -4,6 +4,16 @@
|
|||||||
, bc
|
, bc
|
||||||
, check
|
, check
|
||||||
, curl
|
, curl
|
||||||
|
|
||||||
|
, withEncryption ? true
|
||||||
|
, libgcrypt
|
||||||
|
, libgpg-error
|
||||||
|
|
||||||
|
, withUuid ? true
|
||||||
|
, libuuid
|
||||||
|
|
||||||
|
, withBashBuiltins ? true
|
||||||
|
, bash
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -17,8 +27,20 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
hardeningDisable = lib.optional stdenv.cc.isClang "format";
|
hardeningDisable = lib.optional stdenv.cc.isClang "format";
|
||||||
|
|
||||||
|
configureFlags =
|
||||||
|
lib.optionals withBashBuiltins [
|
||||||
|
"--with-bash-headers=${bash.dev}/include/bash"
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
curl
|
curl
|
||||||
|
] ++ lib.optionals withEncryption [
|
||||||
|
libgpg-error.dev
|
||||||
|
libgcrypt.dev
|
||||||
|
] ++ lib.optionals withUuid [
|
||||||
|
libuuid
|
||||||
|
] ++ lib.optionals withBashBuiltins [
|
||||||
|
bash.dev
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user