parent
d8f3a23bb9
commit
5f54233f5d
14
README.md
14
README.md
|
@ -1,7 +1,11 @@
|
||||||
# jolheiser NUR
|
# jolheiser NUR
|
||||||
|
|
||||||
## Packages
|
|Package|Version|
|
||||||
|
|-------|-------|
|
||||||
- [tmpl](https://git.jojodev.com/jolheiser/tmpl)
|
|[git-age](https://git.jojodev.com/jolheiser/git-age)|`0.0.1`|
|
||||||
- [prospect-mail](https://github.com/jolheiser/prospect-mail)
|
|[gomodinit](https://git.jojodev.com/jolheiser/gomodinit)|`0.1.1`|
|
||||||
- [imp](https://git.jojodev.com/jolheiser/imp)
|
|[imp](https://git.jojodev.com/jolheiser/imp)|`0.0.8`|
|
||||||
|
|[kv](https://git.jojodev.com/jolheiser/kv)|`0.0.4`|
|
||||||
|
|[prospect-mail](https://github.com/julian-alarcon/prospect-mail)|`0.5.2`|
|
||||||
|
|[tclip](https://github.com/tailscale-dev/tclip)|`2c99626eb040cb9a54cdf4015c5d2bfd0a7be038`|
|
||||||
|
|[tmpl](https://git.jojodev.com/jolheiser/tmpl)|`0.4.0`|
|
||||||
|
|
|
@ -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" )
|
||||||
|
'
|
3
justfile
3
justfile
|
@ -2,6 +2,9 @@
|
||||||
default:
|
default:
|
||||||
@just --list
|
@just --list
|
||||||
|
|
||||||
|
readme:
|
||||||
|
@nu -c 'nu README.nu | save --force README.md'
|
||||||
|
|
||||||
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