mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
755b915a15
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/'
25 lines
668 B
Nix
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";
|
|
};
|
|
}
|