afflib: add darwin build
This commit is contained in:
parent
c3614f71a2
commit
e4186b5e83
|
@ -1,5 +1,5 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, zlib, curl, expat, fuse, openssl
|
{ lib, stdenv, fetchFromGitHub, zlib, curl, expat, fuse, openssl
|
||||||
, autoreconfHook, python3
|
, autoreconfHook, python3, libiconv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
buildInputs = [ zlib curl expat openssl python3 ]
|
buildInputs = [ zlib curl expat openssl python3 ]
|
||||||
++ lib.optionals stdenv.isLinux [ fuse ];
|
++ lib.optionals (with stdenv; isLinux || isDarwin) [ fuse ]
|
||||||
|
++ lib.optionals stdenv.isDarwin [ libiconv ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://afflib.sourceforge.net/";
|
homepage = "http://afflib.sourceforge.net/";
|
||||||
|
|
Loading…
Reference in New Issue