Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treewide: remove unused occurence of fetchurl argument #313048

Merged
merged 1 commit into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkgs/applications/editors/l3afpad/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, intltool, pkg-config, gtk3, fetchFromGitHub
{ lib, stdenv, intltool, pkg-config, gtk3, fetchFromGitHub
, autoreconfHook, wrapGAppsHook3 }:

stdenv.mkDerivation rec {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
lib,
vscode-utils,
fetchurl,
writeScript,
runtimeShell,
jq,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchFromGitLab, jdk17_headless, coreutils, findutils, gnused,
{ lib, stdenv, fetchFromGitLab, jdk17_headless, coreutils, findutils, gnused,
gradle, git, perl, makeWrapper, fetchpatch, substituteAll, jre_minimal
}:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, stdenv
, fetchurl
, fetchFromGitHub
, autoreconfHook
, autoconf-archive
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/office/wpsoffice/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, stdenv
, fetchurl
, dpkg
, autoPatchelfHook
, alsa-lib
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/science/biology/whisper/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, fetchurl }:
{ lib, stdenv, fetchFromGitHub, fetchpatch }:

stdenv.mkDerivation rec {
pname = "whisper";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, stdenv
, fetchFromGitLab
, fetchFromGitHub
, fetchurl
, git
, cmake
, gnum4
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/terminal-emulators/contour/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchurl
, cmake
, pkg-config
, boxed-cpp
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/version-management/gitlab/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchpatch, fetchFromGitLab, bundlerEnv
{ stdenv, lib, fetchpatch, fetchFromGitLab, bundlerEnv
, ruby_3_1, tzdata, git, nettools, nixosTests, nodejs, openssl
, defaultGemConfig, buildRubyGem
, gitlabEnterprise ? false, callPackage, yarn
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/nx/nxengine-evo/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
ninja,
fetchFromGitHub,
fetchpatch,
fetchurl,
libpng,
stdenv,
}:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/data/documentation/linux-manual/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, perl, linuxPackages_latest }:
{ lib, stdenv, perl, linuxPackages_latest }:

stdenv.mkDerivation rec {
pname = "linux-manual";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/data/fonts/gohufont/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub
, xorg, bdf2psf, bdftopcf
, libfaketime
}:
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/libraries/arrow-glib/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ stdenv
, arrow-cpp
, fetchurl
, glib
, gobject-introspection
, lib
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/libraries/cminpack/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
, cmake
, darwin
, fetchFromGitHub
, fetchurl
, withBlas ? true, blas
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/libagar/libagar_test.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, bsdbuild, libagar, perl, libjpeg, libpng, openssl }:
{ lib, stdenv, bsdbuild, libagar, perl, libjpeg, libpng, openssl }:

stdenv.mkDerivation {
pname = "libagar-test";
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/libraries/libimagequant/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchurl
, rust
, rustPlatform
, cargo-c
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/mp4v2/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, fetchurl }:
{ stdenv, lib, fetchFromGitHub }:

stdenv.mkDerivation rec {
pname = "mp4v2";
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/libraries/sharness/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchurl
, perl
, perlPackages
, sharnessExtensions ? {} }:
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/libraries/spandsp/common.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, stdenv
, fetchurl
, audiofile
, libtiff
, buildPackages
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/ocaml-modules/cooltt/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, fetchFromGitHub
, fetchurl
, buildDunePackage
, bos
, bwd
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/lun/ppx.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, fetchurl, fmt, lun, ppxlib }:
{ lib, buildDunePackage, fmt, lun, ppxlib }:

buildDunePackage {
pname = "ppx_lun";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/lwd/nottui-lwt.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchurl, buildDunePackage, lwd, lwt, nottui }:
{ lib, buildDunePackage, lwd, lwt, nottui }:

buildDunePackage {
pname = "nottui-lwt";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/lwd/nottui-pretty.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchurl, buildDunePackage, lwd, nottui }:
{ lib, buildDunePackage, lwd, nottui }:

buildDunePackage {
pname = "nottui-pretty";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/lwd/nottui.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchurl, buildDunePackage, lwd, notty }:
{ lib, buildDunePackage, lwd, notty }:

buildDunePackage {
pname = "nottui";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/lwd/tyxml-lwd.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchurl, fetchpatch, buildDunePackage, js_of_ocaml, js_of_ocaml-ppx, lwd, tyxml }:
{ lib, fetchpatch, buildDunePackage, js_of_ocaml, js_of_ocaml-ppx, lwd, tyxml }:

buildDunePackage {
pname = "tyxml-lwd";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/mirage-time/unix.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ buildDunePackage, fetchurl, mirage-time, lwt, duration }:
{ buildDunePackage, mirage-time, lwt, duration }:

buildDunePackage {
pname = "mirage-time-unix";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/mirage/runtime.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, fetchurl, ipaddr, functoria-runtime
{ lib, buildDunePackage, ipaddr, functoria-runtime
, logs, lwt
, alcotest
}:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Version can be selected with the 'version' argument, see generic.nix.
{ lib, fetchurl, buildDunePackage, ocaml, csexp, sexplib0, callPackage, ... }@args:
{ lib, buildDunePackage, ocaml, csexp, sexplib0, callPackage, ... }@args:

let
# for compat with ocaml-lsp
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/odoc/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchurl, buildDunePackage, ocaml
{ lib, buildDunePackage, ocaml
, ocaml-crunch
, astring, cmdliner, cppo, fpath, result, tyxml
, markup, yojson, sexplib0, jq
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/ocaml-modules/opium/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ buildDunePackage
, lib
, fetchurl
, astring
, base64
, cmdliner
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/saturn/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchurl, buildDunePackage, ocaml
{ lib, buildDunePackage, ocaml
, saturn_lockfree
, dscheck
, qcheck, qcheck-alcotest, qcheck-stm
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/yaml/yaml-sexp.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchurl, buildDunePackage, yaml, dune-configurator, ppx_sexp_conv, sexplib
{ lib, buildDunePackage, yaml, dune-configurator, ppx_sexp_conv, sexplib
, junit_alcotest
}:

Expand Down
1 change: 0 additions & 1 deletion pkgs/development/python-modules/bpycv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
, buildPythonPackage
, fetchFromGitHub
, fetchPypi
, fetchurl
, minexr
, opencv4
, python3Packages
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/python-modules/eduvpn-common/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, callPackage
, fetchurl
, libeduvpn-common
, selenium
, setuptools
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/analysis/clang-analyzer/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, clang, llvmPackages, perl, makeWrapper, python3 }:
{ lib, stdenv, clang, llvmPackages, perl, makeWrapper, python3 }:

stdenv.mkDerivation rec {
pname = "clang-analyzer";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitLab, fetchurl, bash }:
{ lib, buildGoModule, fetchFromGitLab, bash }:

let
version = "16.11.1";
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/tools/language-servers/zls/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchurl
, zig_0_12
, callPackage
}:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/misc/patchelf/unstable.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, autoreconfHook, fetchFromGitHub, unstableGitUpdater }:
{ lib, stdenv, autoreconfHook, fetchFromGitHub, unstableGitUpdater }:

stdenv.mkDerivation rec {
pname = "patchelf";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/ocaml/merlin/dot-merlin-reader.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchurl, yojson, csexp, findlib, buildDunePackage, merlin-lib, merlin, result }:
{ lib, yojson, csexp, findlib, buildDunePackage, merlin-lib, merlin, result }:

buildDunePackage rec {
pname = "dot-merlin-reader";
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/tools/rust/duckscript/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, stdenv
, fetchurl
, runCommand
, fetchCrate
, rustPlatform
Expand Down
2 changes: 1 addition & 1 deletion pkgs/games/deliantra/data.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, deliantra-maps, deliantra-arch, deliantra-server, symlinkJoin }:
{ stdenv, lib, deliantra-maps, deliantra-arch, deliantra-server, symlinkJoin }:

symlinkJoin rec {
name = "deliantra-data-${version}";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/games/frogatto/engine.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchurl, which
{ lib, stdenv, fetchFromGitHub, which
, boost, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf
, glew, zlib, icu, pkg-config, cairo, libvpx, glm
}:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/games/liberation-circuit/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, fetchurl, pkg-config, allegro5, libGL, wrapGAppsHook3 }:
{ stdenv, lib, fetchFromGitHub, pkg-config, allegro5, libGL, wrapGAppsHook3 }:

stdenv.mkDerivation rec {
pname = "liberation-circuit";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/games/planetaryannihilation/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, config, fetchurl, patchelf, makeWrapper, gtk2, glib, udev, alsa-lib, atk
{ lib, stdenv, patchelf, makeWrapper, gtk2, glib, udev, alsa-lib, atk
, nspr, fontconfig, cairo, pango, nss, freetype, gnome2, gdk-pixbuf, curl, systemd, xorg, requireFile }:

stdenv.mkDerivation rec {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/games/system-syzygy/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, rustPlatform, fetchFromGitHub, fetchurl, SDL2, makeWrapper, makeDesktopItem}:
{ stdenv, lib, rustPlatform, fetchFromGitHub, SDL2, makeWrapper, makeDesktopItem}:

let
desktopFile = makeDesktopItem {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, appleDerivation, xcbuildHook, Libc, stdenv, macosPackages_11_0_1, xnu
, fetchurl, libutil }:
, libutil }:

let
xnu-src = if stdenv.isAarch64 then macosPackages_11_0_1.xnu.src else xnu.src;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/anbox/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchurl
{ lib, stdenv, fetchFromGitHub
, callPackage
, fetchpatch
, cmake, pkg-config, dbus, makeWrapper
Expand Down
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/lenovo-legion/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchurl, stdenv, kernel, bash, lenovo-legion }:
{ lib, stdenv, kernel, bash, lenovo-legion }:

stdenv.mkDerivation {
pname = "lenovo-legion-module";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/numworks-udev-rules/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv }:

stdenv.mkDerivation rec {
pname = "numworks-udev-rules";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/xone/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, kernel, fetchurl, fetchpatch }:
{ stdenv, lib, fetchFromGitHub, kernel, fetchpatch }:

stdenv.mkDerivation (finalAttrs: {
pname = "xone";
Expand Down
3 changes: 1 addition & 2 deletions pkgs/pkgs-lib/formats/java-properties/test/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ fetchurl
, formats
{ formats
, glibcLocales
, jdk
, lib
Expand Down
2 changes: 1 addition & 1 deletion pkgs/servers/http/apache-modules/mod_fastcgi/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchurl, apacheHttpd }:
{ lib, stdenv, fetchFromGitHub, apacheHttpd }:

stdenv.mkDerivation rec {
pname = "mod_fastcgi";
Expand Down
1 change: 0 additions & 1 deletion pkgs/servers/jellyfin/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, fetchFromGitHub
, fetchurl
, nixosTests
, stdenv
, dotnetCorePackages
Expand Down
2 changes: 1 addition & 1 deletion pkgs/servers/plik/programs.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, fetchurl, makeWrapper, runCommand }:
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, runCommand }:

let
version = "1.3.8";
Expand Down
1 change: 0 additions & 1 deletion pkgs/servers/pulseaudio/qpaeq.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ mkDerivation
, makeDesktopItem
, python3
, fetchurl
, lib
, pulseaudio
}:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/security/yubikey-touch-detector/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, libnotify, gpgme, buildGoModule, fetchFromGitHub, fetchurl, pkg-config }:
{ lib, libnotify, gpgme, buildGoModule, fetchFromGitHub, pkg-config }:

buildGoModule rec {
pname = "yubikey-touch-detector";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/typesetting/biber-ms/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchurl, perlPackages, shortenPerlShebang, texlive }:
{ lib, stdenv, fetchFromGitHub, perlPackages, shortenPerlShebang, texlive }:

let
biberSource = texlive.pkgs.biber-ms.texsource;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/typesetting/biber/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, perlPackages, shortenPerlShebang, texlive }:
{ lib, stdenv, perlPackages, shortenPerlShebang, texlive }:

let
biberSource = texlive.pkgs.biber.texsource;
Expand Down
Loading