Merge pull request #158815 from c0bw3b/pkg/rng
This commit is contained in:
commit
074928c687
|
@ -4,6 +4,7 @@
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, libtool
|
, libtool
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, psmisc
|
||||||
, argp-standalone ? null
|
, argp-standalone ? null
|
||||||
, openssl
|
, openssl
|
||||||
, jitterentropy ? null, withJitterEntropy ? true
|
, jitterentropy ? null, withJitterEntropy ? true
|
||||||
|
@ -24,13 +25,13 @@ with lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rng-tools";
|
pname = "rng-tools";
|
||||||
version = "6.14";
|
version = "6.15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nhorman";
|
owner = "nhorman";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-NTXp2l5gVxKhO4Gqcy4VzomYU5B3HydkefMvdzypK8M=";
|
hash = "sha256-km+MEng3VWZF07sdvGLbAG/vf8/A1DxhA/Xa2Y+LAEQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook libtool pkg-config ];
|
nativeBuildInputs = [ autoreconfHook libtool pkg-config ];
|
||||||
|
@ -59,6 +60,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
preCheck = "patchShebangs tests/*.sh";
|
preCheck = "patchShebangs tests/*.sh";
|
||||||
|
checkInputs = [ psmisc ]; # rngtestjitter.sh needs killall
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue