Merge pull request #265636 from antonmosich/jrnl-update

jrnl: 4.0.1 -> 4.1
This commit is contained in:
Weijia Wang 2023-11-09 06:12:41 +01:00 committed by GitHub
commit c52cf53280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,18 +1,20 @@
{ lib
, fetchFromGitHub
, python3
, testers
, jrnl
}:
python3.pkgs.buildPythonApplication rec {
pname = "jrnl";
version = "4.0.1";
version = "4.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "jrnl-org";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-NpI19NQxfDiqcfFI9kMqfMboI4fQTqCG7AoG9o8YoEI=";
hash = "sha256-DtujXSDJWnOrHjVgJEJNKJMhSrNBHlR2hvHeHLSIF2o=";
};
nativeBuildInputs = with python3.pkgs; [
@ -20,7 +22,6 @@ python3.pkgs.buildPythonApplication rec {
];
propagatedBuildInputs = with python3.pkgs; [
ansiwrap
asteval
colorama
cryptography
@ -51,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";