nixpkgs-suyu/pkgs/development/libraries/afflib/default.nix
Robert Schütz 8413f1883e afflib: use python3
Python3 is supported since 3.7.14.
2018-08-03 17:54:38 +02:00

28 lines
787 B
Nix

{ stdenv, fetchFromGitHub, zlib, curl, expat, fuse, openssl
, autoreconfHook, python3
}:
stdenv.mkDerivation rec {
version = "3.7.16";
name = "afflib-${version}";
src = fetchFromGitHub {
owner = "sshock";
repo = "AFFLIBv3";
rev = "v${version}";
sha256 = "0piwkmg7jn64h57cjf5cybyvyqxj2k752g9vrf4ycds7nhvvbnb6";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ zlib curl expat fuse openssl python3 ];
meta = {
homepage = http://afflib.sourceforge.net/;
description = "Advanced forensic format library";
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.bsdOriginal;
maintainers = [ stdenv.lib.maintainers.raskin ];
inherit version;
downloadPage = "https://github.com/sshock/AFFLIBv3/tags";
};
}