1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/applications/office/ledger-web/default.nix
2019-04-30 17:58:57 +02:00

22 lines
545 B
Nix

{ lib, bundlerApp
, withPostgresql ? true, postgresql
, withSqlite ? false, sqlite
}:
bundlerApp rec {
pname = "ledger_web";
gemdir = ./.;
exes = [ "ledger_web" ];
buildInputs = lib.optional withPostgresql postgresql
++ lib.optional withSqlite sqlite;
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 ];
platforms = platforms.linux;
};
}