nixpkgs/pkgs/applications/office/ledger-web/default.nix

24 lines
636 B
Nix
Raw Normal View History

{ lib, bundlerApp, bundlerUpdateScript
2016-08-31 03:26:23 +00:00
, withPostgresql ? true, postgresql
, withSqlite ? false, sqlite
}:
2019-08-13 21:52:01 +00:00
bundlerApp {
2019-04-30 15:31:21 +00:00
pname = "ledger_web";
2017-01-17 23:29:36 +00:00
gemdir = ./.;
2019-04-30 15:31:21 +00:00
exes = [ "ledger_web" ];
2016-08-31 03:26:23 +00:00
buildInputs = lib.optional withPostgresql postgresql
++ lib.optional withSqlite sqlite;
2016-08-31 03:26:23 +00:00
passthru.updateScript = bundlerUpdateScript "ledger-web";
meta = with lib; {
description = "A 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;
2016-08-31 03:26:23 +00:00
};
}