2021-09-20 17:51:28 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rust-petname";
|
2022-11-19 20:26:28 +00:00
|
|
|
version = "1.1.3";
|
2021-09-20 17:51:28 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit version;
|
|
|
|
crateName = "petname";
|
2022-11-19 20:26:28 +00:00
|
|
|
sha256 = "sha256-C6EJ8awdTV9TecMeYdbmleK8171+hvphjXJrWNJSXxo=";
|
2021-09-20 17:51:28 +00:00
|
|
|
};
|
|
|
|
|
2022-11-19 20:26:28 +00:00
|
|
|
cargoSha256 = "sha256-mB4n1IxhNXrAsCz/jv5jgqyO9OgISZnI5E/vFu80+FE=";
|
2021-09-20 17:51:28 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|