1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00
nixpkgs/pkgs/tools/text/reckon/default.nix
2016-11-20 18:06:03 +01:00

31 lines
660 B
Nix

{ stdenv, lib, bundlerEnv, makeWrapper }:
stdenv.mkDerivation rec {
name = "reckon-${version}";
version = "0.4.4";
env = bundlerEnv {
name = "${name}-gems";
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
};
phases = [ "installPhase" ];
buildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
makeWrapper ${env}/bin/reckon $out/bin/reckon
'';
meta = with lib; {
description = "Flexibly import bank account CSV files into Ledger for command line accounting";
license = licenses.mit;
maintainers = [ "mckean.kylej@gmail.com" ];
platforms = platforms.unix;
};
}