nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 45 lines 921 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 zlib, 6 curl, 7 expat, 8 fuse, 9 fuse3, 10 openssl, 11 autoreconfHook, 12 python3, 13}: 14 15stdenv.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 26 nativeBuildInputs = [ autoreconfHook ]; 27 buildInputs = [ 28 zlib 29 curl 30 expat 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/"; 39 description = "Advanced forensic format library"; 40 platforms = lib.platforms.unix; 41 license = lib.licenses.bsdOriginal; 42 maintainers = [ lib.maintainers.raskin ]; 43 downloadPage = "https://github.com/sshock/AFFLIBv3/tags"; 44 }; 45})