From df68f3a71e458fb6b1c461d4278554acd8e32ec4 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 6 Feb 2022 19:12:41 +0100 Subject: scrot: clean up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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). --- pkgs/tools/graphics/scrot/default.nix | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) (limited to 'pkgs/tools/graphics/scrot') 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"; -- cgit 1.4.1