mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
rnd-name: init at 1.0.0
This commit is contained in:
parent
1e82964404
commit
f570224278
33
pkgs/by-name/rn/rnd-name/package.nix
Normal file
33
pkgs/by-name/rn/rnd-name/package.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user