pkgs/*: remove unreferenced function arguments

This commit is contained in:
volth
2018-07-21 00:44:44 +00:00
parent 1a6af9f88e
commit 52f53c69ce
1540 changed files with 1554 additions and 1878 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, bash, pythonPackages }:
{ stdenv, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
version = "1.3";

View File

@@ -1,5 +1,5 @@
# This file was generated by go2nix.
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
name = "azure-vhd-utils-${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl }:
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "bibutils-${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, ncurses, python, perl, textual-window-manager }:
{ stdenv, fetchurl, python, perl, textual-window-manager }:
stdenv.mkDerivation rec {
version = "5.125";

View File

@@ -1,7 +1,7 @@
{ stdenv, fetchurl, bash-completion
, glib, polkit, pkgconfig, gettext, gusb, lcms2, sqlite, systemd, dbus
, gobjectIntrospection, argyllcms, meson, ninja, libxml2, vala_0_40
, libgudev, sane-backends, udev, gnome3, makeWrapper }:
, libgudev, sane-backends, gnome3, makeWrapper }:
stdenv.mkDerivation rec {
name = "colord-1.4.2";

View File

@@ -1,5 +1,5 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
name = "dashing-unstable-${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, dpkg, gettext, gawk, perl, wget, coreutils, fakeroot }:
{ stdenv, fetchurl, dpkg, gettext, gawk, perl, wget, coreutils }:
# USAGE like this: debootstrap sid /tmp/target-chroot-directory
# There is also cdebootstrap now. Is that easier to maintain?

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildGoPackage, bash, writeText}:
{ stdenv, fetchFromGitHub, buildGoPackage, bash}:
buildGoPackage rec {
name = "direnv-${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cargo, rustPlatform }:
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
name = "dust-${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, bundlerEnv, ruby, curl }:
{ lib, bundlerEnv, ruby }:
bundlerEnv {
inherit ruby;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchpatch, lib
{ stdenv, fetchFromGitHub, lib
, autoconf, automake, gnum4, libtool, perl, gnulib, uthash, pkgconfig, gettext
, python, freetype, zlib, glib, libungif, libpng, libjpeg, libtiff, libxml2, pango
, withSpiro ? false, libspiro

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, ncurses, buildGoPackage, fetchFromGitHub, writeText }:
{ stdenv, ncurses, buildGoPackage, fetchFromGitHub, writeText }:
buildGoPackage rec {
name = "fzf-${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, lib, file, licenseFile, optgamsFile}:
{ stdenv, fetchurl, unzip, file, licenseFile, optgamsFile}:
assert licenseFile != null;

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, buildGoPackage, fetchgit }:
{ stdenv, buildGoPackage, fetchgit }:
with builtins;

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoPackage, fetchFromGitHub }:
let
goPackagePath = "github.com/github/gh-ost";

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
name = "gosu-${version}";

View File

@@ -1,4 +1,4 @@
{ pkgs, stdenv, fetchurl, fetchFromGitHub, unzip, graylog }:
{ pkgs, stdenv, fetchurl, unzip, graylog }:
with pkgs.lib;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchFromSavannah, autogen, flex, bison, python, autoconf, automake
{ stdenv, fetchurl, flex, bison, python
, gettext, ncurses, libusb, freetype, qemu, lvm2, unifont, pkgconfig
, fuse # only needed for grub-mount
, zfs ? null

View File

@@ -1,6 +1,5 @@
{ stdenv
, fetchurl
, gcc
, removeReferencesTo
, cpp ? false
, gfortran ? null

View File

@@ -1,6 +1,5 @@
{ stdenv
, fetchurl
, gcc
, removeReferencesTo
, cpp ? false
, gfortran ? null

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, ant, javac, hdf_java }:
{ stdenv, fetchurl, ant, javac, hdf_java }:
stdenv.mkDerivation rec {
name = "hdfview-${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
name = "i3cat-${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, pkgconfig, autoreconfHook
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
, boost, libbitcoin, libbitcoin-protocol }:
let

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, pkgconfig, autoreconfHook
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
, boost, libbitcoin-client, libbitcoin-network }:
let

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, pkgconfig, autoreconfHook
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
, boost, libbitcoin, zeromq }:
let

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, pkgconfig, autoreconfHook
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
, boost, libbitcoin, secp256k1, zeromq }:
let

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, pkgconfig, autoreconfHook
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
, boost, secp256k1 }:
let

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "massren-${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "mmake-${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchpatch }:
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "neofetch-${version}";

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl, ncurses, glib, gettext, readline, pkgconfig }:
{stdenv, fetchurl, glib, gettext, readline, pkgconfig }:
stdenv.mkDerivation rec {
name = "pal-0.4.3";

View File

@@ -1,4 +1,4 @@
{ buildPythonApplication, lib, fetchFromGitHub, bashInteractive
{ lib, fetchFromGitHub, bashInteractive
, python3, vim
}:

View File

@@ -1,5 +1,5 @@
{
mkDerivation, fetchFromGitHub, fetchurl, lib,
mkDerivation, fetchFromGitHub, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook,
baloo, karchive, kconfig, kcrash, kfilemetadata, kinit, kirigami2, knewstuff, plasma-framework
}:

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, bash, cabextract, curl, gnupg, libX11, libGLU_combined, perl, wineStaging
{ stdenv, fetchurl, bash, cabextract, curl, gnupg, libX11, libGLU_combined, wineStaging
}:
let

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, rsync, glibc, gawk }:
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "5.53";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmake }:
{ stdenv, fetchurl, qtbase, qttools, qmake }:
let inherit (stdenv.lib) getDev; in

View File

@@ -1,4 +1,4 @@
{ fetchurl, stdenv, gettext, emacs, curl, check, bc }:
{ fetchurl, stdenv, emacs, curl, check, bc }:
stdenv.mkDerivation rec {
name = "recutils-1.7";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, skalibs, gcc }:
{ stdenv, fetchurl, skalibs }:
with stdenv.lib;

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, makeWrapper, pythonPackages, perl, zip
, rtmpdump, substituteAll }:
, rtmpdump }:
let
inherit (pythonPackages) python nose pycrypto requests mock;

View File

@@ -1,10 +1,9 @@
{ stdenv, fetchurl, udev, intltool, pkgconfig, glib, xmlto, wrapGAppsHook
, makeWrapper, gtk3, docbook_xml_dtd_412, docbook_xsl
, docbook_xml_dtd_412, docbook_xsl
, libxml2, desktop-file-utils, libusb1, cups, gdk_pixbuf, pango, atk, libnotify
, gobjectIntrospection, libsecret
, cups-filters
, pythonPackages
, withGUI ? true
}:
stdenv.mkDerivation rec {

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, bundlerEnv, ruby }:
{ lib, bundlerEnv, ruby }:
bundlerEnv {
name = "t-3.1.0";

View File

@@ -1,4 +1,4 @@
{ lib, buildRubyGem, makeWrapper, ruby }:
{ lib, buildRubyGem, ruby }:
# Cannot use bundleEnv because bundleEnv create stub with
# BUNDLE_FROZEN='1' environment variable set, which broke everything

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, python }:
{ stdenv, python }:
with python.pkgs;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libcaca, figlet }:
{ stdenv, fetchurl, pkgconfig, libcaca }:
stdenv.mkDerivation rec {
name = "toilet-${version}";

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, fetchpatch, coreutils
, python3, python3Packages, substituteAll }:
, python3Packages, substituteAll }:
python3Packages.buildPythonApplication rec {
name = "trash-cli-${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, buildGoPackage, fetchgit }:
# To use upower-notify, the maintainer suggests adding something like this to your configuration.nix:
#

View File

@@ -1,4 +1,4 @@
{ stdenv, autoconf, automake, pkgconfig, gettext, intltool, libtool, bison
{ stdenv, autoconf, automake, pkgconfig, gettext, libtool, bison
, flex, which, subversion, fetchsvn, makeWrapper, libftdi, libusb, readline
, python3
, svfSupport ? false

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, rustPlatform, fetchFromGitHub }:
{ stdenv, rustPlatform, fetchFromGitHub }:
with rustPlatform;

View File

@@ -1,6 +1,6 @@
{ stdenv, acl, attr, autoconf, automake, bash, bc, coreutils, e2fsprogs
, fetchgit, fio, gawk, keyutils, killall, lib, libaio, libcap, libtool
, libuuid, libxfs, lvm2, openssl, perl, procps, quota, su
, libuuid, libxfs, lvm2, openssl, perl, procps, quota
, time, utillinux, which, writeScript, xfsprogs }:
stdenv.mkDerivation {

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, xkbcomp, xorgserver, getopt
{ stdenv, fetchurl, makeWrapper, xorgserver, getopt
, xauth, utillinux, which, fontsConf, gawk, coreutils }:
let
xvfb_run = fetchurl {

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, targetPlatform, fetchurl, buildPythonPackage
{ lib, fetchurl, buildPythonPackage
, zip, ffmpeg, rtmpdump, phantomjs2, atomicparsley, pycryptodome, pandoc
# Pandoc is required to build the package's man page. Release tarballs contain a
# formatted man page already, though, it will still be installed. We keep the

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, python27Packages
{ stdenv, fetchurl, python27Packages
, libykneomgr, yubikey-personalization, libu2f-host }:
python27Packages.buildPythonPackage rec {

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, bash }:
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "zsh-autoenv-${version}";