Unverified Commit 463bd286 authored by Anton Mosich's avatar Anton Mosich
Browse files

jrnl: add version test

parent b4bba87c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
{ 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";