Skip to content

Commit

Permalink
treewide: remove unused occurence of fetchFromGitHub argument
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed May 26, 2024
1 parent 3f99d04 commit e265cd2
Show file tree
Hide file tree
Showing 57 changed files with 34 additions and 59 deletions.
1 change: 0 additions & 1 deletion pkgs/applications/audio/cardinal/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ stdenv
, fetchFromGitHub
, fetchurl
, cmake
, dbus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
, fetchzip
, melpaBuild
, stdenv
, fetchFromGitHub
, writeText
, melpaStablePackages
, runCommand
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/editors/neovim/tests/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# run tests by building `neovim.tests`
{ vimUtils, writeText, neovim, vimPlugins
, lib, fetchFromGitHub, neovimUtils, wrapNeovimUnstable
, lib, neovimUtils, wrapNeovimUnstable
, neovim-unwrapped
, fetchFromGitLab
, runCommandLocal
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/finance/odoo/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchzip
, python310
, rtlcss
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, fetchFromGitLab
, fetchFromGitHub
, buildGoModule
, pkg-config
}:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/virtualization/docker/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, callPackage, fetchFromGitHub }:
{ lib, callPackage }:

rec {
dockerGen = {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/window-managers/xmonad/xmonadctl.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, ghcWithPackages, haskellPackages, ... }:
{ stdenv, lib, ghcWithPackages, haskellPackages, ... }:

let xmonadctlEnv = ghcWithPackages (self: [ self.xmonad-contrib self.X11 ]);
in stdenv.mkDerivation rec {
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/co/comic-mandown/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, python3Packages
, fetchFromGitHub

, withGUI ? true
}:
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/dx/dxvk/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
lib,
stdenvNoCC,
overrideCC,
fetchFromGitHub,
pkgsCross,
bash,
}:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/fl/flatito/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, ruby, buildRubyGem, bundlerEnv }:
{ lib, ruby, buildRubyGem, bundlerEnv }:
let
deps = bundlerEnv rec {
inherit ruby;
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/pw/pwndbg/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, python3
, fetchFromGitHub
, makeWrapper
, gdb
}:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/beam-modules/elvis-erlang/rebar-deps.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by rebar3_nix
let fetchOnly = { src, ... }: src;
in { builder ? fetchOnly, fetchHex, fetchgit, fetchFromGitHub, overrides ? (x: y: { }) }:
in { builder ? fetchOnly, fetchHex, fetchgit, overrides ? (x: y: { }), ... }:
let
self = packages // (overrides self packages);
packages = with self; {
Expand Down
5 changes: 3 additions & 2 deletions pkgs/development/compilers/bs-platform/build-bs-platform.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is based on https://github.com/turboMaCk/bs-platform.nix/blob/master/build-bs-platform.nix
# to make potential future updates simpler

{ lib, stdenv, fetchFromGitHub, ninja, runCommand, nodejs, python3,
{ lib, stdenv, ninja, runCommand, nodejs, python3,
ocaml-version, version, src,
patches ? [],
ocaml ? (import ./ocaml.nix {
Expand All @@ -15,7 +15,8 @@
tar zxvf ${src}/vendor/ninja.tar.gz -C $out
'';
patches = [];
}))
})),
...
}:

let
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/dotnet/vmr.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, stdenvNoCC
, lib
, fetchurl
, fetchFromGitHub
, dotnetCorePackages
, jq
, curl
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/nim/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://nim-lang.github.io/Nim/packaging.html
# https://nim-lang.org/docs/nimc.html

{ lib, callPackage, buildPackages, stdenv, fetchurl, fetchgit, fetchFromGitHub
{ lib, callPackage, buildPackages, stdenv, fetchurl, fetchgit
, makeWrapper, openssl, pcre, readline, boehmgc, sqlite, Security
, nim-unwrapped-2, nim-unwrapped-1, nim }:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/embedded/platformio/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ newScope, fetchFromGitHub, python3Packages }:
{ newScope, python3Packages }:

let
callPackage = newScope self;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/interpreters/ruby/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, buildPackages, lib
, fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub
, fetchurl, fetchpatch, fetchFromSavannah
, zlib, gdbm, ncurses, readline, groff, libyaml, libffi, jemalloc, autoreconfHook, bison
, autoconf, libiconv, libobjc, libunwind, Foundation
, buildEnv, bundler, bundix, cargo, rustPlatform, rustc
Expand All @@ -26,7 +26,7 @@ let
yjitSupported = atLeast32 && (stdenv.hostPlatform.isx86_64 || (!stdenv.hostPlatform.isWindows && stdenv.hostPlatform.isAarch64));
rubyDrv = lib.makeOverridable (
{ stdenv, buildPackages, lib
, fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub
, fetchurl, fetchpatch, fetchFromSavannah
, rubygemsSupport ? true
, zlib, zlibSupport ? true
, openssl, opensslSupport ? true
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/julia-modules/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, callPackage
, runCommand
, fetchFromGitHub
, fetchgit
, fontconfig
, git
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/snap7/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, fetchzip, p7zip }:
{ stdenv, lib, fetchzip, p7zip }:

stdenv.mkDerivation rec {
pname = "snap7";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/v8/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchgit, fetchFromGitHub
{ stdenv, lib, fetchgit
, gn, ninja, python3, glib, pkg-config, icu
, xcbuild, darwin
, fetchpatch
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/misc/resholve/test.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
, callPackage
, resholve
, shunit2
, fetchFromGitHub
, coreutils
, gnused
, gnugrep
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/angstrom-async/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, angstrom, async }:
{ lib, buildDunePackage, angstrom, async }:

buildDunePackage rec {
pname = "angstrom-async";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, angstrom, lwt }:
{ lib, buildDunePackage, angstrom, lwt }:

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

buildDunePackage rec {
pname = "angstrom-unix";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/ffmpeg/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, fetchFromGitHub, callPackage
{ lib, buildDunePackage, callPackage
, ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg-avutil
, ffmpeg-avcodec
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/ffmpeg/ffmpeg-av.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage
{ lib, buildDunePackage, dune-configurator, pkg-config, callPackage
, AudioToolbox
, ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg-avutil, ffmpeg-avcodec, ffmpeg
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/ffmpeg/ffmpeg-avcodec.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage
{ lib, buildDunePackage, dune-configurator, pkg-config, callPackage
, AudioToolbox
, ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg-avutil, ffmpeg
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/ffmpeg/ffmpeg-avdevice.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage
{ lib, buildDunePackage, dune-configurator, pkg-config, callPackage
, AppKit
, AudioToolbox
, AVFoundation
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/ffmpeg/ffmpeg-avfilter.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage
{ lib, buildDunePackage, dune-configurator, pkg-config, callPackage
, AppKit
, CoreImage
, ffmpeg-base ? callPackage ./base.nix { }
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/ffmpeg/ffmpeg-avutil.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage
{ lib, stdenv, buildDunePackage, dune-configurator, pkg-config, callPackage
, AudioToolbox, VideoToolbox
, ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage
{ lib, buildDunePackage, dune-configurator, pkg-config, callPackage
, ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg-avutil, ffmpeg-avcodec, ffmpeg
, stdenv
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/ffmpeg/ffmpeg-swscale.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage
{ lib, buildDunePackage, dune-configurator, pkg-config, callPackage
, ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg-avutil, ffmpeg
, stdenv
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/landmarks-ppx/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml, landmarks, ppxlib }:
{ lib, buildDunePackage, ocaml, landmarks, ppxlib }:

buildDunePackage {
pname = "landmarks-ppx";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/mparser/pcre.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ fetchFromGitHub, buildDunePackage, ocaml_pcre, mparser }:
{ buildDunePackage, ocaml_pcre, mparser }:

buildDunePackage rec {
pname = "mparser-pcre";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/ocaml-protoc/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage
{ lib, buildDunePackage
, pbrt
, stdlib-shims
}:
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/ocaml-modules/owl/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ buildDunePackage
, dune-configurator
, fetchFromGitHub
, alcotest
, ctypes
, stdio
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/ocaml-modules/plotkicadsch/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, buildDunePackage
, fetchFromGitHub
, substituteAll
, base64
, cmdliner
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/python-modules/basemap-data/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
basemap,
cython,
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/python-modules/edlib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
edlib,
cython,
python,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchPypi,
llama-index-core,
poetry-core,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchPypi,
llama-index-core,
poetry-core,
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/python-modules/particle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
attrs,
buildPythonPackage,
deprecated,
fetchFromGitHub,
fetchPypi,
hatch-vcs,
hatchling,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
future,
psutil,
pytest,
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/python-modules/python-csxcad/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
cython,
openems,
csxcad,
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/python-modules/qiling/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
lib,
buildPythonPackage,
capstone,
fetchFromGitHub,
fetchPypi,
gevent,
keystone-engine,
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/python-modules/simpleitk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
cmake,
swig4,
elastix,
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/skaware-packages/execline/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, skawarePackages, skalibs }:
{ lib, skawarePackages, skalibs }:

let
version = "2.9.5.1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
, darwin
, distDir
, extraBazelArgs ? ""
, fetchFromGitHub
, fetchurl
, jdk11_headless
, lib
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by rebar3_nix
let fetchOnly = { src, ... }: src;
in { builder ? fetchOnly, fetchHex, fetchgit, fetchFromGitHub, overrides ? (x: y: { }) }:
in { builder ? fetchOnly, fetchHex, fetchgit, overrides ? (x: y: { }), ... }:
let
self = packages // (overrides self packages);
packages = with self; {
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/web/playwright/driver.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
, git
, jq
, nodejs
, fetchFromGitHub
, fetchurl
, makeFontsConf
, makeWrapper
Expand Down
2 changes: 1 addition & 1 deletion pkgs/games/redeclipse/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchurl, fetchpatch
{ lib, stdenv, fetchurl, fetchpatch
, curl, ed, pkg-config, freetype, zlib, libX11
, SDL2, SDL2_image, SDL2_mixer
}:
Expand Down
1 change: 0 additions & 1 deletion pkgs/games/sm64ex/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

, lib
, stdenv
, fetchFromGitHub
, python3
, pkg-config
, audiofile
Expand Down
1 change: 0 additions & 1 deletion pkgs/os-specific/linux/g15daemon/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchurl
, fetchpatch
, patchelf
Expand Down
1 change: 0 additions & 1 deletion pkgs/servers/gotify/ui.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, yarn
, fixup-yarn-lock
, nodejs-slim
, fetchFromGitHub
, fetchYarnDeps
, gotify-server
}:
Expand Down
Loading

0 comments on commit e265cd2

Please sign in to comment.