nixpkgs/pkgs/applications/office/ledger-web/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

25 lines
668 B
Nix

{ lib, bundlerApp, bundlerUpdateScript
, withPostgresql ? true, postgresql
, withSqlite ? false, sqlite
}:
bundlerApp {
pname = "ledger_web";
gemdir = ./.;
exes = [ "ledger_web" ];
buildInputs = lib.optional withPostgresql postgresql
++ lib.optional withSqlite sqlite;
passthru.updateScript = bundlerUpdateScript "ledger-web";
meta = with lib; {
description = "Web frontend to the Ledger CLI tool";
homepage = "https://github.com/peterkeen/ledger-web";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg manveru nicknovitski ];
platforms = platforms.linux;
mainProgram = "ledger_web";
};
}