mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
24 lines
621 B
Nix
24 lines
621 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "gotemplate";
|
|
version = "3.7.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "coveooss";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-BMZyq7fa57WaE0cSkGjHWxtEnbC7vEy+kLaHDoI/KZU=";
|
|
};
|
|
|
|
vendorHash = "sha256-uRB3atrJ+A1/xXvgmkyM/AKN+9VKSIDvsnPIdtsc3vc=";
|
|
|
|
meta = with lib; {
|
|
description = "CLI for go text/template";
|
|
mainProgram = "gotemplate";
|
|
changelog = "https://github.com/coveooss/gotemplate/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ giorgiga ];
|
|
};
|
|
}
|