Loading pkgs/development/libraries/jitterentropy/default.nix +22 −14 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub }: { lib, stdenv, cmake, fetchFromGitHub, }: stdenv.mkDerivation rec { pname = "jitterentropy"; Loading @@ -11,24 +16,27 @@ stdenv.mkDerivation rec { hash = "sha256-CPvgc/W5Z2OfbP9Lp2tQevUQZr+xlh6q5r5Fp2WUHhg="; }; outputs = [ "out" "dev" ]; nativeBuildInputs = [ cmake ]; enableParallelBuilding = true; hardeningDisable = [ "fortify" ]; # avoid warnings # prevent jitterentropy from builtin strip to allow controlling this from the derivation's # settings. Also fixes a strange issue, where this strip may fail when cross-compiling. installFlags = [ "INSTALL_STRIP=install" "PREFIX=${placeholder "out"}" outputs = [ "out" "dev" ]; meta = with lib; { 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 licenses; [ bsd3 /* OR */ gpl2Only ]; platforms = platforms.linux; maintainers = with maintainers; [ johnazoidberg c0bw3b ]; license = with lib.licenses; [ bsd3 # OR gpl2Only ]; platforms = lib.platforms.linux ++ lib.platforms.darwin; maintainers = with lib.maintainers; [ johnazoidberg c0bw3b ]; }; } Loading
pkgs/development/libraries/jitterentropy/default.nix +22 −14 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub }: { lib, stdenv, cmake, fetchFromGitHub, }: stdenv.mkDerivation rec { pname = "jitterentropy"; Loading @@ -11,24 +16,27 @@ stdenv.mkDerivation rec { hash = "sha256-CPvgc/W5Z2OfbP9Lp2tQevUQZr+xlh6q5r5Fp2WUHhg="; }; outputs = [ "out" "dev" ]; nativeBuildInputs = [ cmake ]; enableParallelBuilding = true; hardeningDisable = [ "fortify" ]; # avoid warnings # prevent jitterentropy from builtin strip to allow controlling this from the derivation's # settings. Also fixes a strange issue, where this strip may fail when cross-compiling. installFlags = [ "INSTALL_STRIP=install" "PREFIX=${placeholder "out"}" outputs = [ "out" "dev" ]; meta = with lib; { 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 licenses; [ bsd3 /* OR */ gpl2Only ]; platforms = platforms.linux; maintainers = with maintainers; [ johnazoidberg c0bw3b ]; license = with lib.licenses; [ bsd3 # OR gpl2Only ]; platforms = lib.platforms.linux ++ lib.platforms.darwin; maintainers = with lib.maintainers; [ johnazoidberg c0bw3b ]; }; }