pru: rewrite

- remove `rec`
- remove `with lib`
This commit is contained in:
Anderson Torres 2023-07-22 14:43:12 -03:00
parent 1d56444d15
commit cbf63ff1f6

View file

@ -3,12 +3,12 @@
, bundlerUpdateScript
}:
bundlerApp rec {
bundlerApp {
pname = "pru";
gemdir = ./.;
exes = [ "pru" ];
meta = with lib; {
meta = {
homepage = "https://github.com/grosser/pru";
description = "Pipeable Ruby";
longDescription = ''
@ -16,9 +16,9 @@ bundlerApp rec {
higher-level replacement of typical text processing tools (like sed, awk,
grep etc.).
'';
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ AndersonTorres ];
};
passthru.updateScript = bundlerUpdateScript pname;
passthru.updateScript = bundlerUpdateScript "pru";
}