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