about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2022-02-06 19:12:41 +0100
committerJan Tojnar <jtojnar@gmail.com>2022-02-06 19:14:13 +0100
commitdf68f3a71e458fb6b1c461d4278554acd8e32ec4 (patch)
tree3f3bcf231a0ec02edc572736fb4027e8500a740e
parent8348c7623a549c3679b3759fbf03b4c3a71c82b7 (diff)
scrot: clean up
Remove unused dependencies – `gettext libtool intltool gtk-doc` belong to `nativeBuildInputs`. But they are not used even if passed (autoreconf complains still and output does not change).
-rw-r--r--pkgs/tools/graphics/scrot/default.nix30
1 files changed, 25 insertions, 5 deletions
diff --git a/pkgs/tools/graphics/scrot/default.nix b/pkgs/tools/graphics/scrot/default.nix
index 63a7df14dbd11..a599f50890c5d 100644
--- a/pkgs/tools/graphics/scrot/default.nix
+++ b/pkgs/tools/graphics/scrot/default.nix
@@ -1,6 +1,15 @@
-{ lib, stdenv, fetchFromGitHub, imlib2, xlibsWrapper, autoreconfHook
-, autoconf-archive, libXfixes, libXcomposite
-, pkg-config, gettext, libtool, intltool, gtk-doc, libbsd }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, imlib2
+, xlibsWrapper
+, autoreconfHook
+, autoconf-archive
+, libXfixes
+, libXcomposite
+, pkg-config
+, libbsd
+}:
 
 stdenv.mkDerivation rec {
   pname = "scrot";
@@ -13,8 +22,19 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-oVmEPkEK1xDcIRUQjCp6CKf+aKnnVe3L7aRTdSsCmmY=";
   };
 
-  nativeBuildInputs = [ autoreconfHook autoconf-archive pkg-config ];
-  buildInputs = [ imlib2 xlibsWrapper libXfixes libXcomposite gettext libtool intltool gtk-doc libbsd ];
+  nativeBuildInputs = [
+    autoreconfHook
+    autoconf-archive
+    pkg-config
+  ];
+
+  buildInputs = [
+    imlib2
+    xlibsWrapper
+    libXfixes
+    libXcomposite
+    libbsd
+  ];
 
   meta = with lib; {
     homepage = "https://github.com/resurrecting-open-source-projects/scrot";