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

22 lines
545 B
Nix
Raw Normal View History

2019-04-30 16:31:21 +01:00
{ lib, bundlerApp
2016-08-31 04:26:23 +01:00
, withPostgresql ? true, postgresql
, withSqlite ? false, sqlite
}:
2019-04-30 16:31:21 +01:00
bundlerApp rec {
pname = "ledger_web";
2017-01-17 23:29:36 +00:00
gemdir = ./.;
2019-04-30 16:31:21 +01:00
exes = [ "ledger_web" ];
2016-08-31 04:26:23 +01:00
buildInputs = lib.optional withPostgresql postgresql
++ lib.optional withSqlite sqlite;
2016-08-31 04:26:23 +01:00
meta = with lib; {
description = "A web frontend to the Ledger CLI tool";
homepage = https://github.com/peterkeen/ledger-web;
license = licenses.mit;
2019-04-30 16:31:21 +01:00
maintainers = with maintainers; [ peterhoeg manveru ];
platforms = platforms.linux;
2016-08-31 04:26:23 +01:00
};
}