summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/leo-editor
diff options
context:
space:
mode:
authorxeji <36407913+xeji@users.noreply.github.com>2018-09-13 12:17:45 +0200
committerGitHub <noreply@github.com>2018-09-13 12:17:45 +0200
commiteb88142c4b2dbf84e5afede9bb566e5cd90a58d8 (patch)
tree8198f4dab33a3e7e35d6ed24f7fb94a055d92870 /pkgs/applications/editors/leo-editor
parent2bc08ce0f53c851cbc71c2049b637b6af2985eec (diff)
leo-editor: 5.6 -> 5.7.3, fix build (#46589)
Previous version depended on qt56.qtwebengine which was broken.
Diffstat (limited to 'pkgs/applications/editors/leo-editor')
-rw-r--r--pkgs/applications/editors/leo-editor/default.nix17
1 files changed, 4 insertions, 13 deletions
diff --git a/pkgs/applications/editors/leo-editor/default.nix b/pkgs/applications/editors/leo-editor/default.nix
index 2084a047a086..a2274be463ed 100644
--- a/pkgs/applications/editors/leo-editor/default.nix
+++ b/pkgs/applications/editors/leo-editor/default.nix
@@ -1,29 +1,20 @@
-{ stdenv, python3, libsForQt56, fetchFromGitHub, makeWrapper, makeDesktopItem }:
+{ stdenv, python3, fetchFromGitHub, makeWrapper, makeDesktopItem }:
-let
- packageOverrides = self: super: {
- pyqt56 = libsForQt56.callPackage ../../../development/python-modules/pyqt/5.x.nix {
- pythonPackages = self;
- };
- };
-
- pythonPackages = (python3.override { inherit packageOverrides; }).pkgs;
-in
stdenv.mkDerivation rec {
name = "leo-editor-${version}";
- version = "5.6";
+ version = "5.7.3";
src = fetchFromGitHub {
owner = "leo-editor";
repo = "leo-editor";
rev = version;
- sha256 = "1k6q3gvaf05bi0mzkmmb1p6wrgxwri7ivn38p6f0m0wfd3f70x2j";
+ sha256 = "0ri6l6cxwva450l05af5vs1lsgrz6ciwd02njdgphs9pm1vwxbl9";
};
dontBuild = true;
nativeBuildInputs = [ makeWrapper python3 ];
- propagatedBuildInputs = with pythonPackages; [ pyqt56 docutils ];
+ propagatedBuildInputs = with python3.pkgs; [ pyqt5 docutils ];
desktopItem = makeDesktopItem rec {
name = "leo-editor";