1 { lib, rustPlatform, fetchCrate }:
3 rustPlatform.buildRustPackage rec {
4 pname = "rust-petname";
10 hash = "sha256-KP+GdGlwLHcKE8nAmFr2wHbt5RD9Ptpiz1X5HgJ6BgU=";
13 cargoHash = "sha256-R1Xahr9R4G8Tr2cGRJ2oydVaLohPz2VM6tnbtE8Hysk=";
16 description = "Generate human readable random names";
17 homepage = "https://github.com/allenap/rust-petname";
18 license = licenses.asl20;
19 maintainers = with maintainers; [ figsoda ];
20 mainProgram = "petname";