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
jrnl: add version test
Anton Mosich
2 years ago
463bd286
b4bba87c
+7
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
jrnl
default.nix
+7
pkgs/applications/misc/jrnl/default.nix
···
1
{ lib
2
, fetchFromGitHub
3
, python3
0
0
4
}:
5
6
python3.pkgs.buildPythonApplication rec {
···
49
pythonImportsCheck = [
50
"jrnl"
51
];
0
0
0
0
0
52
53
meta = with lib; {
54
changelog = "https://github.com/jrnl-org/jrnl/releases/tag/v${version}";
···
1
{ lib
2
, fetchFromGitHub
3
, python3
4
+
, testers
5
+
, jrnl
6
}:
7
8
python3.pkgs.buildPythonApplication rec {
···
51
pythonImportsCheck = [
52
"jrnl"
53
];
54
+
55
+
passthru.tests.version = testers.testVersion {
56
+
package = jrnl;
57
+
version = "v${version}";
58
+
};
59
60
meta = with lib; {
61
changelog = "https://github.com/jrnl-org/jrnl/releases/tag/v${version}";