reckon: Add passthru.tests.version

This commit is contained in:
Damien Cassou
2025-06-16 09:49:04 +02:00
parent 9e5b34e810
commit 15d2bf6cf6
+9 -1
View File
@@ -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";