From c3c2274d53dd4121422b5e7f08c3c35761b31e5f Mon Sep 17 00:00:00 2001 From: Guillaume Maudoux Date: Thu, 6 Jun 2019 08:55:02 +0200 Subject: [PATCH] qtikz: s/fetchurl/fetchpatch/ --- pkgs/applications/graphics/ktikz/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/graphics/ktikz/default.nix b/pkgs/applications/graphics/ktikz/default.nix index b03d80ea63c..0bd4c595ffa 100644 --- a/pkgs/applications/graphics/ktikz/default.nix +++ b/pkgs/applications/graphics/ktikz/default.nix @@ -1,9 +1,8 @@ -{ stdenv, fetchFromGitHub, fetchurl +{ stdenv, fetchFromGitHub, fetchpatch , pkgconfig, makeWrapper , poppler, qt5, gnuplot }: - # This package only builds ktikz without KDE integration because KDE4 is # deprecated and upstream does not (yet ?) support KDE5. # See historical versions of this file for building ktikz with KDE4. @@ -30,10 +29,12 @@ stdenv.mkDerivation rec { sha256 = "1s83x8r2yi64wc6ah2iz09dj3qahy0fkxx6cfgpkavjw9x0j0582"; }; - patches = [ (fetchurl { - url = "https://github.com/fhackenberger/ktikz/commit/972685a406517bb85eb561f2c8e26f029eacd7db.patch"; - sha256 = "16jwsl18marfw5m888vwxdd1h7cqa37rkfqgirzdliacb1cr4f58"; - })]; + patches = [ + (fetchpatch { + url = "https://github.com/fhackenberger/ktikz/commit/972685a406517bb85eb561f2c8e26f029eacd7db.patch"; + sha256 = "16jwsl18marfw5m888vwxdd1h7cqa37rkfqgirzdliacb1cr4f58"; + }) + ]; QT_PLUGIN_PATH = "${qt5.qtbase}/${qt5.qtbase.qtPluginPrefix}";