mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
24 lines
597 B
Nix
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;
|
|
};
|
|
}
|