From e4a0cc1550f1a4e5ad5c0ee91a826cb35727b910 Mon Sep 17 00:00:00 2001 From: figsoda Date: Tue, 25 Jul 2023 11:03:57 -0400 Subject: [PATCH 1/3] pkgs/tools/games: remove dead code --- pkgs/tools/games/ps3-disc-dumper/default.nix | 1 - pkgs/tools/games/slipstream/default.nix | 2 +- pkgs/tools/games/steamtinkerlaunch/default.nix | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/games/ps3-disc-dumper/default.nix b/pkgs/tools/games/ps3-disc-dumper/default.nix index 577be9738486..6cf54c9a8f85 100644 --- a/pkgs/tools/games/ps3-disc-dumper/default.nix +++ b/pkgs/tools/games/ps3-disc-dumper/default.nix @@ -1,6 +1,5 @@ { lib , buildDotnetModule -, dotnetCorePackages , fetchFromGitHub , zlib , openssl diff --git a/pkgs/tools/games/slipstream/default.nix b/pkgs/tools/games/slipstream/default.nix index 6a41cd6b52db..828d0e7ce46e 100644 --- a/pkgs/tools/games/slipstream/default.nix +++ b/pkgs/tools/games/slipstream/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, stdenv, makeWrapper, buildMaven, maven, jdk }: +{ lib, fetchFromGitHub, makeWrapper, maven, jdk }: let mavenWithJdk = maven.override { inherit jdk; }; in diff --git a/pkgs/tools/games/steamtinkerlaunch/default.nix b/pkgs/tools/games/steamtinkerlaunch/default.nix index ea64c7208bc9..4f37109f5437 100644 --- a/pkgs/tools/games/steamtinkerlaunch/default.nix +++ b/pkgs/tools/games/steamtinkerlaunch/default.nix @@ -3,7 +3,6 @@ , git , gnugrep , fetchFromGitHub -, installShellFiles , lib , makeWrapper , stdenv From aa9d49bbd2f92198df4b7adf98db4bfda23d13e7 Mon Sep 17 00:00:00 2001 From: figsoda Date: Tue, 25 Jul 2023 11:04:11 -0400 Subject: [PATCH 2/3] pkgs/tools/graphics: remove dead code --- pkgs/tools/graphics/asymptote/default.nix | 2 +- pkgs/tools/graphics/didder/default.nix | 2 +- pkgs/tools/graphics/glmark2/default.nix | 1 - pkgs/tools/graphics/graphviz/default.nix | 1 - pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix | 1 - pkgs/tools/graphics/svg2pdf/default.nix | 3 +-- pkgs/tools/graphics/wkhtmltopdf-bin/default.nix | 2 -- 7 files changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/graphics/asymptote/default.nix b/pkgs/tools/graphics/asymptote/default.nix index 795378d370c2..136c46d69cb2 100644 --- a/pkgs/tools/graphics/asymptote/default.nix +++ b/pkgs/tools/graphics/asymptote/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, fetchurl, fetchpatch +{ lib, stdenv, fetchFromGitHub , autoreconfHook, bison, glm, flex, wrapQtAppsHook, cmake , freeglut, ghostscriptX, imagemagick, fftw , boehmgc, libGLU, libGL, mesa, ncurses, readline, gsl, libsigsegv diff --git a/pkgs/tools/graphics/didder/default.nix b/pkgs/tools/graphics/didder/default.nix index e5acb60586e0..e42a89c72d62 100644 --- a/pkgs/tools/graphics/didder/default.nix +++ b/pkgs/tools/graphics/didder/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, buildGoModule, fetchFromGitHub, pandoc }: +{ lib, buildGoModule, fetchFromGitHub, pandoc }: buildGoModule rec { pname = "didder"; diff --git a/pkgs/tools/graphics/glmark2/default.nix b/pkgs/tools/graphics/glmark2/default.nix index bfcaa7154c0b..cbfdeb22fbcc 100644 --- a/pkgs/tools/graphics/glmark2/default.nix +++ b/pkgs/tools/graphics/glmark2/default.nix @@ -8,7 +8,6 @@ , wayland-scanner , libjpeg , libpng -, xorg , libX11 , libGL , libdrm diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix index ab6a5110db45..1b7fd162dba5 100644 --- a/pkgs/tools/graphics/graphviz/default.nix +++ b/pkgs/tools/graphics/graphviz/default.nix @@ -1,7 +1,6 @@ { lib , stdenv , fetchFromGitLab -, fetchpatch , autoreconfHook , pkg-config , cairo diff --git a/pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix b/pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix index d7abf3787e4a..20401cd092c6 100644 --- a/pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix +++ b/pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix @@ -3,7 +3,6 @@ , fetchzip , fetchFromGitHub , cmake -, spirv-headers , vulkan-headers , vulkan-loader , glslang diff --git a/pkgs/tools/graphics/svg2pdf/default.nix b/pkgs/tools/graphics/svg2pdf/default.nix index 03d372808664..11ee723091bc 100644 --- a/pkgs/tools/graphics/svg2pdf/default.nix +++ b/pkgs/tools/graphics/svg2pdf/default.nix @@ -1,7 +1,6 @@ { lib -, stdenv -, fetchCrate , rustPlatform +, fetchCrate }: rustPlatform.buildRustPackage rec { diff --git a/pkgs/tools/graphics/wkhtmltopdf-bin/default.nix b/pkgs/tools/graphics/wkhtmltopdf-bin/default.nix index 6f41f2826b2d..29e1d391958f 100644 --- a/pkgs/tools/graphics/wkhtmltopdf-bin/default.nix +++ b/pkgs/tools/graphics/wkhtmltopdf-bin/default.nix @@ -4,14 +4,12 @@ , freetype , zlib , openssl -, dpkg , fetchurl , gcc-unwrapped , libjpeg8 , libpng , fontconfig , stdenv -, wkhtmltopdf , xar , xorg }: From 2a92a5f4fb4b338183b2fadf05a062ae59e98adb Mon Sep 17 00:00:00 2001 From: figsoda Date: Tue, 25 Jul 2023 11:04:22 -0400 Subject: [PATCH 3/3] pkgs/tools/inputmethods: remove dead code --- pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix | 4 ++-- pkgs/tools/inputmethods/ibus-engines/ibus-bamboo/default.nix | 1 - pkgs/tools/inputmethods/ibus-engines/ibus-libthai/default.nix | 2 +- pkgs/tools/inputmethods/input-remapper/default.nix | 1 - pkgs/tools/inputmethods/keyd/default.nix | 4 +--- pkgs/tools/inputmethods/m17n-lib/default.nix | 1 - pkgs/tools/inputmethods/skk/skk-dicts/default.nix | 2 +- 7 files changed, 5 insertions(+), 10 deletions(-) diff --git a/pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix b/pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix index dce5bd48592c..e58db09f706c 100644 --- a/pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix +++ b/pkgs/tools/inputmethods/fcitx5/fcitx5-mozc.nix @@ -1,4 +1,4 @@ -{ lib, clangStdenv, fetchFromGitHub, fetchurl, fetchpatch, fetchgit +{ lib, clangStdenv, fetchFromGitHub, fetchurl, fetchpatch , python3Packages, ninja, pkg-config, protobuf, zinnia, qt5, fcitx5 , jsoncpp, gtest, which, gtk2, unzip, abseil-cpp, breakpad, nixosTests }: let @@ -24,7 +24,7 @@ let sha256 = "ExS0Cg3rs0I9IOVbZHLt8UEfk8/LmY9oAHPVVlYuTPw="; }; -in clangStdenv.mkDerivation rec { +in clangStdenv.mkDerivation { pname = "fcitx5-mozc"; version = "2.26.4220.102"; diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-bamboo/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-bamboo/default.nix index 26a50951c016..0cb7d845ed45 100644 --- a/pkgs/tools/inputmethods/ibus-engines/ibus-bamboo/default.nix +++ b/pkgs/tools/inputmethods/ibus-engines/ibus-bamboo/default.nix @@ -5,7 +5,6 @@ , xorg , pkg-config , wrapGAppsHook -, ibus , gtk3 , go }: diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-libthai/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-libthai/default.nix index afce1acb6d6e..2e322d24a7ad 100644 --- a/pkgs/tools/inputmethods/ibus-engines/ibus-libthai/default.nix +++ b/pkgs/tools/inputmethods/ibus-engines/ibus-libthai/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, makeWrapper, pkg-config, ibus, gtk3, libthai }: +{ lib, stdenv, fetchurl, pkg-config, ibus, gtk3, libthai }: stdenv.mkDerivation rec { pname = "ibus-libthai"; diff --git a/pkgs/tools/inputmethods/input-remapper/default.nix b/pkgs/tools/inputmethods/input-remapper/default.nix index 092901e08c30..ff2a7363d90e 100644 --- a/pkgs/tools/inputmethods/input-remapper/default.nix +++ b/pkgs/tools/inputmethods/input-remapper/default.nix @@ -1,5 +1,4 @@ { lib -, python3 , pkgconfig , wrapGAppsHook , gettext diff --git a/pkgs/tools/inputmethods/keyd/default.nix b/pkgs/tools/inputmethods/keyd/default.nix index ba0c05164435..810ade71bb32 100644 --- a/pkgs/tools/inputmethods/keyd/default.nix +++ b/pkgs/tools/inputmethods/keyd/default.nix @@ -1,8 +1,6 @@ { stdenv , lib , fetchFromGitHub -, cmake -, pkg-config , systemd , runtimeShell , python3 @@ -43,7 +41,7 @@ let }; in -stdenv.mkDerivation rec { +stdenv.mkDerivation { pname = "keyd"; inherit version src; diff --git a/pkgs/tools/inputmethods/m17n-lib/default.nix b/pkgs/tools/inputmethods/m17n-lib/default.nix index 73d7353894fe..c526f6a844d7 100644 --- a/pkgs/tools/inputmethods/m17n-lib/default.nix +++ b/pkgs/tools/inputmethods/m17n-lib/default.nix @@ -1,7 +1,6 @@ { lib , stdenv , fetchurl -, fetchpatch , m17n_db , autoreconfHook , pkg-config diff --git a/pkgs/tools/inputmethods/skk/skk-dicts/default.nix b/pkgs/tools/inputmethods/skk/skk-dicts/default.nix index bb974fbc8b58..da6074a96a30 100644 --- a/pkgs/tools/inputmethods/skk/skk-dicts/default.nix +++ b/pkgs/tools/inputmethods/skk/skk-dicts/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, buildPackages, iconv, skktools }: +{ lib, stdenv, fetchurl, iconv, skktools }: let # kana to kanji