nixpkgs/pkgs/development/libraries/afflib/default.nix

31 lines
882 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, zlib, curl, expat, fuse, openssl
2021-03-27 07:59:33 +01:00
, autoreconfHook, python3, libiconv
2014-11-03 14:04:28 +01:00
}:
stdenv.mkDerivation rec {
2020-07-08 04:34:24 +02:00
version = "3.7.19";
pname = "afflib";
2017-02-02 02:14:47 +01:00
src = fetchFromGitHub {
owner = "sshock";
repo = "AFFLIBv3";
rev = "v${version}";
2020-07-08 04:34:24 +02:00
sha256 = "1qs843yi33yqbp0scqirn753lxzg762rz6xy2h3f8f77fijqj2qb";
};
nativeBuildInputs = [ autoreconfHook ];
2020-07-08 06:59:56 +02:00
buildInputs = [ zlib curl expat openssl python3 ]
2021-03-27 07:59:33 +01:00
++ lib.optionals (with stdenv; isLinux || isDarwin) [ fuse ]
++ lib.optionals stdenv.isDarwin [ libiconv ];
2014-11-03 14:04:28 +01:00
meta = {
homepage = "http://afflib.sourceforge.net/";
description = "Advanced forensic format library";
platforms = lib.platforms.unix;
license = lib.licenses.bsdOriginal;
maintainers = [ lib.maintainers.raskin ];
2014-07-01 10:27:13 +02:00
inherit version;
2014-12-20 22:29:22 +01:00
downloadPage = "https://github.com/sshock/AFFLIBv3/tags";
};
}