From 171d374c178aefdc8b3b8c08b894d9a4acd58954 Mon Sep 17 00:00:00 2001 From: Gasper Vozel Date: Mon, 2 Mar 2020 09:10:08 +0100 Subject: [PATCH 1/2] Add hashdeep 4.4 package A set of cross-platform tools to compute hashes. See: http://md5deep.sourceforge.net/start-hashdeep.html --- maintainers/maintainer-list.nix | 6 ++++++ pkgs/tools/security/hashdeep/default.nix | 23 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 31 insertions(+) create mode 100644 pkgs/tools/security/hashdeep/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index da84bffe116e..af519cad42fb 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3721,6 +3721,12 @@ github = "kampfschlaefer"; name = "Arnold Krille"; }; + karantan = { + name = "Gasper Vozel"; + email = "karantan@gmail.com"; + github = "karantan"; + githubId = 7062631; + }; karolchmist = { email = "info+nix@chmist.com"; name = "karolchmist"; diff --git a/pkgs/tools/security/hashdeep/default.nix b/pkgs/tools/security/hashdeep/default.nix new file mode 100644 index 000000000000..edb5794eef76 --- /dev/null +++ b/pkgs/tools/security/hashdeep/default.nix @@ -0,0 +1,23 @@ +{ 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 stdenv.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 ++ darwin; + maintainers = [ stdenv.lib.maintainers.karantan ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 404953a78294..2a8d46bcacde 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26099,4 +26099,6 @@ in quartus-prime-lite = callPackage ../applications/editors/quartus-prime {}; go-license-detector = callPackage ../development/tools/misc/go-license-detector { }; + + hashdeep = callPackage ../tools/security/hashdeep { }; } From 091bd1e65ad60eabff2cae64d73e920944f62169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 20 Mar 2020 11:53:34 +0100 Subject: [PATCH 2/2] Update pkgs/tools/security/hashdeep/default.nix --- pkgs/tools/security/hashdeep/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/security/hashdeep/default.nix b/pkgs/tools/security/hashdeep/default.nix index edb5794eef76..8c8ab5b01a5d 100644 --- a/pkgs/tools/security/hashdeep/default.nix +++ b/pkgs/tools/security/hashdeep/default.nix @@ -17,7 +17,7 @@ in stdenv.mkDerivation { 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 ++ darwin; + platforms = with platforms; linux ++ freebsd ++ openbsd; maintainers = [ stdenv.lib.maintainers.karantan ]; }; }