Merge pull request #265636 from antonmosich/jrnl-update

jrnl: 4.0.1 -> 4.1

authored by Weijia Wang and committed by GitHub c52cf532 3aebcd28

+9 -3
+9 -3
pkgs/applications/misc/jrnl/default.nix
··· 1 { lib 2 , fetchFromGitHub 3 , python3 4 }: 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "jrnl"; 8 - version = "4.0.1"; 9 format = "pyproject"; 10 11 src = fetchFromGitHub { 12 owner = "jrnl-org"; 13 repo = pname; 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-NpI19NQxfDiqcfFI9kMqfMboI4fQTqCG7AoG9o8YoEI="; 16 }; 17 18 nativeBuildInputs = with python3.pkgs; [ ··· 20 ]; 21 22 propagatedBuildInputs = with python3.pkgs; [ 23 - ansiwrap 24 asteval 25 colorama 26 cryptography ··· 50 pythonImportsCheck = [ 51 "jrnl" 52 ]; 53 54 meta = with lib; { 55 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 { 9 pname = "jrnl"; 10 + version = "4.1"; 11 format = "pyproject"; 12 13 src = fetchFromGitHub { 14 owner = "jrnl-org"; 15 repo = pname; 16 rev = "refs/tags/v${version}"; 17 + hash = "sha256-DtujXSDJWnOrHjVgJEJNKJMhSrNBHlR2hvHeHLSIF2o="; 18 }; 19 20 nativeBuildInputs = with python3.pkgs; [ ··· 22 ]; 23 24 propagatedBuildInputs = with python3.pkgs; [ 25 asteval 26 colorama 27 cryptography ··· 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}";