rust-petname: init at 1.1.1
This commit is contained in:
parent
f5d66f8fcf
commit
c2c5c3da83
2 changed files with 24 additions and 0 deletions
22
pkgs/tools/text/rust-petname/default.nix
Normal file
22
pkgs/tools/text/rust-petname/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ lib, rustPlatform, fetchCrate }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rust-petname";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit version;
|
||||
crateName = "petname";
|
||||
sha256 = "sha256-X1p9W+N0Nhh7CSh776ofzHmG0ayi5COLJjBncxmL8CM=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-jxN2EKLjf9yKkhZ4wsH72sNdk6UYAcCUrg4+qx75bWs=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate human readable random names";
|
||||
homepage = "https://github.com/allenap/rust-petname";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
mainProgram = "petname";
|
||||
};
|
||||
}
|
|
@ -8808,6 +8808,8 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
rust-petname = callPackage ../tools/text/rust-petname { };
|
||||
|
||||
rustscan = callPackage ../tools/security/rustscan {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue