Merge pull request #184429 from bryanasdev000/jrnl-up-fix
jrnl: 2.8.4 -> 3.0.0
This commit is contained in:
commit
be2225f322
1 changed files with 12 additions and 2 deletions
|
@ -5,14 +5,14 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "jrnl";
|
pname = "jrnl";
|
||||||
version = "2.8.4";
|
version = "3.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jrnl-org";
|
owner = "jrnl-org";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-Edu+GW/D+R5r0R750Z1f8YUVPMYbm9PK4D73sTDzDEc=";
|
sha256 = "sha256-wyN7dlAbQwqvES8qEJ4Zo+fDMM/Lh9tNjf215Ywop10=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
|
@ -31,14 +31,24 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
pyxdg
|
pyxdg
|
||||||
pyyaml
|
pyyaml
|
||||||
tzlocal
|
tzlocal
|
||||||
|
ruamel-yaml
|
||||||
|
rich
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = with python3.pkgs; [
|
checkInputs = with python3.pkgs; [
|
||||||
pytest-bdd
|
pytest-bdd
|
||||||
|
pytest-xdist
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
toml
|
toml
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Upstream expects a old pytest-bdd version
|
||||||
|
# Once it changes we should update here too
|
||||||
|
# https://github.com/jrnl-org/jrnl/blob/develop/poetry.lock#L732
|
||||||
|
disabledTests = [
|
||||||
|
"bdd"
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace 'tzlocal = ">2.0, <3.0"' 'tzlocal = ">2.0, !=3.0"'
|
--replace 'tzlocal = ">2.0, <3.0"' 'tzlocal = ">2.0, !=3.0"'
|
||||||
|
|
Loading…
Reference in a new issue