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