aescrypt: fix build on darwin
* add libiconvOrEmpty to build inputs * add '-liconv' to LDFLAGS
This commit is contained in:
parent
ec9f54602e
commit
3fe02f7c8b
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, libiconvOrEmpty }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "3.0.9";
|
version = "3.0.9";
|
||||||
|
@ -19,14 +19,16 @@ stdenv.mkDerivation rec {
|
||||||
cp aescrypt_keygen $out/bin
|
cp aescrypt_keygen $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [];
|
buildInputs = [ libiconvOrEmpty ];
|
||||||
|
|
||||||
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-liconv";
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A file encryption util that uses the industry standard Advanced Encryption Standard (AES) to easily and securely encrypt files";
|
description = "A file encryption util that uses the industry standard Advanced Encryption Standard (AES) to easily and securely encrypt files";
|
||||||
homepage = http://www.aescrypt.com/;
|
homepage = http://www.aescrypt.com/;
|
||||||
license = "GPLv2";
|
license = licenses.gpl2;
|
||||||
platforms = stdenv.lib.platforms.all;
|
maintainers = with maintainers; [ lovek323 qknight ];
|
||||||
maintainers = [ stdenv.lib.maintainers.qknight ];
|
platforms = stdenv.lib.platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue