nixpkgs/pkgs/development/libraries/jitterentropy/default.nix
R. RyanTM 0158bc0f0e jitterentropy: 2.1.2 -> 2.2.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/jitterentropy/versions
2019-10-07 08:49:46 -07:00

31 lines
756 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "jitterentropy";
version = "2.2.0";
src = fetchFromGitHub {
owner = "smuellerDD";
repo = "jitterentropy-library";
rev = "v${version}";
sha256 = "0n2l1fxr7bynnarpwdjifb2fvlsq8w5wmfh31yk5nrc756cjlgyw";
};
enableParallelBuilding = true;
preInstall = ''
mkdir -p $out/include
'';
installFlags = [
"PREFIX=$(out)"
];
meta = {
description = "Provides a noise source using the CPU execution timing jitter";
homepage = https://github.com/smuellerDD/jitterentropy-library;
license = with stdenv.lib.licenses; [ gpl2 bsd3 ];
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ johnazoidberg ];
};
}