Merge pull request #138732 from figsoda/rust-petname

rust-petname: init at 1.1.1
This commit is contained in:
figsoda 2021-09-20 16:02:43 -04:00 committed by GitHub
commit f8f1240094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View 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";
};
}

View File

@ -8813,6 +8813,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;
};