1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 23:24:35 +00:00
nixpkgs/pkgs/tools/text/reckon/default.nix

28 lines
547 B
Nix
Raw Normal View History

2016-08-02 15:51:24 +01:00
{ stdenv, lib, bundlerEnv, makeWrapper }:
stdenv.mkDerivation rec {
name = "reckon-${version}";
version = "0.4.4";
env = bundlerEnv {
name = "${name}-gems";
2017-01-17 23:10:47 +00:00
gemdir = ./.;
2016-08-02 15:51:24 +01:00
};
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;
platforms = platforms.unix;
};
}