afflib: fix build on darwin, remove libiconv (#446118)

authored by 7c6f434c and committed by GitHub 2a18bdb1 69c9d71c

+6 -6
+6 -6
pkgs/by-name/af/afflib/package.nix
··· 5 zlib, 6 curl, 7 expat, 8 fuse3, 9 openssl, 10 autoreconfHook, 11 python3, 12 - libiconv, 13 }: 14 15 - stdenv.mkDerivation rec { 16 version = "3.7.22"; 17 pname = "afflib"; 18 19 src = fetchFromGitHub { 20 owner = "sshock"; 21 repo = "AFFLIBv3"; 22 - tag = "v${version}"; 23 sha256 = "sha256-pGInhJQBhFJhft/KfB3J3S9/BVp9D8TZ+uw2CUNVC+Q="; 24 }; 25 ··· 31 openssl 32 python3 33 ] 34 - ++ lib.optionals (with stdenv; isLinux || isDarwin) [ fuse3 ] 35 - ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]; 36 37 meta = { 38 homepage = "http://afflib.sourceforge.net/"; ··· 42 maintainers = [ lib.maintainers.raskin ]; 43 downloadPage = "https://github.com/sshock/AFFLIBv3/tags"; 44 }; 45 - }
··· 5 zlib, 6 curl, 7 expat, 8 + fuse, 9 fuse3, 10 openssl, 11 autoreconfHook, 12 python3, 13 }: 14 15 + stdenv.mkDerivation (finalAttrs: { 16 version = "3.7.22"; 17 pname = "afflib"; 18 19 src = fetchFromGitHub { 20 owner = "sshock"; 21 repo = "AFFLIBv3"; 22 + tag = "v${finalAttrs.version}"; 23 sha256 = "sha256-pGInhJQBhFJhft/KfB3J3S9/BVp9D8TZ+uw2CUNVC+Q="; 24 }; 25 ··· 31 openssl 32 python3 33 ] 34 + ++ lib.optionals stdenv.hostPlatform.isLinux [ fuse3 ] 35 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ fuse ]; 36 37 meta = { 38 homepage = "http://afflib.sourceforge.net/"; ··· 42 maintainers = [ lib.maintainers.raskin ]; 43 downloadPage = "https://github.com/sshock/AFFLIBv3/tags"; 44 }; 45 + })