diff options
author | figsoda <figsoda@pm.me> | 2023-08-15 17:15:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 17:15:52 -0400 |
commit | ed75ab352f3977f21c4ca6f55ef72023eac3527f (patch) | |
tree | e0fcbf362fa8425ba01416ad8f999532e668440d /pkgs | |
parent | 83325e7a667ec4e163fbb81d64fc8a541543f439 (diff) | |
parent | 729f9309b0fd29410517291c824de9019165a671 (diff) |
Merge pull request #248809 from figsoda/minizign
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/security/minizign/default.nix | 30 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/security/minizign/default.nix b/pkgs/tools/security/minizign/default.nix new file mode 100644 index 0000000000000..a5fd19405a374 --- /dev/null +++ b/pkgs/tools/security/minizign/default.nix @@ -0,0 +1,30 @@ +{ lib +, stdenv +, fetchFromGitHub +, zig_0_11 +}: + +stdenv.mkDerivation { + pname = "minizign"; + version = "unstable-2023-08-13"; + + src = fetchFromGitHub { + owner = "jedisct1"; + repo = "zig-minisign"; + rev = "47edc26d0c7bcfb531fe08e3b2411d8dda516d47"; + hash = "sha256-zyxjUFxg+VufEVycYGCQPdjERE3p5Vz5iIi2UDujEjI="; + }; + + nativeBuildInputs = [ + zig_0_11.hook + ]; + + meta = with lib; { + description = "Minisign reimplemented in Zig"; + homepage = "https://github.com/jedisct1/zig-minisign"; + license = licenses.isc; + maintainers = with maintainers; [ figsoda ]; + mainProgram = "minizign"; + inherit (zig_0_11.meta) platforms; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b23a980005b14..3f8b9fc5160da 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9965,6 +9965,8 @@ with pkgs; ministat = callPackage ../tools/misc/ministat { }; + minizign = callPackage ../tools/security/minizign { }; + mitm6 = callPackage ../tools/security/mitm6 { }; mjolnir = callPackage ../servers/mjolnir { |