tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
reckon: Add passthru.tests.version
Damien Cassou
8 months ago
15d2bf6c
9e5b34e8
+9
-1
1 changed file
expand all
collapse all
unified
split
pkgs
tools
text
reckon
default.nix
+9
-1
pkgs/tools/text/reckon/default.nix
···
5
bundlerUpdateScript,
6
makeWrapper,
7
file,
0
0
8
}:
9
10
stdenv.mkDerivation rec {
···
31
runHook postInstall
32
'';
33
34
-
passthru.updateScript = bundlerUpdateScript "reckon";
0
0
0
0
0
0
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";