From 3e283148ac174729a95fc288ac6749c5207d9394 Mon Sep 17 00:00:00 2001 From: x123 Date: Mon, 1 Jul 2024 10:37:15 +0200 Subject: [PATCH 1/2] maintainers: add x123 --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 62a0a29bc07b..ea8fd6b751c2 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -21760,6 +21760,12 @@ github = "x0ba"; githubId = 64868985; }; + x123 = { + name = "x123"; + email = "nix@boxchop.city"; + github = "x123"; + githubId = 5481629; + }; x3ro = { name = "^x3ro"; email = "nix@x3ro.dev"; From f2c901e294807199fbbd72a3c5b5aff896bfbe8e Mon Sep 17 00:00:00 2001 From: x123 Date: Mon, 1 Jul 2024 10:50:55 +0200 Subject: [PATCH 2/2] phraze: init at 0.3.11 --- pkgs/by-name/ph/phraze/package.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/by-name/ph/phraze/package.nix diff --git a/pkgs/by-name/ph/phraze/package.nix b/pkgs/by-name/ph/phraze/package.nix new file mode 100644 index 000000000000..fe9376e9d632 --- /dev/null +++ b/pkgs/by-name/ph/phraze/package.nix @@ -0,0 +1,30 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, +}: + +rustPlatform.buildRustPackage rec { + pname = "phraze"; + version = "0.3.11"; + + src = fetchFromGitHub { + owner = "sts10"; + repo = "phraze"; + rev = "v${version}"; + hash = "sha256-1tvFVwTvtjAXVfCObdL3tGq50q4zouchNAuMo7euZ3g="; + }; + + doCheck = true; + + cargoHash = "sha256-q3nkNBEiisGp+ElSXZnT4x6P0Sm5sM2R9cpzpaJ/UU4="; + + meta = { + description = "Generate random passphrases"; + homepage = "https://github.com/sts10/phraze"; + changelog = "https://github.com/sts10/phraze/releases/tag/v${version}"; + license = lib.licenses.mpl20; + maintainers = with lib.maintainers; [ x123 ]; + mainProgram = "phraze"; + }; +}