diff --git a/pkgs/tools/text/reckon/Gemfile.lock b/pkgs/tools/text/reckon/Gemfile.lock index 7409a4bae84f..4242ab5536c8 100644 --- a/pkgs/tools/text/reckon/Gemfile.lock +++ b/pkgs/tools/text/reckon/Gemfile.lock @@ -1,15 +1,19 @@ GEM remote: https://rubygems.org/ specs: + abbrev (0.1.2) chronic (0.10.2) + csv (3.3.5) highline (2.1.0) matrix (0.4.2) rchardet (1.8.0) - reckon (0.9.2) + reckon (0.11.1) + abbrev (> 0.1) chronic (>= 0.3.0) - highline (>= 1.5.2) + csv (> 0.1) + highline (~> 2.0) matrix (>= 0.4.2) - rchardet (>= 1.8.0) + rchardet (= 1.8.0) PLATFORMS ruby @@ -18,4 +22,4 @@ DEPENDENCIES reckon BUNDLED WITH - 2.4.13 + 2.6.6 diff --git a/pkgs/tools/text/reckon/default.nix b/pkgs/tools/text/reckon/default.nix index 7efdfe91cf64..a1dc52c8fe8a 100644 --- a/pkgs/tools/text/reckon/default.nix +++ b/pkgs/tools/text/reckon/default.nix @@ -5,6 +5,8 @@ bundlerUpdateScript, makeWrapper, file, + testers, + reckon, }: stdenv.mkDerivation rec { @@ -31,7 +33,13 @@ stdenv.mkDerivation rec { runHook postInstall ''; - passthru.updateScript = bundlerUpdateScript "reckon"; + passthru = { + tests.version = testers.testVersion { + package = reckon; + version = "${version}"; + }; + updateScript = bundlerUpdateScript "reckon"; + }; meta = with lib; { description = "Flexibly import bank account CSV files into Ledger for command line accounting"; diff --git a/pkgs/tools/text/reckon/gemset.nix b/pkgs/tools/text/reckon/gemset.nix index d8903b9adf4e..1aae5dd9be0e 100644 --- a/pkgs/tools/text/reckon/gemset.nix +++ b/pkgs/tools/text/reckon/gemset.nix @@ -1,4 +1,14 @@ { + abbrev = { + groups = [ "default" ]; + platforms = [ ]; + source = { + remotes = [ "https://rubygems.org" ]; + sha256 = "0hj2qyx7rzpc7awhvqlm597x7qdxwi4kkml4aqnp5jylmsm4w6xd"; + type = "gem"; + }; + version = "0.1.2"; + }; chronic = { groups = [ "default" ]; platforms = [ ]; @@ -9,6 +19,16 @@ }; version = "0.10.2"; }; + csv = { + groups = [ "default" ]; + platforms = [ ]; + source = { + remotes = [ "https://rubygems.org" ]; + sha256 = "0gz7r2kazwwwyrwi95hbnhy54kwkfac5swh2gy5p5vw36fn38lbf"; + type = "gem"; + }; + version = "3.3.5"; + }; highline = { groups = [ "default" ]; platforms = [ ]; @@ -41,7 +61,9 @@ }; reckon = { dependencies = [ + "abbrev" "chronic" + "csv" "highline" "matrix" "rchardet" @@ -50,9 +72,9 @@ platforms = [ ]; source = { remotes = [ "https://rubygems.org" ]; - sha256 = "0188k41lvz5vnn03qw1hbi6c2i88n5p3183rb0xz9rfjcngh2ly3"; + sha256 = "1y4iqjmgzj9nrp22pmayia54mpb4d6ga85q9xzqir7mhcd2bdca1"; type = "gem"; }; - version = "0.9.2"; + version = "0.11.1"; }; }