1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "cobra-cli";
5 version = "1.3.0";
6
7 src = fetchFromGitHub {
8 owner = "spf13";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-E0I/Pxw4biOv7aGVzGlQOFXnxkc+zZaEoX1JmyMh6UE=";
12 };
13
14 vendorSha256 = "sha256-vrtGPQzY+NImOGaSxV+Dvch+GNPfL9XfY4lfCHTGXwY=";
15
16 meta = with lib; {
17 description = "Cobra CLI tool to generate applications and commands";
18 homepage = "https://github.com/spf13/cobra-cli/";
19 changelog = "https://github.com/spf13/cobra-cli/releases/tag/${version}";
20 license = licenses.afl20;
21 maintainers = [ maintainers.ivankovnatsky ];
22 };
23}