forked from mirrors/nixpkgs
Merge pull request #221908 from wegank/timeline-wx
timeline: fix build, migrate to wxPython_4_2
This commit is contained in:
commit
0dc63a4021
|
@ -9,6 +9,7 @@
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "timeline";
|
pname = "timeline";
|
||||||
version = "2.6.0";
|
version = "2.6.0";
|
||||||
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/thetimelineproj/${pname}-${version}.zip";
|
url = "mirror://sourceforge/thetimelineproj/${pname}-${version}.zip";
|
||||||
|
@ -18,7 +19,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
nativeBuildInputs = [ python3.pkgs.wrapPython copyDesktopItems ];
|
nativeBuildInputs = [ python3.pkgs.wrapPython copyDesktopItems ];
|
||||||
|
|
||||||
pythonPath = with python3.pkgs; [
|
pythonPath = with python3.pkgs; [
|
||||||
wxPython_4_0
|
wxPython_4_2
|
||||||
humblewx
|
humblewx
|
||||||
icalendar
|
icalendar
|
||||||
markdown
|
markdown
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, wxPython_4_0
|
, wxPython_4_2
|
||||||
, python
|
, python
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -16,8 +16,7 @@ buildPythonPackage rec {
|
||||||
sha256 = "0fv8gwlbcj000qq34inbwgxf0xgibs590dsyqnw0mmyb7f1iq210";
|
sha256 = "0fv8gwlbcj000qq34inbwgxf0xgibs590dsyqnw0mmyb7f1iq210";
|
||||||
};
|
};
|
||||||
|
|
||||||
# timeline is not compatible with wxPython_4_1. reported upstream
|
propagatedBuildInputs = [ wxPython_4_2 ];
|
||||||
propagatedBuildInputs = [ wxPython_4_0 ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
|
|
Loading…
Reference in a new issue