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