blob: bf5a6409a6f5056f5f89365495aa64a1d6eff871 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
stdenv,
cmake,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "jitterentropy";
version = "3.6.3";
src = fetchFromGitHub {
owner = "smuellerDD";
repo = "jitterentropy-library";
rev = "v${version}";
hash = "sha256-A7a0kg9JRiNNKJbLJu5Fbu6ZgCwv3+3oDhZr3jwNXmM=";
};
nativeBuildInputs = [ cmake ];
outputs = [
"out"
"dev"
];
hardeningDisable = [ "fortify" ]; # avoid warnings
meta = {
description = "Provides a noise source using the CPU execution timing jitter";
homepage = "https://github.com/smuellerDD/jitterentropy-library";
changelog = "https://github.com/smuellerDD/jitterentropy-library/raw/v${version}/CHANGES.md";
license = with lib.licenses; [
bsd3 # OR
gpl2Only
];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [
johnazoidberg
c0bw3b
];
};
}
|