mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
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
|
||||
, autoreconfHook, python3
|
||||
, autoreconfHook, python3, libiconv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ zlib curl expat openssl python3 ]
|
||||
++ lib.optionals stdenv.isLinux [ fuse ];
|
||||
++ lib.optionals (with stdenv; isLinux || isDarwin) [ fuse ]
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://afflib.sourceforge.net/";
|
||||
|
Loading…
Reference in New Issue
Block a user