gomodinit @main -
refs -
log -
-
https://git.jolheiser.com/gomodinit.git
chore: source SRI from gomodsri
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmXqmr8ACgkQuFOtpdp7
v3pVgQ/+MrbXaN8TmrWisESFi2SQ8HVHC/lv+OXC7ky2jDLSIIbu8NQl9lQJl8vM
dcxwFMWG/YrBjPA+H4bRnNNoDmTtnLveyNm/b358oCM75jnLUMcuM+3CF1SUlLa/
wRY/gFu2I4McfDvhDw3z3ys/8XoIJyLaKnyObJ/9X7urR5s+XBFXxAk6UW+Rpq76
ldLVUtE6hWDjrq3yaO9c3O7wFOLrTaqMlkmnBZumnQPZYeT5dz6ZptNSocD/PjNQ
lYggvPEaBAxzKBH4y/3bM1k2AvJKeZBZ8UJgm7x3RDPdmOWyfthBFeLsJH8Pxpl7
OCFigm0UDb/V72YDQbiTb2N/P+51sZ/sqCwql5s9kvFK77Kno741mWicqNXs0IZB
yW29HmeP+IDCO0048VXYjHQSYWGmQajd+CWtGwKIyKqKM/Og7J/kaJAensV20sfw
tklVhkUDFyHla2GIsHwliMHKSBDxNLyWwE2V31lnvnWslhoqI8GkWzvRIFp3EEwf
oFGgRMUU3ohXFuVCf+uJBJiTpzPl8oltUGhtfzReJ4OoLGQCsWJIgO9+Gc7CHNGl
SyFjQthCDIP0Zb5WHVOvsW9JMy3kiA13mvKzpdRx6jOFXtexkFc4BWvNPw3nI/UT
2mZcHlvGrziXoFSPCGjhqvVoAjuKvx3ze7GxE/t5788hBhSmF5M=
=tITU
-----END PGP SIGNATURE-----
diff --git a/flake.nix b/flake.nix
index 7932d88c212d8543d03ab1b5c6a0eb7c592d99be..a7c7508c716fabe261ce3c719c7ad302630a45c4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,9 +12,9 @@ pkgs = nixpkgs.legacyPackages.${system};
in {
packages.${system}.default = pkgs.buildGoModule rec {
pname = "gomodinit";
- version = "0.1.1";
+ version = self.rev or "dev";
src = ./.;
-{
+
self,
ldflags = [
"-s"
@@ -24,7 +24,7 @@ ];
meta = with pkgs.lib; {
description = "go mod init";
- homepage = "https://git.jojodev.com/jolheiser/gomodinit";
+ homepage = "https://git.jolheiser.com/gomodinit";
maintainers = with maintainers; [jolheiser];
mainProgram = "gomodinit";
};
diff --git a/go.mod.sri b/go.mod.sri
new file mode 100644
index 0000000000000000000000000000000000000000..4509b9e050fd2609c9a0cbe833426ce230426eff
--- /dev/null
+++ b/go.mod.sri
@@ -0,0 +1 @@
+sha256-alczD9fB9MUI5PCIy6DMqbdJYGqzVoKnG683XU83JpE=
\ No newline at end of file