nixpkgs-suyu/pkgs/applications/office/ledger-web/default.nix
2019-04-30 17:58:57 +02:00

21 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;
};
}