blob: 6f571bd2a1b0c061d49ec4dd89a0a222744a3cb7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ lib, bundlerEnv, ruby
, withPostgresql ? true, postgresql
, withSqlite ? false, sqlite
}:
bundlerEnv rec {
name = "ledger-web-${version}";
version = (import ./gemset.nix).ledger_web.version;
inherit ruby;
gemdir = ./.;
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 ];
platforms = platforms.linux;
};
}
|