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

24 lines
597 B
Nix
Raw Normal View History

{ lib, bundlerEnv, ruby
2016-08-31 05:26:23 +02:00
, withPostgresql ? true, postgresql
, withSqlite ? false, sqlite
}:
bundlerEnv rec {
name = "ledger-web-${version}";
2016-08-31 05:26:23 +02:00
2017-01-18 00:29:36 +01:00
version = (import ./gemset.nix).ledger_web.version;
inherit ruby;
2017-01-18 00:29:36 +01:00
gemdir = ./.;
2016-08-31 05:26:23 +02:00
buildInputs = lib.optional withPostgresql postgresql
++ lib.optional withSqlite sqlite;
2016-08-31 05:26:23 +02:00
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;
2016-08-31 05:26:23 +02:00
};
}