Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

reckon: Add passthru.tests.version

+9 -1
+9 -1
pkgs/tools/text/reckon/default.nix
··· 5 5 bundlerUpdateScript, 6 6 makeWrapper, 7 7 file, 8 + testers, 9 + reckon, 8 10 }: 9 11 10 12 stdenv.mkDerivation rec { ··· 31 33 runHook postInstall 32 34 ''; 33 35 34 - passthru.updateScript = bundlerUpdateScript "reckon"; 36 + passthru = { 37 + tests.version = testers.testVersion { 38 + package = reckon; 39 + version = "${version}"; 40 + }; 41 + updateScript = bundlerUpdateScript "reckon"; 42 + }; 35 43 36 44 meta = with lib; { 37 45 description = "Flexibly import bank account CSV files into Ledger for command line accounting";