Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
757 B
Nix
35 lines
757 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
let
|
|
version = "1.0.0";
|
|
in
|
|
buildGoModule {
|
|
inherit version;
|
|
pname = "rnd-name";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mrhenry";
|
|
repo = "rnd-name";
|
|
rev = "v${version}";
|
|
hash = "sha256-o3A7VDH6rpJmCBu8ZPfPllMm1rAN1tNrz2eUyd2Tjjs=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
platforms = lib.platforms.all;
|
|
mainProgram = "rnd-name";
|
|
description = "Random strings that are easy to recognize";
|
|
homepage = "https://github.com/mrhenry/rnd-name";
|
|
changelog = "https://github.com/mrhenry/rnd-name/releases/tag/v${version}";
|
|
license = lib.licenses.mit0;
|
|
maintainers = with lib.maintainers; [ fd ];
|
|
};
|
|
}
|