about summary refs log tree commit diff
path: root/pkgs/applications/editors/featherpad
diff options
context:
space:
mode:
authorV <v@anomalous.eu>2020-08-24 17:14:31 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2020-08-26 19:16:25 +0200
commit7f3a18d33b8159d2993484c7b35cf685bff7e4f9 (patch)
treec336db38a09f78cdd779b1eba36d89d579732ce0 /pkgs/applications/editors/featherpad
parenta1871050cc96e59773315bb78c24237d416897cf (diff)
featherpad: use qt5's mkDerivation
Diffstat (limited to 'pkgs/applications/editors/featherpad')
-rw-r--r--pkgs/applications/editors/featherpad/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/applications/editors/featherpad/default.nix b/pkgs/applications/editors/featherpad/default.nix
index c6089fd5308cd..8343472fa70ac 100644
--- a/pkgs/applications/editors/featherpad/default.nix
+++ b/pkgs/applications/editors/featherpad/default.nix
@@ -1,18 +1,18 @@
-{ stdenv, pkgconfig, qt5, fetchFromGitHub }:
-
-with qt5;
-
-stdenv.mkDerivation rec {
-  version = "0.10.0";
+{ stdenv, mkDerivation, pkgconfig, qmake, qttools, qtbase, qtsvg, qtx11extras, fetchFromGitHub }:
+mkDerivation rec {
   pname = "featherpad";
+  version = "0.10.0";
+
   src = fetchFromGitHub {
     owner = "tsujan";
     repo = "FeatherPad";
     rev = "V${version}";
     sha256 = "1wrbs6kni9s3x39cckm9kzpglryxn5vyarilvh9pafbzpc6rc57p";
   };
+
   nativeBuildInputs = [ qmake pkgconfig qttools ];
   buildInputs = [ qtbase qtsvg qtx11extras ];
+
   meta = with stdenv.lib; {
     description = "Lightweight Qt5 Plain-Text Editor for Linux";
     homepage = "https://github.com/tsujan/FeatherPad";