feat: generate readme
Signed-off-by: jolheiser <john.olheiser@gmail.com>
parent
d8f3a23bb9
commit
3f269bd356
14
README.md
14
README.md
|
@ -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`|
|
||||||
|
|
|
@ -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
|
3
justfile
3
justfile
|
@ -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}} { }'
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue