diff --git a/pkgs/development/tools/cobra-cli/default.nix b/pkgs/development/tools/cobra-cli/default.nix new file mode 100644 index 000000000000..989c2f161f6d --- /dev/null +++ b/pkgs/development/tools/cobra-cli/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eda2b3fd9ff8..350ccfaf020c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; };