jrnl: add version test

This commit is contained in:
Anton Mosich 2023-11-05 11:52:47 +01:00
parent b4bba87c4b
commit 463bd28627
No known key found for this signature in database
GPG Key ID: 28F77AAFFAF5BAF6

View File

@ -1,6 +1,8 @@
{ lib
, fetchFromGitHub
, python3
, testers
, jrnl
}:
python3.pkgs.buildPythonApplication rec {
@ -50,6 +52,11 @@ python3.pkgs.buildPythonApplication rec {
"jrnl"
];
passthru.tests.version = testers.testVersion {
package = jrnl;
version = "v${version}";
};
meta = with lib; {
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";