about summary refs log tree commit diff
path: root/pkgs/applications/graphics/ktikz
diff options
context:
space:
mode:
authorGuillaume Maudoux <layus.on@gmail.com>2019-06-06 08:55:02 +0200
committerGuillaume Maudoux <layus.on@gmail.com>2019-06-06 08:55:02 +0200
commitc3c2274d53dd4121422b5e7f08c3c35761b31e5f (patch)
tree2e690336da0ff85851ad3f4be9ccb81e0b880471 /pkgs/applications/graphics/ktikz
parent951509a87b9f545babd9da11507ecd341d08a6af (diff)
qtikz: s/fetchurl/fetchpatch/
Diffstat (limited to 'pkgs/applications/graphics/ktikz')
-rw-r--r--pkgs/applications/graphics/ktikz/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/applications/graphics/ktikz/default.nix b/pkgs/applications/graphics/ktikz/default.nix
index b03d80ea63c6f..0bd4c595ffa06 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}";