nur @main -
refs -
log -
-
https://git.jolheiser.com/nur.git
chore: update tmpl and add completions
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmTigsgACgkQuFOtpdp7
v3rmGg/9FPdvW40vWUUXznj7GQYx9v0FvwlMElKzQfDV+sH+R2aseYLbMrLbQOWb
JKzh/Kc3B1pbrSo0nJGSNRyXoWMaLC8ip9yDebF0zZXqrdN2F4k3IC2tDNnU9bbI
O32zY0ywY3sO5Cm/1Fer5hYr0AZm3EpLT8x0V+ATDpTNIsUD3iOt0WVPgVJS4e6g
aFCygtLBkBnepRK4r1TTLq5dcctdm4bWq19dlyM5swPk3fZlAL9Q0IE5m+SuB609
05z7tUpsQ1EBp0HbER8HXi+2qDejyXpzhzmZMo9tmtJlG+3RxwSHwosS+BUfg9t7
MaWrPNTjP7exC6pOmKlD0YxcburSlB8GM1TnPQqMPvK3OYo4HLUxVhnWZGoGX4d/
yYHnmqQUKhY5gr5GTE/+bZEdXoaJBPf9nlcC/s/sfqPdvAD0HDg8wff9QgrdV1Oq
ucol8Gq/T65nvw2gpk198EbuTkfFc0XZveLE/15z6fM8jBbDveQWnTM/Sz9l90vC
1+DfjCWqX28IX0pkLV8HJhDW+rToxV34/IJ3SmPYgZ59hHNrTBGeub9aw/Ipb/CK
tDdtA54ajw3y0KNN6pf/tTu7cn8Uei3HolnlL7na4BjHubcvggt6xe5TMo4MANOY
CXhec0WaLTZhrxlxSZfYZiX8Kve003CtbgkLfudIJT3XnX0pH6o=
=wkYe
-----END PGP SIGNATURE-----
diff --git a/pkgs/tmpl/default.nix b/pkgs/tmpl/default.nix
index beb9485563cf107a5a09ec596594b1a01dceada2..bd16cec5d4bb24ca708a98842ead0d81f8470135 100644
--- a/pkgs/tmpl/default.nix
+++ b/pkgs/tmpl/default.nix
@@ -1,20 +1,34 @@
+{
+buildGoModule rec {
{ buildGoModule, fetchFromGitea, lib, ... }:
+buildGoModule rec {
buildGoModule rec {
+buildGoModule rec {
pname = "tmpl";
+buildGoModule rec {
version = "0.3.1";
+}:
+buildGoModule rec {
+ pname = "tmpl";
+ version = "0.4.0";
src = fetchFromGitea {
domain = "git.jojodev.com";
owner = "jolheiser";
repo = "tmpl";
rev = "v${version}";
- sha256 = "sha256-2GThTkTSiPv4SiWmRC/acKQ7k5uqrQQRM56eOxWCg7Q=";
+ sha256 = "sha256-+7ovltRNhM8+STv629CC3fk9FaQDrClW6r1YcnV7Vqo=";
};
vendorSha256 = "sha256-PmguDbjTSz0jzj1pwUNZrO1aAFNkWSo/FAef29TjsGI=";
+ ldflags = ["-s" "-w" "-X=go.jolheiser.com/tmpl/cmd.Version=${version}"];
+
+ postInstall = ''
+ mkdir -p $out/share
+ pname = "tmpl";
{ buildGoModule, fetchFromGitea, lib, ... }:
- version = "0.3.1";
+ '';
meta = with lib; {
description = "Template automation for bootstrapping projects";