1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/pkgs/tools/security/rhash/default.nix

31 lines
853 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, which }:
stdenv.mkDerivation rec {
version = "2018-02-05";
2015-06-17 08:55:16 +01:00
name = "rhash-${version}";
src = fetchFromGitHub {
owner = "rhash";
repo = "RHash";
rev = "cc26d54ff5df0f692907a5e3132a5eeca559ed61";
sha256 = "1ldagp931lmxxpyvsb9rrar4iqwmv94m6lfjzkbkshpmk3p5ng7h";
};
nativeBuildInputs = [ which ];
# configure script is not autotools-based, doesn't support these options
configurePlatforms = [ ];
doCheck = false; # fails
installTargets = [ "install" "install-lib-shared" "install-lib-so-link" ];
postInstall = "make -C librhash install-headers";
2015-06-17 08:55:16 +01:00
meta = with stdenv.lib; {
homepage = http://rhash.anz.ru;
2015-06-17 08:55:16 +01:00
description = "Console utility and library for computing and verifying hash sums of files";
platforms = platforms.all;
2015-06-18 19:52:39 +01:00
maintainers = [ maintainers.andrewrk ];
};
}