pkgs/tools/misc: remove dead code

with the help of deadnix & nil
This commit is contained in:
figsoda 2023-07-12 11:22:45 -04:00 committed by Weijia Wang
parent 4afa90a84f
commit f1ec434848
70 changed files with 52 additions and 97 deletions

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchpatch { lib, stdenv, fetchurl
, cmake, pkg-config, perl, go, python3 , cmake, pkg-config, perl, go, python3
, protobuf, zlib, gtest, brotli, lz4, zstd, libusb1, pcre2 , protobuf, zlib, gtest, brotli, lz4, zstd, libusb1, pcre2
}: }:

View file

@ -7,7 +7,6 @@
, gawk , gawk
, gnugrep , gnugrep
, gnum4 , gnum4
, makeWrapper
, pacman , pacman
, util-linux , util-linux
, chrootPath ? [ , chrootPath ? [

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper, installShellFiles, bash, coreutils, curl, git, writeScript }: { stdenv, lib, fetchFromGitHub, makeWrapper, installShellFiles, bash, curl, git, writeScript }:
let let
asdfReshimFile = writeScript "asdf-reshim" '' asdfReshimFile = writeScript "asdf-reshim" ''

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, python3, bash }: { lib, stdenv, fetchFromGitHub, python3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "autojump"; pname = "autojump";

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, makeWrapper { lib, stdenv, fetchurl, makeWrapper
, ncurses, python3, perl, textual-window-manager , python3, perl, textual-window-manager
, gettext, vim, bc, screen }: , gettext, vim, bc, screen }:
let let

View file

@ -1,5 +1,4 @@
{ lib { lib
, stdenv
, rustPlatform , rustPlatform
, fetchCrate , fetchCrate
}: }:

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, perl, perlPackages, makeWrapper, }: { lib, fetchFromGitHub, perl, perlPackages }:
perlPackages.buildPerlPackage rec { perlPackages.buildPerlPackage rec {
pname = "cope"; pname = "cope";

View file

@ -1,5 +1,4 @@
{ lib { lib
, stdenv
, fetchFromGitHub , fetchFromGitHub
, inkscape , inkscape
, meson , meson

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, autoreconfHook, tzdata, fetchpatch }: { lib, stdenv, fetchurl, autoreconfHook, tzdata }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.4.10"; version = "0.4.10";

View file

@ -1,7 +1,6 @@
{ stdenv { lib
, lib
, fetchFromGitHub
, buildDotnetModule , buildDotnetModule
, fetchFromGitHub
}: }:
buildDotnetModule rec { buildDotnetModule rec {

View file

@ -1,7 +1,6 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, resholve , resholve
, substituteAll
, bash , bash
, coreutils , coreutils
, goss , goss

View file

@ -1,7 +1,6 @@
{ lib { lib
, stdenv , stdenv
, abootimg , abootimg
, acl
, apksigcopier , apksigcopier
, apksigner , apksigner
, apktool , apktool

View file

@ -1,6 +1,5 @@
{ lib { lib
, stdenv , stdenv
, fetchpatch
, fetchFromGitHub , fetchFromGitHub
, nix-update-script , nix-update-script
, rustPlatform , rustPlatform

View file

@ -1,10 +1,7 @@
{ lib { lib
, stdenv
, fetchFromGitHub , fetchFromGitHub
, buildGoModule , buildGoModule
, runCommand
, nix-update-script , nix-update-script
, fetchurl
, testers , testers
, python3 , python3
, curl , curl

View file

@ -4,7 +4,7 @@
, unstableGitUpdater , unstableGitUpdater
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation {
pname = "edid-decode"; pname = "edid-decode";
version = "unstable-2022-12-14"; version = "unstable-2022-12-14";
@ -34,4 +34,4 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = with maintainers; [ Madouura ]; maintainers = with maintainers; [ Madouura ];
platforms = platforms.all; platforms = platforms.all;
}; };
}) }

View file

@ -1,7 +1,6 @@
{ lib { lib
, stdenv
, fetchFromGitHub
, buildGoModule , buildGoModule
, fetchFromGitHub
}: }:
buildGoModule rec { buildGoModule rec {

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, fetchpatch, python3, openssl }: { lib, fetchFromGitHub, fetchpatch, python3 }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "esptool"; pname = "esptool";

View file

@ -1,12 +1,11 @@
{ lib { lib
, stdenv
, ocamlPackages , ocamlPackages
, fetchFromGitHub , fetchFromGitHub
, makeWrapper , makeWrapper
, python3 , python3
}: }:
ocamlPackages.buildDunePackage rec { ocamlPackages.buildDunePackage {
pname = "flitter"; pname = "flitter";
# request to tag releases: https://github.com/alexozer/flitter/issues/34 # request to tag releases: https://github.com/alexozer/flitter/issues/34
version = "unstable-2020-10-05"; version = "unstable-2020-10-05";

View file

@ -1,5 +1,5 @@
{ stdenv, fetchpatch, fetchFromGitHub, lib { stdenv, fetchFromGitHub, lib
, cmake, perl, uthash, pkg-config, gettext , cmake, uthash, pkg-config
, python, freetype, zlib, glib, giflib, libpng, libjpeg, libtiff, libxml2, cairo, pango , python, freetype, zlib, glib, giflib, libpng, libjpeg, libtiff, libxml2, cairo, pango
, readline, woff2, zeromq , readline, woff2, zeromq
, withSpiro ? false, libspiro , withSpiro ? false, libspiro

View file

@ -4,7 +4,6 @@
, bencoder , bencoder
, pyyaml , pyyaml
, requests , requests
, setuptools
}: }:
buildPythonApplication rec { buildPythonApplication rec {
pname = "gazelle-origin"; pname = "gazelle-origin";

View file

@ -2,7 +2,6 @@
, stdenv , stdenv
, fetchFromGitLab , fetchFromGitLab
, wrapGAppsHook , wrapGAppsHook
, makeWrapper
, pkg-config , pkg-config
, meson , meson
, ninja , ninja

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper, ruby }: { lib, stdenv, fetchFromGitHub, ruby }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "h"; pname = "h";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, shared-mime-info, libiconv, installShellFiles }: { lib, rustPlatform, fetchFromGitHub, shared-mime-info, libiconv, installShellFiles }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "handlr-regex"; pname = "handlr-regex";

View file

@ -1,10 +1,8 @@
{ lib { lib
, bundlerApp , bundlerApp
, buildRubyGem
, ruby
}: }:
bundlerApp rec { bundlerApp {
pname = "haste"; pname = "haste";
gemdir = ./.; gemdir = ./.;
exes = [ "haste" ]; exes = [ "haste" ];

View file

@ -9,7 +9,7 @@
, jdk , jdk
}: }:
let inherit (lib) optional optionals; in let inherit (lib) optional; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.10.9"; version = "1.10.9";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, ant, jdk, nettools, hdf4, hdf5, makeDesktopItem, copyDesktopItems }: { lib, stdenv, fetchurl, ant, jdk, hdf4, hdf5, makeDesktopItem, copyDesktopItems }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "hdfview"; pname = "hdfview";

View file

@ -1,7 +1,6 @@
{ lib { lib
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, pkgs
}: }:
buildGoModule rec { buildGoModule rec {

View file

@ -1,6 +1,6 @@
{ {
mkDerivation, fetchurl, lib, mkDerivation, fetchurl, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook, extra-cmake-modules, kdoctools,
kconfig, kcrash, kinit kconfig, kcrash, kinit
}: }:

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, substituteAll, makeWrapper, perl, procps, file, gnused, bash }: { lib, stdenv, fetchFromGitHub, makeWrapper, perl, procps, file, gnused, bash }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lesspipe"; pname = "lesspipe";

View file

@ -1,5 +1,4 @@
{ stdenv { lib
, lib
, fetchFromSourcehut , fetchFromSourcehut
, rustPlatform , rustPlatform
, installShellFiles , installShellFiles

View file

@ -1,6 +1,5 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, rustPlatform , rustPlatform
}: }:

View file

@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, glib, readline { stdenv, lib, fetchFromGitHub, glib, readline
, bison, flex, pkg-config, autoreconfHook, libxslt, makeWrapper , bison, flex, pkg-config, autoreconfHook
, txt2man, which , txt2man, which
}: }:

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchCrate, rustPlatform }: { lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "melody"; pname = "melody";

View file

@ -1,4 +1,4 @@
{ stdenv, lib, python3, buildPythonApplication, fetchPypi, fusepy, pyserial }: { stdenv, lib, buildPythonApplication, fetchPypi, fusepy, pyserial }:
buildPythonApplication rec { buildPythonApplication rec {
pname = "mpy-utils"; pname = "mpy-utils";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, ncurses, pkg-config, cmake }: { lib, stdenv, fetchFromGitHub, ncurses, pkg-config, cmake }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "7.0.0"; version = "7.0.0";

View file

@ -1,4 +1,4 @@
{ stdenv, lib, buildGoModule, fetchFromGitHub, fetchzip }: { lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec { buildGoModule rec {
pname = "mutagen-compose"; pname = "mutagen-compose";

View file

@ -1,4 +1,4 @@
{ stdenv, lib, buildGoModule, fetchFromGitHub, fetchzip }: { lib, buildGoModule, fetchFromGitHub, fetchzip }:
buildGoModule rec { buildGoModule rec {
pname = "mutagen"; pname = "mutagen";

View file

@ -9,7 +9,6 @@
, gsettings-desktop-schemas , gsettings-desktop-schemas
, gtk3 , gtk3
, python3 , python3
, substituteAll
, wrapGAppsHook , wrapGAppsHook
}: }:

View file

@ -1,5 +1,5 @@
{ lib, stdenv, go, fetchurl, redo-apenwarr, curl, perl, genericUpdater { lib, stdenv, go, fetchurl, redo-apenwarr, curl, perl, genericUpdater
, writeShellScript, nixosTests, cfgPath ? "/etc/nncp.hjson" }: , writeShellScript, cfgPath ? "/etc/nncp.hjson" }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nncp"; pname = "nncp";

View file

@ -18,14 +18,14 @@ let
ntfy-webpush = self.callPackage ./webpush.nix { }; ntfy-webpush = self.callPackage ./webpush.nix { };
# databases, on which slack-sdk depends, is incompatible with SQLAlchemy 2.0 # databases, on which slack-sdk depends, is incompatible with SQLAlchemy 2.0
sqlalchemy = super.sqlalchemy.overridePythonAttrs (old: rec { sqlalchemy = super.sqlalchemy.overridePythonAttrs rec {
version = "1.4.46"; version = "1.4.46";
src = fetchPypi { src = fetchPypi {
pname = "SQLAlchemy"; pname = "SQLAlchemy";
inherit version; inherit version;
hash = "sha256-aRO4JH2KKS74MVFipRkx4rQM6RaB8bbxj2lwRSAMSjA="; hash = "sha256-aRO4JH2KKS74MVFipRkx4rQM6RaB8bbxj2lwRSAMSjA=";
}; };
}); };
}; };
}; };
in python.pkgs.buildPythonApplication rec { in python.pkgs.buildPythonApplication rec {

View file

@ -2,11 +2,9 @@
, stdenv , stdenv
, autoconf , autoconf
, automake , automake
, bash
, curl , curl
, fetchFromGitHub , fetchFromGitHub
, fetchMavenArtifact , fetchMavenArtifact
, fetchurl
, fetchpatch , fetchpatch
, git , git
, jdk8 , jdk8

View file

@ -1,8 +1,6 @@
{ fetchFromGitHub { lib
, python3Packages , python3Packages
, stdenv , fetchFromGitHub
, writeText
, lib
}: }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {

View file

@ -13,7 +13,6 @@
, luajit , luajit
, libosmium , libosmium
, protozero , protozero
, rapidjson
, testers , testers
}: }:

View file

@ -1,7 +1,6 @@
{ stdenv { stdenv
, lib , lib
, fetchurl , fetchurl
, fetchpatch
, substituteAll , substituteAll
, pkg-config , pkg-config
, gtk-doc , gtk-doc
@ -38,9 +37,9 @@
}: }:
let let
testPython = (python3.withPackages (p: with p; [ testPython = python3.withPackages (p: with p; [
pyyaml pyyaml
])); ]);
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "ostree"; pname = "ostree";
version = "2023.2"; version = "2023.2";

View file

@ -1,4 +1,4 @@
{ lib, bash, buildGoModule, fetchFromGitHub, getent, coreutils, nix-update-script, stdenv }: { lib, buildGoModule, fetchFromGitHub, getent, coreutils, nix-update-script, stdenv }:
buildGoModule rec { buildGoModule rec {
pname = "otel-cli"; pname = "otel-cli";

View file

@ -5,10 +5,7 @@
, pandoc , pandoc
, pandocfilters , pandocfilters
, runCommand , runCommand
, runtimeShell
, texlive , texlive
, writeScriptBin
, xvfb-run
}: }:
let let

View file

@ -1,6 +1,5 @@
{ lib, stdenv { lib, stdenv
, fetchurl , fetchurl
, fetchpatch
, lvm2 , lvm2
, libuuid , libuuid
, gettext , gettext

View file

@ -8,7 +8,6 @@
, gtkmm2 , gtkmm2
, gerbv , gerbv
, librsvg , librsvg
, bash
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {

View file

@ -1,4 +1,4 @@
{ stdenv, lib, git, openssl, makeWrapper, buildPythonApplication, pytestCheckHook, ps { stdenv, lib, git, openssl, buildPythonApplication, pytestCheckHook, ps
, fetchPypi, fetchFromGitLab, sudo }: , fetchPypi, fetchFromGitLab, sudo }:
buildPythonApplication rec { buildPythonApplication rec {

View file

@ -1,7 +1,6 @@
{ lib { lib
, stdenv
, fetchFromGitHub
, rustPlatform , rustPlatform
, fetchFromGitHub
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {

View file

@ -1,15 +1,13 @@
{ lib { lib
, qt5 , qt5
, qtbase , qtbase
, qtsvg
, qtx11extras
, qttools , qttools
, qtwebsockets , qtwebsockets
, qtmultimedia , qtmultimedia
, fetchFromGitHub , fetchFromGitHub
}: }:
qt5.mkDerivation rec { qt5.mkDerivation {
pname = "r3ctl"; pname = "r3ctl";
version = "a82cb5b3123224e706835407f21acea9dc7ab0f0"; version = "a82cb5b3123224e706835407f21acea9dc7ab0f0";

View file

@ -1,5 +1,4 @@
{ lib { lib
, stdenv
, fetchurl , fetchurl
, tk , tk
, tcllib , tcllib
@ -8,7 +7,7 @@
}: }:
let let
inherit (lib) optional optionals optionalString; inherit (lib) optionals optionalString;
tclLibraries = optionals tkremind [ tcllib tk ]; tclLibraries = optionals tkremind [ tcllib tk ];
tkremindPatch = optionalString tkremind '' tkremindPatch = optionalString tkremind ''
substituteInPlace scripts/tkremind --replace "exec wish" "exec ${tk}/bin/wish" substituteInPlace scripts/tkremind --replace "exec wish" "exec ${tk}/bin/wish"

View file

@ -1,7 +1,6 @@
{ lib, stdenv { lib, stdenv
, cairo , cairo
, fetchFromGitHub , fetchFromGitHub
, gettext
, glib , glib
, gobject-introspection , gobject-introspection
, gtksourceview3 , gtksourceview3

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitLab, makeWrapper, bash }: { stdenv, lib, fetchFromGitLab, makeWrapper }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sensible-utils"; pname = "sensible-utils";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch }: { lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.3.1"; version = "0.3.1";

View file

@ -11,7 +11,7 @@ let
py = python3.override { py = python3.override {
packageOverrides = self: super: { packageOverrides = self: super: {
# sqlite3-to-mysql is incompatible with versions > 1.4.44 of sqlalchemy # sqlite3-to-mysql is incompatible with versions > 1.4.44 of sqlalchemy
sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec { sqlalchemy = super.sqlalchemy.overridePythonAttrs rec {
version = "1.4.44"; version = "1.4.44";
format = "setuptools"; format = "setuptools";
src = fetchPypi { src = fetchPypi {
@ -19,7 +19,7 @@ let
inherit version; inherit version;
hash = "sha256-LdpflnGa6Js+wPG3lpjYbrmuyx1U6ZCrs/3ZLAS0apA="; hash = "sha256-LdpflnGa6Js+wPG3lpjYbrmuyx1U6ZCrs/3ZLAS0apA=";
}; };
}); };
}; };
self = py; self = py;
}; };

View file

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl { stdenv, lib, fetchurl
, dpkg, patchelf, wrapGAppsHook , dpkg, wrapGAppsHook
, hicolor-icon-theme , hicolor-icon-theme
, gtk3, glib, systemd , gtk3, glib, systemd
, xorg, nss, nspr , xorg, nss, nspr

View file

@ -1,4 +1,4 @@
{ stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles }: { lib, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec { buildGoModule rec {
pname = "steampipe"; pname = "steampipe";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, udev, intltool, pkg-config, glib, xmlto, wrapGAppsHook { lib, stdenv, fetchFromGitHub, udev, intltool, pkg-config, glib, xmlto, wrapGAppsHook
, docbook_xml_dtd_412, docbook_xsl , docbook_xml_dtd_412, docbook_xsl
, libxml2, desktop-file-utils, libusb1, cups, gdk-pixbuf, pango, atk, libnotify , libxml2, desktop-file-utils, libusb1, cups, gdk-pixbuf, pango, atk, libnotify
, gobject-introspection, libsecret, packagekit , gobject-introspection, libsecret, packagekit

View file

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub, pkg-config, stdenv, openssl }: { lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "todo"; pname = "todo";

View file

@ -1,7 +1,6 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, python3Packages , python3Packages
, ffmpeg
, installShellFiles , installShellFiles
, scdoc , scdoc
}: }:

View file

@ -5,7 +5,6 @@
, makeWrapper , makeWrapper
, jre , jre
, fetchzip , fetchzip
, bash
}: }:
let let
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {

View file

@ -1,14 +1,11 @@
{ lib { lib
, stdenv , stdenv
, fetchurl , fetchurl
, autoconf
, automake
, autoreconfHook , autoreconfHook
, gettext , gettext
, libftdi1 , libftdi1
, libtool , libtool
, libusb-compat-0_1 , libusb-compat-0_1
, makeWrapper
, pkg-config , pkg-config
, readline , readline
, which , which

View file

@ -1,4 +1,4 @@
{ lib, mkDerivation, fetchFromGitHub, gnumake, qmake }: { lib, mkDerivation, fetchFromGitHub, qmake }:
mkDerivation rec { mkDerivation rec {
pname = "veikk-linux-driver-gui"; pname = "veikk-linux-driver-gui";

View file

@ -2,7 +2,6 @@
, fetchFromGitHub , fetchFromGitHub
, coreutils , coreutils
, sharutils , sharutils
, runtimeShell
, version , version
, sha256 , sha256
}: }:

View file

@ -1,6 +1,5 @@
{ lib { lib
, fetchFromSourcehut , fetchFromSourcehut
, makeWrapper
, rustPlatform , rustPlatform
, wayland , wayland
}: }:

View file

@ -2,7 +2,6 @@
, rustPlatform , rustPlatform
, fetchCrate , fetchCrate
, pkg-config , pkg-config
, stdenv
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {

View file

@ -1,5 +1,5 @@
{ lib, fetchFromGitHub, buildPythonApplication, python3Packages, wrapGAppsHook { lib, fetchFromGitHub, buildPythonApplication, python3Packages, wrapGAppsHook
, xflux, librsvg, gtk3, gobject-introspection, pango, gdk-pixbuf, atk , xflux, gtk3, gobject-introspection, pango, gdk-pixbuf, atk
, pexpect, pygobject3, pyxdg, libappindicator-gtk3 , pexpect, pygobject3, pyxdg, libappindicator-gtk3
}: }:
buildPythonApplication rec { buildPythonApplication rec {

View file

@ -1,7 +1,6 @@
{ lib { lib
, rustPlatform , rustPlatform
, fetchCrate , fetchCrate
, stdenv
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {

View file

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, fetchpatch, makeBinaryWrapper, ffmpeg }: { lib, buildGoModule, fetchFromGitHub, makeBinaryWrapper, ffmpeg }:
buildGoModule rec { buildGoModule rec {
pname = "ytarchive"; pname = "ytarchive";