1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 17:25:11 +00:00
nixpkgs/pkgs/applications/office/ledger-web/default.nix
2017-01-18 00:52:53 +01:00

24 lines
597 B
Nix

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