From facb810bcc741751856fc894477a6aa933c58b37 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Thu, 21 Aug 2014 00:42:50 +0200 Subject: [PATCH] rhash: new package Console utility for computing and verifying hash sums of files http://rhash.anz.ru --- pkgs/tools/security/rhash/default.nix | 18 ++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/tools/security/rhash/default.nix diff --git a/pkgs/tools/security/rhash/default.nix b/pkgs/tools/security/rhash/default.nix new file mode 100644 index 000000000000..6a2710869bf8 --- /dev/null +++ b/pkgs/tools/security/rhash/default.nix @@ -0,0 +1,18 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "rhash-1.3.3"; + + src = fetchurl { + url = "mirror://sourceforge/rhash/${name}-src.tar.gz"; + sha1 = "0981bdc98ba7ef923b1a6cd7fd8bb0374cff632e"; + }; + + installFlags = [ "DESTDIR=$(out)" "PREFIX=/" ]; + + meta = with stdenv.lib; { + homepage = http://rhash.anz.ru; + description = "Console utility for computing and verifying hash sums of files"; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 191bf9f44fb6..f2c8b83ada53 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1973,6 +1973,8 @@ let rdmd = callPackage ../development/compilers/rdmd { }; + rhash = callPackage ../tools/security/rhash { }; + riemann_c_client = callPackage ../tools/misc/riemann-c-client { }; ripmime = callPackage ../tools/networking/ripmime {};