2018-02-05 08:43:27 -06:00
|
|
|
{ stdenv, fetchFromGitHub, which }:
|
2014-08-21 00:42:50 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-02-04 01:43:00 -06:00
|
|
|
version = "1.3.8";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "rhash";
|
2014-08-21 00:42:50 +02:00
|
|
|
|
2018-02-05 08:43:27 -06:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rhash";
|
|
|
|
repo = "RHash";
|
2018-09-18 16:51:41 -05:00
|
|
|
rev = "v${version}";
|
2019-02-04 01:43:00 -06:00
|
|
|
sha256 = "0i00wl63hn80g0s9gdi772gchbghwgkvn4nbb5227y2wwy30yyi2";
|
2014-08-21 00:42:50 +02:00
|
|
|
};
|
|
|
|
|
2018-02-05 08:43:27 -06:00
|
|
|
nativeBuildInputs = [ which ];
|
2017-06-13 21:37:24 +02:00
|
|
|
|
2018-02-05 08:43:27 -06:00
|
|
|
# configure script is not autotools-based, doesn't support these options
|
|
|
|
configurePlatforms = [ ];
|
2014-08-21 00:42:50 +02:00
|
|
|
|
2019-02-04 01:43:00 -06:00
|
|
|
doCheck = true;
|
2018-04-25 03:20:18 +00:00
|
|
|
|
2019-02-04 01:47:53 -06:00
|
|
|
checkTarget = "test-full";
|
|
|
|
|
2019-02-04 01:43:00 -06:00
|
|
|
installTargets = [ "install" "install-lib-shared" "install-lib-so-link" "install-lib-headers" ];
|
2015-06-17 00:55:16 -07:00
|
|
|
|
2014-08-21 00:42:50 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://rhash.anz.ru;
|
2015-06-17 00:55:16 -07:00
|
|
|
description = "Console utility and library for computing and verifying hash sums of files";
|
2017-06-13 17:17:03 +02:00
|
|
|
platforms = platforms.all;
|
2015-06-18 11:52:39 -07:00
|
|
|
maintainers = [ maintainers.andrewrk ];
|
2014-08-21 00:42:50 +02:00
|
|
|
};
|
|
|
|
}
|