2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2020-03-02 08:10:08 +00:00
|
|
|
|
2021-03-04 11:44:47 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "hashdeep";
|
|
|
|
version = "4.4";
|
2020-03-02 08:10:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jessek";
|
|
|
|
repo = "hashdeep";
|
|
|
|
rev = "release-${version}";
|
|
|
|
sha256 = "0m2b042ndikavmplv3qjdhfj44hl1h8car83c192xi9nv5ahi7mf";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "A set of cross-platform tools to compute hashes";
|
2020-03-02 08:10:08 +00:00
|
|
|
homepage = "https://github.com/jessek/hashdeep";
|
|
|
|
license = licenses.gpl2;
|
2021-03-04 07:36:19 +00:00
|
|
|
# Build fails on Darwin:
|
|
|
|
# > ./xml.h:103:82: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
|
|
|
|
# > void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); }
|
2020-03-20 10:53:34 +00:00
|
|
|
platforms = with platforms; linux ++ freebsd ++ openbsd;
|
2021-03-04 11:44:47 +00:00
|
|
|
maintainers = [ maintainers.karantan ];
|
2020-03-02 08:10:08 +00:00
|
|
|
};
|
|
|
|
}
|