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