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
, protobuf, zlib, gtest, brotli, lz4, zstd, libusb1, pcre2
}:

View file

@ -7,7 +7,6 @@
, gawk
, gnugrep
, gnum4
, makeWrapper
, pacman
, util-linux
, 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
asdfReshimFile = writeScript "asdf-reshim" ''

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper, ruby }:
{ lib, stdenv, fetchFromGitHub, ruby }:
stdenv.mkDerivation rec {
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 {
pname = "handlr-regex";

View file

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

View file

@ -9,7 +9,7 @@
, jdk
}:
let inherit (lib) optional optionals; in
let inherit (lib) optional; in
stdenv.mkDerivation rec {
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 {
pname = "hdfview";

View file

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

View file

@ -1,6 +1,6 @@
{
mkDerivation, fetchurl, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook,
extra-cmake-modules, kdoctools,
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 {
pname = "lesspipe";

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
{ stdenv, lib, python3, buildPythonApplication, fetchPypi, fusepy, pyserial }:
{ stdenv, lib, buildPythonApplication, fetchPypi, fusepy, pyserial }:
buildPythonApplication rec {
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 {
version = "7.0.0";

View file

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

View file

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

View file

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

View file

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

View file

@ -18,14 +18,14 @@ let
ntfy-webpush = self.callPackage ./webpush.nix { };
# 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";
src = fetchPypi {
pname = "SQLAlchemy";
inherit version;
hash = "sha256-aRO4JH2KKS74MVFipRkx4rQM6RaB8bbxj2lwRSAMSjA=";
};
});
};
};
};
in python.pkgs.buildPythonApplication rec {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -8,7 +8,6 @@
, gtkmm2
, gerbv
, librsvg
, bash
}:
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 }:
buildPythonApplication rec {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -11,7 +11,7 @@ let
py = python3.override {
packageOverrides = self: super: {
# 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";
format = "setuptools";
src = fetchPypi {
@ -19,7 +19,7 @@ let
inherit version;
hash = "sha256-LdpflnGa6Js+wPG3lpjYbrmuyx1U6ZCrs/3ZLAS0apA=";
};
});
};
};
self = py;
};

View file

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

View file

@ -1,4 +1,4 @@
{ stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec {
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
, libxml2, desktop-file-utils, libusb1, cups, gdk-pixbuf, pango, atk, libnotify
, 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 {
pname = "todo";

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,5 +1,5 @@
{ 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
}:
buildPythonApplication rec {

View file

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

View file

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