From ee20de5347aa2569240a251272f7ab0210047e7b Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Wed, 13 May 2026 00:36:01 +0200 Subject: [PATCH] pbkdf2-password-hash: init at 0-unstable-2024-03-21 Signed-off-by: Felix Singer --- .../pb/pbkdf2-password-hash/package.nix | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/by-name/pb/pbkdf2-password-hash/package.nix diff --git a/pkgs/by-name/pb/pbkdf2-password-hash/package.nix b/pkgs/by-name/pb/pbkdf2-password-hash/package.nix new file mode 100644 index 000000000000..e4dcf6fc2bee --- /dev/null +++ b/pkgs/by-name/pb/pbkdf2-password-hash/package.nix @@ -0,0 +1,31 @@ +{ + fetchgit, + lib, + rustPlatform, +}: + +rustPlatform.buildRustPackage { + pname = "pbkdf2-password-hash"; + version = "0-unstable-2024-03-21"; + + src = fetchgit { + url = "https://git.sr.ht/~laalsaas/pbkdf2-password-hash"; + rev = "9dfc0fd353bda7a6ccffbf681efc9a26dcc29a90"; + hash = "sha256-eBRArvcGU+63VT8Fx6iIi5RP9F55860CwF4Q3YwT8WU="; + }; + + cargoHash = "sha256-n3VxmR+bjFN/mEJ/SuDYQJWcndR7QFmcVJdZhSHDdmQ="; + + __structuredAttrs = true; + + meta = { + description = "Prompts for a password and prints the pbkdf2 hash"; + homepage = "https://git.sr.ht/~laalsaas/pbkdf2-password-hash"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ + felixsinger + ]; + platforms = lib.platforms.linux; + mainProgram = "pbkdf2-hash-password"; + }; +}