forked from mirrors/nixpkgs
cobra-cli: init at 1.3.0
This commit is contained in:
parent
9e8ea1b855
commit
db17a5273a
23
pkgs/development/tools/cobra-cli/default.nix
Normal file
23
pkgs/development/tools/cobra-cli/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -15815,6 +15815,8 @@ with pkgs;
|
|||
|
||||
cmake-format = python3Packages.callPackage ../development/tools/cmake-format { };
|
||||
|
||||
cobra-cli = callPackage ../development/tools/cobra-cli { };
|
||||
|
||||
cmake-language-server = python3Packages.callPackage ../development/tools/misc/cmake-language-server {
|
||||
inherit cmake cmake-format;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue