mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
24 lines
657 B
Nix
24 lines
657 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "cobra-cli";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "spf13";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-E0I/Pxw4biOv7aGVzGlQOFXnxkc+zZaEoX1JmyMh6UE=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-vrtGPQzY+NImOGaSxV+Dvch+GNPfL9XfY4lfCHTGXwY=";
|
|
|
|
meta = with lib; {
|
|
description = "Cobra CLI tool to generate applications and commands";
|
|
homepage = "https://github.com/spf13/cobra-cli/";
|
|
changelog = "https://github.com/spf13/cobra-cli/releases/tag/${version}";
|
|
license = licenses.afl20;
|
|
maintainers = [ maintainers.ivankovnatsky ];
|
|
};
|
|
}
|