treewide: remove unused occurence of fetchFromGitHub argument

This commit is contained in:
isabel 2024-05-26 19:08:40 +01:00 committed by Emery Hemingway
parent cf2531726c
commit 63aceac766
57 changed files with 34 additions and 59 deletions

View File

@ -1,5 +1,4 @@
{ stdenv { stdenv
, fetchFromGitHub
, fetchurl , fetchurl
, cmake , cmake
, dbus , dbus

View File

@ -4,7 +4,6 @@
, fetchzip , fetchzip
, melpaBuild , melpaBuild
, stdenv , stdenv
, fetchFromGitHub
, writeText , writeText
, melpaStablePackages , melpaStablePackages
, runCommand , runCommand

View File

@ -1,6 +1,6 @@
# run tests by building `neovim.tests` # run tests by building `neovim.tests`
{ vimUtils, writeText, neovim, vimPlugins { vimUtils, writeText, neovim, vimPlugins
, lib, fetchFromGitHub, neovimUtils, wrapNeovimUnstable , lib, neovimUtils, wrapNeovimUnstable
, neovim-unwrapped , neovim-unwrapped
, fetchFromGitLab , fetchFromGitLab
, runCommandLocal , runCommandLocal

View File

@ -1,6 +1,5 @@
{ stdenv { stdenv
, lib , lib
, fetchFromGitHub
, fetchzip , fetchzip
, python310 , python310
, rtlcss , rtlcss

View File

@ -1,6 +1,5 @@
{ lib { lib
, fetchFromGitLab , fetchFromGitLab
, fetchFromGitHub
, buildGoModule , buildGoModule
, pkg-config , pkg-config
}: }:

View File

@ -1,4 +1,4 @@
{ lib, callPackage, fetchFromGitHub }: { lib, callPackage }:
rec { rec {
dockerGen = { dockerGen = {

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, ghcWithPackages, haskellPackages, ... }: { stdenv, lib, ghcWithPackages, haskellPackages, ... }:
let xmonadctlEnv = ghcWithPackages (self: [ self.xmonad-contrib self.X11 ]); let xmonadctlEnv = ghcWithPackages (self: [ self.xmonad-contrib self.X11 ]);
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {

View File

@ -1,6 +1,5 @@
{ lib { lib
, python3Packages , python3Packages
, fetchFromGitHub
, withGUI ? true , withGUI ? true
}: }:

View File

@ -2,7 +2,6 @@
lib, lib,
stdenvNoCC, stdenvNoCC,
overrideCC, overrideCC,
fetchFromGitHub,
pkgsCross, pkgsCross,
bash, bash,
}: }:

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, ruby, buildRubyGem, bundlerEnv }: { lib, ruby, buildRubyGem, bundlerEnv }:
let let
deps = bundlerEnv rec { deps = bundlerEnv rec {
inherit ruby; inherit ruby;

View File

@ -1,7 +1,6 @@
{ lib { lib
, stdenv , stdenv
, python3 , python3
, fetchFromGitHub
, makeWrapper , makeWrapper
, gdb , gdb
}: }:

View File

@ -1,6 +1,6 @@
# Generated by rebar3_nix # Generated by rebar3_nix
let fetchOnly = { src, ... }: src; let fetchOnly = { src, ... }: src;
in { builder ? fetchOnly, fetchHex, fetchgit, fetchFromGitHub, overrides ? (x: y: { }) }: in { builder ? fetchOnly, fetchHex, fetchgit, overrides ? (x: y: { }), ... }:
let let
self = packages // (overrides self packages); self = packages // (overrides self packages);
packages = with self; { packages = with self; {

View File

@ -1,7 +1,7 @@
# This file is based on https://github.com/turboMaCk/bs-platform.nix/blob/master/build-bs-platform.nix # This file is based on https://github.com/turboMaCk/bs-platform.nix/blob/master/build-bs-platform.nix
# to make potential future updates simpler # to make potential future updates simpler
{ lib, stdenv, fetchFromGitHub, ninja, runCommand, nodejs, python3, { lib, stdenv, ninja, runCommand, nodejs, python3,
ocaml-version, version, src, ocaml-version, version, src,
patches ? [], patches ? [],
ocaml ? (import ./ocaml.nix { ocaml ? (import ./ocaml.nix {
@ -15,7 +15,8 @@
tar zxvf ${src}/vendor/ninja.tar.gz -C $out tar zxvf ${src}/vendor/ninja.tar.gz -C $out
''; '';
patches = []; patches = [];
})) })),
...
}: }:
let let

View File

@ -2,7 +2,6 @@
, stdenvNoCC , stdenvNoCC
, lib , lib
, fetchurl , fetchurl
, fetchFromGitHub
, dotnetCorePackages , dotnetCorePackages
, jq , jq
, curl , curl

View File

@ -1,7 +1,7 @@
# https://nim-lang.github.io/Nim/packaging.html # https://nim-lang.github.io/Nim/packaging.html
# https://nim-lang.org/docs/nimc.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 , makeWrapper, openssl, pcre, readline, boehmgc, sqlite, Security
, nim-unwrapped-2, nim-unwrapped-1, nim }: , nim-unwrapped-2, nim-unwrapped-1, nim }:

View File

@ -1,4 +1,4 @@
{ newScope, fetchFromGitHub, python3Packages }: { newScope, python3Packages }:
let let
callPackage = newScope self; callPackage = newScope self;

View File

@ -1,5 +1,5 @@
{ stdenv, buildPackages, lib { stdenv, buildPackages, lib
, fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub , fetchurl, fetchpatch, fetchFromSavannah
, zlib, gdbm, ncurses, readline, groff, libyaml, libffi, jemalloc, autoreconfHook, bison , zlib, gdbm, ncurses, readline, groff, libyaml, libffi, jemalloc, autoreconfHook, bison
, autoconf, libiconv, libobjc, libunwind, Foundation , autoconf, libiconv, libobjc, libunwind, Foundation
, buildEnv, bundler, bundix, cargo, rustPlatform, rustc , buildEnv, bundler, bundix, cargo, rustPlatform, rustc
@ -26,7 +26,7 @@ let
yjitSupported = atLeast32 && (stdenv.hostPlatform.isx86_64 || (!stdenv.hostPlatform.isWindows && stdenv.hostPlatform.isAarch64)); yjitSupported = atLeast32 && (stdenv.hostPlatform.isx86_64 || (!stdenv.hostPlatform.isWindows && stdenv.hostPlatform.isAarch64));
rubyDrv = lib.makeOverridable ( rubyDrv = lib.makeOverridable (
{ stdenv, buildPackages, lib { stdenv, buildPackages, lib
, fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub , fetchurl, fetchpatch, fetchFromSavannah
, rubygemsSupport ? true , rubygemsSupport ? true
, zlib, zlibSupport ? true , zlib, zlibSupport ? true
, openssl, opensslSupport ? true , openssl, opensslSupport ? true

View File

@ -1,7 +1,6 @@
{ lib { lib
, callPackage , callPackage
, runCommand , runCommand
, fetchFromGitHub
, fetchgit , fetchgit
, fontconfig , fontconfig
, git , git

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, fetchzip, p7zip }: { stdenv, lib, fetchzip, p7zip }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "snap7"; pname = "snap7";

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchgit, fetchFromGitHub { stdenv, lib, fetchgit
, gn, ninja, python3, glib, pkg-config, icu , gn, ninja, python3, glib, pkg-config, icu
, xcbuild, darwin , xcbuild, darwin
, fetchpatch , fetchpatch

View File

@ -3,7 +3,6 @@
, callPackage , callPackage
, resholve , resholve
, shunit2 , shunit2
, fetchFromGitHub
, coreutils , coreutils
, gnused , gnused
, gnugrep , gnugrep

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, angstrom, async }: { lib, buildDunePackage, angstrom, async }:
buildDunePackage rec { buildDunePackage rec {
pname = "angstrom-async"; pname = "angstrom-async";

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, angstrom, lwt }: { lib, buildDunePackage, angstrom, lwt }:
buildDunePackage rec { buildDunePackage rec {
pname = "angstrom-lwt-unix"; pname = "angstrom-lwt-unix";

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, angstrom }: { lib, buildDunePackage, angstrom }:
buildDunePackage rec { buildDunePackage rec {
pname = "angstrom-unix"; pname = "angstrom-unix";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, fetchFromGitHub, callPackage { lib, buildDunePackage, callPackage
, ffmpeg-base ? callPackage ./base.nix { } , ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg-avutil , ffmpeg-avutil
, ffmpeg-avcodec , ffmpeg-avcodec

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage { lib, buildDunePackage, dune-configurator, pkg-config, callPackage
, AudioToolbox , AudioToolbox
, ffmpeg-base ? callPackage ./base.nix { } , ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg-avutil, ffmpeg-avcodec, ffmpeg , ffmpeg-avutil, ffmpeg-avcodec, ffmpeg

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage { lib, buildDunePackage, dune-configurator, pkg-config, callPackage
, AudioToolbox , AudioToolbox
, ffmpeg-base ? callPackage ./base.nix { } , ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg-avutil, ffmpeg , ffmpeg-avutil, ffmpeg

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage { lib, buildDunePackage, dune-configurator, pkg-config, callPackage
, AppKit , AppKit
, AudioToolbox , AudioToolbox
, AVFoundation , AVFoundation

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage { lib, buildDunePackage, dune-configurator, pkg-config, callPackage
, AppKit , AppKit
, CoreImage , CoreImage
, ffmpeg-base ? callPackage ./base.nix { } , ffmpeg-base ? callPackage ./base.nix { }

View File

@ -1,4 +1,4 @@
{ lib, stdenv, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage { lib, stdenv, buildDunePackage, dune-configurator, pkg-config, callPackage
, AudioToolbox, VideoToolbox , AudioToolbox, VideoToolbox
, ffmpeg-base ? callPackage ./base.nix { } , ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg , ffmpeg

View File

@ -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-base ? callPackage ./base.nix { }
, ffmpeg-avutil, ffmpeg-avcodec, ffmpeg , ffmpeg-avutil, ffmpeg-avcodec, ffmpeg
, stdenv , stdenv

View File

@ -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-base ? callPackage ./base.nix { }
, ffmpeg-avutil, ffmpeg , ffmpeg-avutil, ffmpeg
, stdenv , stdenv

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml, landmarks, ppxlib }: { lib, buildDunePackage, ocaml, landmarks, ppxlib }:
buildDunePackage { buildDunePackage {
pname = "landmarks-ppx"; pname = "landmarks-ppx";

View File

@ -1,4 +1,4 @@
{ fetchFromGitHub, buildDunePackage, ocaml_pcre, mparser }: { buildDunePackage, ocaml_pcre, mparser }:
buildDunePackage rec { buildDunePackage rec {
pname = "mparser-pcre"; pname = "mparser-pcre";

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage { lib, buildDunePackage
, pbrt , pbrt
, stdlib-shims , stdlib-shims
}: }:

View File

@ -1,6 +1,5 @@
{ buildDunePackage { buildDunePackage
, dune-configurator , dune-configurator
, fetchFromGitHub
, alcotest , alcotest
, ctypes , ctypes
, stdio , stdio

View File

@ -1,6 +1,5 @@
{ lib { lib
, buildDunePackage , buildDunePackage
, fetchFromGitHub
, substituteAll , substituteAll
, base64 , base64
, cmdliner , cmdliner

View File

@ -1,7 +1,6 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub,
pythonAtLeast, pythonAtLeast,
basemap, basemap,
cython, cython,

View File

@ -2,7 +2,6 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
pythonOlder, pythonOlder,
fetchFromGitHub,
edlib, edlib,
cython, cython,
python, python,

View File

@ -1,7 +1,6 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub,
fetchPypi, fetchPypi,
llama-index-core, llama-index-core,
poetry-core, poetry-core,

View File

@ -1,7 +1,6 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub,
fetchPypi, fetchPypi,
llama-index-core, llama-index-core,
poetry-core, poetry-core,

View File

@ -3,7 +3,6 @@
attrs, attrs,
buildPythonPackage, buildPythonPackage,
deprecated, deprecated,
fetchFromGitHub,
fetchPypi, fetchPypi,
hatch-vcs, hatch-vcs,
hatchling, hatchling,

View File

@ -1,7 +1,6 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub,
future, future,
psutil, psutil,
pytest, pytest,

View File

@ -1,7 +1,6 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub,
cython, cython,
openems, openems,
csxcad, csxcad,

View File

@ -2,7 +2,6 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
capstone, capstone,
fetchFromGitHub,
fetchPypi, fetchPypi,
gevent, gevent,
keystone-engine, keystone-engine,

View File

@ -2,7 +2,6 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
pythonOlder, pythonOlder,
fetchFromGitHub,
cmake, cmake,
swig4, swig4,
elastix, elastix,

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, skawarePackages, skalibs }: { lib, skawarePackages, skalibs }:
let let
version = "2.9.5.1"; version = "2.9.5.1";

View File

@ -5,7 +5,6 @@
, darwin , darwin
, distDir , distDir
, extraBazelArgs ? "" , extraBazelArgs ? ""
, fetchFromGitHub
, fetchurl , fetchurl
, jdk11_headless , jdk11_headless
, lib , lib

View File

@ -1,6 +1,6 @@
# Generated by rebar3_nix # Generated by rebar3_nix
let fetchOnly = { src, ... }: src; let fetchOnly = { src, ... }: src;
in { builder ? fetchOnly, fetchHex, fetchgit, fetchFromGitHub, overrides ? (x: y: { }) }: in { builder ? fetchOnly, fetchHex, fetchgit, overrides ? (x: y: { }), ... }:
let let
self = packages // (overrides self packages); self = packages // (overrides self packages);
packages = with self; { packages = with self; {

View File

@ -5,7 +5,6 @@
, git , git
, jq , jq
, nodejs , nodejs
, fetchFromGitHub
, fetchurl , fetchurl
, makeFontsConf , makeFontsConf
, makeWrapper , makeWrapper

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchurl, fetchpatch { lib, stdenv, fetchurl, fetchpatch
, curl, ed, pkg-config, freetype, zlib, libX11 , curl, ed, pkg-config, freetype, zlib, libX11
, SDL2, SDL2_image, SDL2_mixer , SDL2, SDL2_image, SDL2_mixer
}: }:

View File

@ -10,7 +10,6 @@
, lib , lib
, stdenv , stdenv
, fetchFromGitHub
, python3 , python3
, pkg-config , pkg-config
, audiofile , audiofile

View File

@ -1,6 +1,5 @@
{ stdenv { stdenv
, lib , lib
, fetchFromGitHub
, fetchurl , fetchurl
, fetchpatch , fetchpatch
, patchelf , patchelf

View File

@ -2,7 +2,6 @@
, yarn , yarn
, fixup-yarn-lock , fixup-yarn-lock
, nodejs-slim , nodejs-slim
, fetchFromGitHub
, fetchYarnDeps , fetchYarnDeps
, gotify-server , gotify-server
}: }:

View File

@ -1,4 +1,4 @@
{ callPackages, callPackage, varnish60, varnish74, varnish75, fetchFromGitHub }: { { callPackages, callPackage, varnish60, varnish74, varnish75 }: {
varnish60Packages = rec { varnish60Packages = rec {
varnish = varnish60; varnish = varnish60;
modules = (callPackages ./modules.nix { inherit varnish; }).modules15; modules = (callPackages ./modules.nix { inherit varnish; }).modules15;

View File

@ -1,4 +1,4 @@
{ mkDiscoursePlugin, newScope, fetchFromGitHub, ... }@args: { mkDiscoursePlugin, newScope, ... }@args:
let let
callPackage = newScope args; callPackage = newScope args;
in in

View File

@ -1,5 +1,5 @@
{ vimUtils, vim-full, writeText, vimPlugins { vimUtils, vim-full, writeText, vimPlugins
, lib, fetchFromGitHub , lib
, pkgs , pkgs
}: }:
let let