nixpkgs/pkgs/tools/security/hashdeep/default.nix
2021-01-15 17:12:36 +07:00

24 lines
639 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
let version = "4.4";
in stdenv.mkDerivation {
name = "hashdeep-${version}";
src = fetchFromGitHub {
owner = "jessek";
repo = "hashdeep";
rev = "release-${version}";
sha256 = "0m2b042ndikavmplv3qjdhfj44hl1h8car83c192xi9nv5ahi7mf";
};
nativeBuildInputs = [ autoreconfHook ];
meta = with lib; {
description = "A set of cross-platform tools to compute hashes";
homepage = "https://github.com/jessek/hashdeep";
license = licenses.gpl2;
platforms = with platforms; linux ++ freebsd ++ openbsd;
maintainers = [ lib.maintainers.karantan ];
};
}