Home

nur @main - refs - log -
-
https://git.jolheiser.com/nur.git
My NUR
tree log patch
feat: generate readme Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmTlbp0ACgkQuFOtpdp7 v3qijBAAxI0FjEKWD5Szt255mhsDrcbjKqGASrhV1H2rK4lyXKvOmzLyIWigNkNf nmSAct/yUxYIXRwuGs3mdxAjTCrcJt4h65FBp9bOpDTLkHZx5lps+H7lVKKx6SDL RzFAxBC0mnpxYjy6n/75pqqBHRGlHjKfom8RuCqflBh8RoWmuQlkRmGS2XJ3OXMW sj2H99j2UxdcAG7BT099bnmX0X/RgU284FSYjEhn1bYEXOoQYs/ewyzMj9OgCzxf 3bH6vA0lB/+t9Ce89eim87LyDt5pe92ZO1M6jYUQGztEvTRVuB3Cf6somloT8DSF xAnsn8i3ivvX+Hh/w5EIxwScaUQmZACe5UAAgIcFDrKGR7ucr5J8Q6tdAsbZ/Jid luiLfrcjdV+8ND/t3P0rQcNoKpuNMu0srW2IY9cPsPk2kyldHN7oU/C+bxN/GZf7 +Zr3SeCOzPg40Xr+ugQHUD1qc5N5F/EUO5ZWQeo2At080Y5Yku14ETkSZKQ0oxF7 w+Z0fwSSViddGDkAShVunTX1BYmFnAjzfRVL30ug2yUsHqWUP8E3C2OafgHBILqG FSrHqz5BSmuJXGAsIYLAH7Pr12XN6yazoeAG+eLcKRguGF/IrzBTzcP/ojJFptoH dpWzdi+/j/d7f2ht90y4J3BYjFJCEViRCJtBLXm1NDtydhHVBB0= =vkd+ -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
1 year ago
4 changed files, 31 additions(+), 2 deletions(-)
M README.md -> README.md
diff --git a/README.md b/README.md
index 8ff3eb3d648e76865f43d4802a65c37e2cbebbed..fd44f86beb731a00be5b9fe8980c117b1989c337 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,14 @@
 # jolheiser NUR
 
-## Packages
+|Package|Version|
+|-------|-------|
+|[git-age](https://git.jojodev.com/jolheiser/git-age)|`0.0.1`|
+|[gomodinit](https://git.jojodev.com/jolheiser/gomodinit)|`0.1.1`|
+|[imp](https://git.jojodev.com/jolheiser/imp)|`0.0.8`|
+# jolheiser NUR
 
+|[prospect-mail](https://github.com/julian-alarcon/prospect-mail)|`0.5.2`|
+# jolheiser NUR
 - [tmpl](https://git.jojodev.com/jolheiser/tmpl)
+# jolheiser NUR
 - [prospect-mail](https://github.com/jolheiser/prospect-mail)
-- [imp](https://git.jojodev.com/jolheiser/imp)
\ No newline at end of file
I README.nu
diff --git a/README.nu b/README.nu
new file mode 100644
index 0000000000000000000000000000000000000000..4288f365b337a7e87f94f10b41e80cdca170449e
--- /dev/null
+++ b/README.nu
@@ -0,0 +1,13 @@
+let re = '(?s)pname = "(?P<name>[^"]+)".+version = "(?P<version>[^"]+)".+homepage = "(?P<homepage>[^"]+)"'
+let pkgs = glob pkgs/*
+          | each { |it| open --raw $"($it)/default.nix" | parse --regex $re }
+          | each { |it| { name: $it.name.0, homepage: $it.homepage.0, version: $it.version.0 } }
+          | sort-by name
+ 
+ # Output
+ $'# jolheiser NUR
+
+|Package|Version|
+|-------|-------|
+($pkgs | each { |it| $"|[($it.name)]\(($it.homepage)\)|`($it.version)`|" } | str join "\n" )
+'
M justfile -> justfile
diff --git a/justfile b/justfile
index 315cccb60419ee38ceb96456be514aea3b3c2c8a..f24e4918a431e8c7cffa5cb828c0fc962a663d9c 100644
--- a/justfile
+++ b/justfile
@@ -2,6 +2,9 @@ [private]
 default:
 	@just --list
 
+readme:
+	@nu -c 'nu README.nu | save --force README.md'
+
 build package:
 	@nix-build -E 'with import <nixpkgs> { }; callPackage ./pkgs/{{package}} { }'
 
M pkgs/prospect-mail/default.nix -> pkgs/prospect-mail/default.nix
diff --git a/pkgs/prospect-mail/default.nix b/pkgs/prospect-mail/default.nix
index c2f4140d494f75fcc116beb83deebfcd3ac1797c..657188f6e8f4f5c59ab69478f86f2de0d506cace 100644
--- a/pkgs/prospect-mail/default.nix
+++ b/pkgs/prospect-mail/default.nix
@@ -102,4 +102,10 @@       comment = "Outlook wrapper client for Linux";
       categories = ["Network" "Email"];
     })
   ];
+
+  meta = with lib; {
+    description = "Prospect mail, Outlook client for linux";
+    homepage = "https://github.com/julian-alarcon/prospect-mail";
+    license = licenses.mit;
+  };
 }