Home

nur @main - refs - log -
-
https://git.jolheiser.com/nur.git
My NUR
tree log patch
feat: gomodinit Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmTIEckACgkQuFOtpdp7 v3r9Jw//SSJMcMwDjFKF6v8x+beSmjrvtNGR0xIaKgWuDZ8j6MFksKarn0uaD+BE BNAszSo3+CxG+bxvNSwfztl/tfE5dI4QYt4mMgkRKpPfIHrrxEzuqHiOXMpJw6P5 gvgpq0cwF26vKAFfjlxniFGPqGWw2EI0FhtFtRv1n7PcquCZKVn8sH0tta/smQF6 XCI36w47MwdMD4tRfJRfCCohR2Jw5VEas13hbrdpU+7j7kpGNr+luRB6jKRiDzqc psEBxtfAffNe6I1b7sujRzKSzgmK6cZjwFcQ1o81iDQJh9dnVu21xT8GEiDw3meg kcboqzC0ya70ja5K25nfMmWKsu3D8OCVDq/UrG6xDhwFBljMlJkL6q0H+0O50qFG qUCFoIqLxIFC9iRwDoTUtWMme6P/S6aAJj1/1wIFTMg90u3NSz0bZJJR0e/uET23 KMzU/jEL9JITEjT4pCku4hHwyQHGwP8gMRq0kOJOIysqi86bceio4ewXRLLx/MD+ RTXxQNzdTFP66Weef6IeGLzIbSMBo1TRFt2W5tPcUDBsBVuNLwdEaxSVUsxnrONi gtYZ0FIgLuKUNOesYBVxZvEbzIp3zNLHLObDexCaYExqsixdc7wU71tSLLHHAH+U 527/75cmAGw2AQ7M8Zdfxz5CTLhebr3qOUHRErKqO+dLOhdOGME= =8TWG -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
1 year ago
1 changed files, 24 additions(+), 0 deletions(-)
I pkgs/gomodinit/default.nix
diff --git a/pkgs/gomodinit/default.nix b/pkgs/gomodinit/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..5e1307258f5a19a83f25cdb7126249bc53406c50
--- /dev/null
+++ b/pkgs/gomodinit/default.nix
@@ -0,0 +1,24 @@
+{ buildGoModule, fetchFromGitea, lib, ... }:
+buildGoModule rec {
+  pname = "gomodinit";
+  version = "0.1.1";
+
+  src = fetchFromGitea {
+    domain = "git.jojodev.com";
+    owner = "jolheiser";
+    repo = "gomodinit";
+    rev = "v${version}";
+    sha256 = "sha256-+9HrNqJwOcU0IYEFUHA6ShLATh6qFG/V9wIpcX8E6Cg=";
+  };
+
+  vendorSha256 = "sha256-7RMTRFHYgzQD7K5JDdjV7ABg6BpCZbQXS9gSRlm27X8=";
+
+  ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
+
+  meta = with lib; {
+    description = "go mod init";
+    homepage = "https://git.jojodev.com/jolheiser/gomodinit";
+    license = licenses.mit;
+  };
+}
+