yep, more dotfiles
1{ lib
2
3, fetchFromGitHub
4, rustPlatform
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "names";
9 version = "0.14.0";
10
11 src = fetchFromGitHub {
12 owner = "fnichol";
13 repo = pname;
14 rev = "v${version}";
15 hash = "sha256-C0JEVTOgxtgvCgSSdYxMCMtAVRU1A7DEczNj4zY8q20=";
16 };
17
18 cargoHash = "sha256-+zNlzo/+CCGzxreDdCj/bjF28euFGuXJspJoBPaG+8E=";
19
20 meta = with lib; {
21 description = "Random name generator";
22 homepage = "https://github.com/fnichol/names";
23 license = licenses.mit;
24 maintainers = [ "mrnossiom" ];
25 mainProgram = "names";
26 };
27}