diff options
author | Zitrone <nix@dev.quantenzitrone.eu> | 2024-06-12 05:25:54 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-06-23 12:39:49 +0200 |
commit | e50a6f5d60d362a3423fef0fac46520821521813 (patch) | |
tree | 895256589b04c546d3c589327a58d4ac552d520a /pkgs/tools | |
parent | 4f27ac853767fa5054881a12d4060fa8a69c849a (diff) |
SP800-90B_EntropyAssessment: rename to sp800-90b-entropyassessment
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/SP800-90B_EntropyAssessment/default.nix | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/pkgs/tools/misc/SP800-90B_EntropyAssessment/default.nix b/pkgs/tools/misc/SP800-90B_EntropyAssessment/default.nix deleted file mode 100644 index 3c18621d712de..0000000000000 --- a/pkgs/tools/misc/SP800-90B_EntropyAssessment/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, bzip2 -, libdivsufsort -, jsoncpp -, openssl -, mpfr -}: - -stdenv.mkDerivation rec { - pname = "SP800-90B_EntropyAssessment"; - version = "1.1.6"; - - src = fetchFromGitHub { - owner = "usnistgov"; - repo = "SP800-90B_EntropyAssessment"; - rev = "v${version}"; - hash = "sha256-KZQ7kC0PbBkjLEQZIqYakQ91OvCxruhdfUwiRHtno3w="; - }; - - buildInputs = [ bzip2 libdivsufsort jsoncpp openssl mpfr ]; - - postPatch = '' - substituteInPlace Makefile \ - --replace "-march=native" "" - ''; - - sourceRoot = "${src.name}/cpp"; - - makeFlags = [ - "CROSS_COMPILE=${stdenv.cc.targetPrefix}" - "ARCH=${stdenv.hostPlatform.linuxArch}" - ]; - - installPhase = '' - runHook preInstall - mkdir -p $out/bin - cp ea_* $out/bin - runHook postInstall - ''; - - meta = { - homepage = "https://github.com/usnistgov/SP800-90B_EntropyAssessment"; - description = "Implementation of min-entropy assessment methods included in Special Publication 800-90B"; - platforms = lib.platforms.linux; - license = lib.licenses.nistSoftware; - maintainers = with lib.maintainers; [ orichter thillux ]; - }; -} |