nixpkgs/pkgs/development/tools/gotemplate/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
589 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gotemplate";
2023-08-22 18:35:20 +02:00
version = "3.7.5";
src = fetchFromGitHub {
owner = "coveooss";
repo = pname;
rev = "refs/tags/v${version}";
2023-08-22 18:35:20 +02:00
hash = "sha256-BMZyq7fa57WaE0cSkGjHWxtEnbC7vEy+kLaHDoI/KZU=";
};
2023-08-20 15:23:42 +02:00
vendorHash = "sha256-uRB3atrJ+A1/xXvgmkyM/AKN+9VKSIDvsnPIdtsc3vc=";
meta = with lib; {
description = "CLI for go text/template";
changelog = "https://github.com/coveooss/gotemplate/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ giorgiga ];
};
}