cobra-cli: init at 1.3.0

This commit is contained in:
Ivan Kovnatsky 2022-08-16 21:38:20 +03:00
parent 9e8ea1b855
commit db17a5273a
No known key found for this signature in database
GPG Key ID: 3A33FA4C82ED674F
2 changed files with 25 additions and 0 deletions

View 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 ];
};
}

View File

@ -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;
};