diff --git a/pkgs/tools/security/aesfix/default.nix b/pkgs/tools/security/aesfix/default.nix new file mode 100644 index 000000000000..b2eb2e0e96ca --- /dev/null +++ b/pkgs/tools/security/aesfix/default.nix @@ -0,0 +1,26 @@ +{ lib +, stdenv +, fetchurl +}: + +stdenv.mkDerivation rec { + pname = "aesfix"; + version = "1.0.1"; + + src = fetchurl { + url = "https://citpsite.s3.amazonaws.com/memory-content/src/aesfix-${version}.tar.gz"; + sha256 = "sha256-exd+h2yu5qrkjwEjEC8R32WUpzhIP5pH8sdv6BzARdQ="; + }; + installPhase = '' + runHook preInstall + mkdir -p $out/bin + cp aesfix $out/bin + runHook postInstall + ''; + + meta = with lib; { + description = "Correct bit errors in an AES key schedules"; + homepage = "https://citp.princeton.edu/our-work/memory/"; + maintainers = with maintainers; [ fedx-sudo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7f0df4384763..169717737aeb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -188,6 +188,8 @@ with pkgs; aocd = with python3Packages; toPythonApplication aocd; + aesfix = callPackage ../tools/security/aesfix { }; + astrolog = callPackage ../applications/science/astronomy/astrolog { }; atkinson-hyperlegible = callPackage ../data/fonts/atkinson-hyperlegible { };