nixpkgs/pkgs/development/libraries/afflib/default.nix
2020-07-07 23:59:56 -05:00

30 lines
825 B
Nix

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