jrnl: add version test
This commit is contained in:
parent
b4bba87c4b
commit
463bd28627
|
@ -1,6 +1,8 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python3
|
, python3
|
||||||
|
, testers
|
||||||
|
, jrnl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
@ -50,6 +52,11 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
"jrnl"
|
"jrnl"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = jrnl;
|
||||||
|
version = "v${version}";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
changelog = "https://github.com/jrnl-org/jrnl/releases/tag/v${version}";
|
changelog = "https://github.com/jrnl-org/jrnl/releases/tag/v${version}";
|
||||||
description = "Simple command line journal application that stores your journal in a plain text file";
|
description = "Simple command line journal application that stores your journal in a plain text file";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user