nur @main -
refs -
log -
-
https://git.jolheiser.com/nur.git
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmS0gzEACgkQuFOtpdp7
v3ourRAAv9TstUQk0JZT4snc21HrR463vejIfFnKdyHPgRf53anG11d2QzWVKPtn
XFU4ivHc9WHAc7NiiWxt9MdTyRp9aT3u+yPtsvV711Up4j3MnQfPUd2r7Q26WQoU
Sy47BTkiUalNrVflD198gvlybhxMh55ePC1AA3/EKEVv3X951iE6fSo2iI+mmpjc
0f5Q1ZAG50JECIIztH8wD5NdBJFwB8PZEOWvm6NyvkS4hk0u1fN21FsDLOUQZyly
N7kP5YlJpPeAU7VZxmMU4SgONzUFfDW6Fx4QcumkGVcCaTVqFZVddMnF3mmC8Amf
PBEOJ9hvOkNhoJToHDqeo/OcRhUUF4yBSGIsEOyudmSnD2usckxK/GZ/1qb6uwbz
bKF6AMcBkHEAmYU7+GApP6qxLKJn9bRxwi6e08KyiiY40QvYOfi4HzYjQ+Bo8bqk
oFIHr/I4g1TB7iYPVh22YGwOfgUDhNAYaaqiFL1K7NJY5b+sdHpLOpJ1n03oANL8
1hQGjz7TplRqPkAUZ4E7b4Z59Mh4+kmH49plIPmYS6fKyr2iJr0KjHtlIlV0cF2A
t74bim4v7uJVbcFc7tXtHI7EP8Xb/1YDKf0DV2pOyvigusH+/zVE1ZbwaB0IRQsM
XYxiTwjh0l//qhWptyX8KL0HE2iY4y7ZIFsFWuN+Bxv+06t+BbM=
=nHcO
-----END PGP SIGNATURE-----
diff --git a/default.nix b/default.nix
index 2d03df03bcbd697426c7ea57f28b9b70aba54ab6..0414aab2e31a786d113bfcf68c15a87f2635704a 100644
--- a/default.nix
+++ b/default.nix
@@ -14,6 +14,8 @@
# Personal projects
tmpl = pkgs.callPackage ./pkgs/tmpl {};
# This file describes your repository contents.
+ # The `lib`, `modules`, and `overlay` names are special
+# This file describes your repository contents.
# and optionally the special attributes `lib`, `modules` and `overlays`.
# Other projects
prospect-mail = pkgs.callPackage ./pkgs/prospect-mail {};
diff --git a/pkgs/imp/default.nix b/pkgs/imp/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..32063da0e0df1457591bed42390644da996ba899
--- /dev/null
+++ b/pkgs/imp/default.nix
@@ -0,0 +1,28 @@
+{
+ buildGoModule,
+ fetchFromGitea,
+ lib,
+ ...
+}:
+buildGoModule rec {
+ pname = "imp";
+ version = "0.0.4";
+
+ src = fetchFromGitea {
+ domain = "git.jojodev.com";
+ owner = "jolheiser";
+ repo = "imp";
+ rev = "v${version}";
+ sha256 = "sha256-20xDL0M/ZMV9dX4zBxR9vPawub4zONnuXwC8Hxml9ow=";
+ };
+
+ vendorSha256 = "sha256-1az96BTJrkj6tigca5YNwEB9fX+BZX2A+aBttOQfo9g=";
+
+ ldflags = ["-s" "-w" "-X=main.Version=${version}"];
+
+ meta = with lib; {
+ description = "Opinionated import formatter";
+ homepage = "https://git.jojodev.com/jolheiser/imp";
+ license = licenses.mit;
+ };
+}