Merge pull request #221908 from wegank/timeline-wx

timeline: fix build, migrate to wxPython_4_2
This commit is contained in:
Weijia Wang 2023-03-19 20:00:17 +02:00 committed by GitHub
commit 0dc63a4021
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -9,6 +9,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "timeline";
version = "2.6.0";
format = "other";
src = fetchurl {
url = "mirror://sourceforge/thetimelineproj/${pname}-${version}.zip";
@ -18,7 +19,7 @@ python3.pkgs.buildPythonApplication rec {
nativeBuildInputs = [ python3.pkgs.wrapPython copyDesktopItems ];
pythonPath = with python3.pkgs; [
wxPython_4_0
wxPython_4_2
humblewx
icalendar
markdown

View file

@ -1,7 +1,7 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, wxPython_4_0
, wxPython_4_2
, python
}:
@ -16,8 +16,7 @@ buildPythonPackage rec {
sha256 = "0fv8gwlbcj000qq34inbwgxf0xgibs590dsyqnw0mmyb7f1iq210";
};
# timeline is not compatible with wxPython_4_1. reported upstream
propagatedBuildInputs = [ wxPython_4_0 ];
propagatedBuildInputs = [ wxPython_4_2 ];
checkPhase = ''
runHook preCheck