reckon: init at 0.4.4
This commit is contained in:
parent
c8755d26b5
commit
de7a265117
2
pkgs/tools/text/reckon/Gemfile
Normal file
2
pkgs/tools/text/reckon/Gemfile
Normal file
@ -0,0 +1,2 @@
|
||||
source 'https://rubygems.org'
|
||||
gem 'reckon'
|
21
pkgs/tools/text/reckon/Gemfile.lock
Normal file
21
pkgs/tools/text/reckon/Gemfile.lock
Normal file
@ -0,0 +1,21 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
chronic (0.10.2)
|
||||
fastercsv (1.5.5)
|
||||
highline (1.7.8)
|
||||
reckon (0.4.4)
|
||||
chronic (>= 0.3.0)
|
||||
fastercsv (>= 1.5.1)
|
||||
highline (>= 1.5.2)
|
||||
terminal-table (>= 1.4.2)
|
||||
terminal-table (1.6.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
reckon
|
||||
|
||||
BUNDLED WITH
|
||||
1.12.5
|
30
pkgs/tools/text/reckon/default.nix
Normal file
30
pkgs/tools/text/reckon/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
42
pkgs/tools/text/reckon/gemset.nix
Normal file
42
pkgs/tools/text/reckon/gemset.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
chronic = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1hrdkn4g8x7dlzxwb1rfgr8kw3bp4ywg5l4y4i9c2g5cwv62yvvn";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.10.2";
|
||||
};
|
||||
fastercsv = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1df3vfgw5wg0s405z0pj0rfcvnl9q6wak7ka8gn0xqg4cag1k66h";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.5.5";
|
||||
};
|
||||
highline = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1nf5lgdn6ni2lpfdn4gk3gi47fmnca2bdirabbjbz1fk9w4p8lkr";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.7.8";
|
||||
};
|
||||
reckon = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1p6w8w7vpl8fq4yfggrxbv6ph76psg7l5b4q29a8zvfbzzx6a0xw";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.4.4";
|
||||
};
|
||||
terminal-table = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0hbmzfr17ji5ws5x5z3kypmb5irwwss7q7kkad0gs005ibqrxv0a";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.6.0";
|
||||
};
|
||||
}
|
@ -3311,6 +3311,8 @@ in
|
||||
|
||||
replace = callPackage ../tools/text/replace { };
|
||||
|
||||
reckon = callPackage ../tools/text/reckon { };
|
||||
|
||||
reposurgeon = callPackage ../applications/version-management/reposurgeon { };
|
||||
|
||||
reptyr = callPackage ../os-specific/linux/reptyr {};
|
||||
|
Loading…
Reference in New Issue
Block a user