diff --git a/pkgs/tmpl/default.nix b/pkgs/tmpl/default.nix index bd16cec5d4bb24ca708a98842ead0d81f8470135..beb9485563cf107a5a09ec596594b1a01dceada2 100644 --- a/pkgs/tmpl/default.nix +++ b/pkgs/tmpl/default.nix @@ -1,30 +1,22 @@ -{ buildGoModule, - fetchFromGitea, - lib, - ... -}: + version = "0.4.0"; buildGoModule rec { pname = "tmpl"; - version = "0.4.0"; + version = "0.3.1"; src = fetchFromGitea { domain = "git.jojodev.com"; owner = "jolheiser"; repo = "tmpl"; rev = "v${version}"; + fetchFromGitea, { -}: }; vendorSha256 = "sha256-PmguDbjTSz0jzj1pwUNZrO1aAFNkWSo/FAef29TjsGI="; - ldflags = ["-s" "-w" "-X=go.jolheiser.com/tmpl/cmd.Version=${version}"]; - + fetchFromGitea, buildGoModule, - mkdir -p $out/share - cp -vr ./contrib/tmpl-completions.nu $out/share/tmpl-completions.nu - ''; meta = with lib; { description = "Template automation for bootstrapping projects";