1
0
Fork 0

feat: generate readme

Signed-off-by: jolheiser <john.olheiser@gmail.com>
jolheiser 2023-08-22 20:41:24 -05:00
parent d8f3a23bb9
commit 3f269bd356
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
4 changed files with 25 additions and 5 deletions

View File

@ -1,7 +1,11 @@
# jolheiser NUR # jolheiser NUR
## Packages |Package|Version|
|-------|-------|
- [tmpl](https://git.jojodev.com/jolheiser/tmpl) |[tclip](https://github.com/tailscale-dev/tclip)|`2c99626eb040cb9a54cdf4015c5d2bfd0a7be038`|
- [prospect-mail](https://github.com/jolheiser/prospect-mail) |[prospect-mail](https://github.com/julian-alarcon/prospect-mail)|`0.5.2`|
- [imp](https://git.jojodev.com/jolheiser/imp) |[kv](https://git.jojodev.com/jolheiser/kv)|`0.0.4`|
|[git-age](https://git.jojodev.com/jolheiser/git-age)|`0.0.1`|
|[tmpl](https://git.jojodev.com/jolheiser/tmpl)|`0.4.0`|
|[gomodinit](https://git.jojodev.com/jolheiser/gomodinit)|`0.1.1`|
|[imp](https://git.jojodev.com/jolheiser/imp)|`0.0.8`|

7
README.nu 100644
View File

@ -0,0 +1,7 @@
let pkgs = glob pkgs/* | each { |it| open --raw $"($it)/default.nix" | parse --regex '(?s)pname = "(?P<name>[^"]+)".+version = "(?P<version>[^"]+)".+homepage = "(?P<homepage>[^"]+)"' }
$'# jolheiser NUR
|Package|Version|
|-------|-------|
($pkgs | each { |it| $"|[($it.name.0)]\(($it.homepage.0)\)|`($it.version.0)`|" } | str join "\n" )
' | save --force README.md

View File

@ -2,6 +2,9 @@
default: default:
@just --list @just --list
readme:
@nu README.nu
build package: build package:
@nix-build -E 'with import <nixpkgs> { }; callPackage ./pkgs/{{package}} { }' @nix-build -E 'with import <nixpkgs> { }; callPackage ./pkgs/{{package}} { }'

View File

@ -102,4 +102,10 @@ stdenv.mkDerivation rec {
categories = ["Network" "Email"]; categories = ["Network" "Email"];
}) })
]; ];
meta = with lib; {
description = "Prospect mail, Outlook client for linux";
homepage = "https://github.com/julian-alarcon/prospect-mail";
license = licenses.mit;
};
} }