My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/tools/renderizer/default.nix

26 lines
622 B

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "renderizer";
version = "2.0.13";
src = fetchFromGitHub {
owner = "gomatic";
repo = pname;
rev = "v${version}";
sha256 = "sha256-jl98LuEsGN40L9IfybJhLnbzoYP/XpwFVQnjrlmDL9A=";
};
ldflags = [
"-s" "-w" "-X main.version=${version}" "-X main.commitHash=${src.rev}" "-X main.date=19700101T000000"
];
vendorSha256 = null;
meta = with lib; {
description = "CLI to render Go template text files";
inherit (src.meta) homepage;
license = licenses.gpl3;
maintainers = with maintainers; [ yurrriq ];
};
}