Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

jrnl: add version test

+7
+7
pkgs/applications/misc/jrnl/default.nix
··· 1 { lib 2 , fetchFromGitHub 3 , python3 4 }: 5 6 python3.pkgs.buildPythonApplication rec { ··· 49 pythonImportsCheck = [ 50 "jrnl" 51 ]; 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}";