1 { stdenv, lib, bundlerEnv, bundlerUpdateScript, makeWrapper, file }:
3 stdenv.mkDerivation rec {
5 version = (import ./gemset.nix).reckon.version;
9 nativeBuildInputs = [ makeWrapper ];
13 name = "${pname}-${version}-gems";
20 makeWrapper ${env}/bin/reckon $out/bin/reckon \
21 --prefix PATH : ${lib.makeBinPath [ file ]}
25 passthru.updateScript = bundlerUpdateScript "reckon";
28 description = "Flexibly import bank account CSV files into Ledger for command line accounting";
29 mainProgram = "reckon";
30 license = licenses.mit;
31 maintainers = with maintainers; [ nicknovitski ];
32 platforms = platforms.unix;
33 changelog = "https://github.com/cantino/reckon/blob/v${version}/CHANGELOG.md";