jrnl: 1.9.8 -> 2.7
This commit is contained in:
parent
bdf412c408
commit
3efd6fe922
|
@ -1,30 +1,56 @@
|
||||||
{ lib
|
{ lib
|
||||||
, python3
|
, ansiwrap
|
||||||
|
, asteval
|
||||||
|
, buildPythonApplication
|
||||||
|
, colorama
|
||||||
|
, cryptography
|
||||||
|
, fetchFromGitHub
|
||||||
|
, keyring
|
||||||
|
, parsedatetime
|
||||||
|
, poetry
|
||||||
|
, pytestCheckHook
|
||||||
|
, python-dateutil
|
||||||
|
, pytz
|
||||||
|
, pyxdg
|
||||||
|
, pyyaml
|
||||||
|
, tzlocal
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with python3.pkgs;
|
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "jrnl";
|
pname = "jrnl";
|
||||||
version = "1.9.8";
|
version = "2.7";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "jrnl-org";
|
||||||
sha256 = "d254c9c8f24dcf985b98a1d5311337c7f416e6305107eec34c567f58c95b06f4";
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1hyjjw9mxy73n3pkliaaif135h2sd4iy43pw9d5zynid5abnr3yz";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ poetry ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pytz six tzlocal keyring dateutil
|
ansiwrap
|
||||||
parsedatetime pycrypto
|
asteval
|
||||||
|
colorama
|
||||||
|
cryptography
|
||||||
|
keyring
|
||||||
|
parsedatetime
|
||||||
|
python-dateutil
|
||||||
|
pytz
|
||||||
|
pyxdg
|
||||||
|
pyyaml
|
||||||
|
tzlocal
|
||||||
];
|
];
|
||||||
|
|
||||||
# No tests in archive
|
checkInputs = [ pytestCheckHook ];
|
||||||
doCheck = false;
|
pythonImportsCheck = [ "jrnl" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://maebert.github.io/jrnl/";
|
homepage = "http://maebert.github.io/jrnl/";
|
||||||
description = "A simple command line journal application that stores your journal in a plain text file";
|
description = "A simple command line journal application that stores your journal in a plain text file";
|
||||||
license = licenses.mit;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ zalakain ];
|
maintainers = with maintainers; [ zalakain ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -5428,7 +5428,7 @@ in
|
||||||
|
|
||||||
jo = callPackage ../development/tools/jo { };
|
jo = callPackage ../development/tools/jo { };
|
||||||
|
|
||||||
jrnl = callPackage ../applications/misc/jrnl { };
|
jrnl = python3Packages.callPackage ../applications/misc/jrnl { };
|
||||||
|
|
||||||
jsawk = callPackage ../tools/text/jsawk { };
|
jsawk = callPackage ../tools/text/jsawk { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue