depot/third_party/nixpkgs/pkgs/tools/text/rust-petname/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

22 lines
587 B
Nix

{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "rust-petname";
version = "1.1.3";
src = fetchCrate {
inherit version;
crateName = "petname";
sha256 = "sha256-C6EJ8awdTV9TecMeYdbmleK8171+hvphjXJrWNJSXxo=";
};
cargoSha256 = "sha256-mB4n1IxhNXrAsCz/jv5jgqyO9OgISZnI5E/vFu80+FE=";
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";
};
}