From 15137429e65996cf3870ec58fc0c545f5b7d8f80 Mon Sep 17 00:00:00 2001 From: Matteo Pacini Date: Thu, 7 Nov 2024 14:16:11 +0000 Subject: [PATCH] jitterentropy: rfc format --- .../libraries/jitterentropy/default.nix | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/jitterentropy/default.nix b/pkgs/development/libraries/jitterentropy/default.nix index 19bf10bdefc5..db1acb1728f9 100644 --- a/pkgs/development/libraries/jitterentropy/default.nix +++ b/pkgs/development/libraries/jitterentropy/default.nix @@ -1,4 +1,9 @@ -{ lib, stdenv, cmake, fetchFromGitHub }: +{ + lib, + stdenv, + cmake, + fetchFromGitHub, +}: stdenv.mkDerivation rec { pname = "jitterentropy"; @@ -13,7 +18,10 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; - outputs = [ "out" "dev" ]; + outputs = [ + "out" + "dev" + ]; hardeningDisable = [ "fortify" ]; # avoid warnings @@ -21,8 +29,14 @@ stdenv.mkDerivation rec { 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 ]; + license = with lib.licenses; [ + bsd3 # OR + gpl2Only + ]; platforms = lib.platforms.linux ++ lib.platforms.darwin; - maintainers = with lib.maintainers; [ johnazoidberg c0bw3b ]; + maintainers = with lib.maintainers; [ + johnazoidberg + c0bw3b + ]; }; }