Merge pull request #323762 from x123/x123-add-phraze-tool
phraze: init at 0.3.11
This commit is contained in:
commit
9f4128e00b
@ -21724,6 +21724,12 @@
|
|||||||
github = "x0ba";
|
github = "x0ba";
|
||||||
githubId = 64868985;
|
githubId = 64868985;
|
||||||
};
|
};
|
||||||
|
x123 = {
|
||||||
|
name = "x123";
|
||||||
|
email = "nix@boxchop.city";
|
||||||
|
github = "x123";
|
||||||
|
githubId = 5481629;
|
||||||
|
};
|
||||||
x3ro = {
|
x3ro = {
|
||||||
name = "^x3ro";
|
name = "^x3ro";
|
||||||
email = "nix@x3ro.dev";
|
email = "nix@x3ro.dev";
|
||||||
|
30
pkgs/by-name/ph/phraze/package.nix
Normal file
30
pkgs/by-name/ph/phraze/package.nix
Normal file
@ -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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user