treewide: remove unused occurence of fetchFromGitHub argument

This commit is contained in:
isabel
2024-05-30 05:56:07 +00:00
committed by Emery Hemingway
parent cf2531726c
commit 63aceac766
57 changed files with 34 additions and 59 deletions
@@ -1,5 +1,4 @@
{ stdenv
, fetchFromGitHub
, fetchurl
, cmake
, dbus
@@ -4,7 +4,6 @@
, fetchzip
, melpaBuild
, stdenv
, fetchFromGitHub
, writeText
, melpaStablePackages
, runCommand
@@ -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
@@ -1,6 +1,5 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchzip
, python310
, rtlcss
@@ -1,6 +1,5 @@
{ lib
, fetchFromGitLab
, fetchFromGitHub
, buildGoModule
, pkg-config
}:
@@ -1,4 +1,4 @@
{ lib, callPackage, fetchFromGitHub }:
{ lib, callPackage }:
rec {
dockerGen = {
@@ -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 {
@@ -1,6 +1,5 @@
{ lib
, python3Packages
, fetchFromGitHub
, withGUI ? true
}:
-1
View File
@@ -2,7 +2,6 @@
lib,
stdenvNoCC,
overrideCC,
fetchFromGitHub,
pkgsCross,
bash,
}:
+1 -1
View File
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, ruby, buildRubyGem, bundlerEnv }:
{ lib, ruby, buildRubyGem, bundlerEnv }:
let
deps = bundlerEnv rec {
inherit ruby;
-1
View File
@@ -1,7 +1,6 @@
{ lib
, stdenv
, python3
, fetchFromGitHub
, makeWrapper
, gdb
}:
@@ -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; {
@@ -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 {
@@ -15,7 +15,8 @@
tar zxvf ${src}/vendor/ninja.tar.gz -C $out
'';
patches = [];
}))
})),
...
}:
let
@@ -2,7 +2,6 @@
, stdenvNoCC
, lib
, fetchurl
, fetchFromGitHub
, dotnetCorePackages
, jq
, curl
+1 -1
View File
@@ -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 }:
@@ -1,4 +1,4 @@
{ newScope, fetchFromGitHub, python3Packages }:
{ newScope, python3Packages }:
let
callPackage = newScope self;
@@ -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
@@ -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
@@ -1,7 +1,6 @@
{ lib
, callPackage
, runCommand
, fetchFromGitHub
, fetchgit
, fontconfig
, git
+1 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, fetchzip, p7zip }:
{ stdenv, lib, fetchzip, p7zip }:
stdenv.mkDerivation rec {
pname = "snap7";
+1 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchgit, fetchFromGitHub
{ stdenv, lib, fetchgit
, gn, ninja, python3, glib, pkg-config, icu
, xcbuild, darwin
, fetchpatch
-1
View File
@@ -3,7 +3,6 @@
, callPackage
, resholve
, shunit2
, fetchFromGitHub
, coreutils
, gnused
, gnugrep
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, angstrom, async }:
{ lib, buildDunePackage, angstrom, async }:
buildDunePackage rec {
pname = "angstrom-async";
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, angstrom, lwt }:
{ lib, buildDunePackage, angstrom, lwt }:
buildDunePackage rec {
pname = "angstrom-lwt-unix";
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, angstrom }:
{ lib, buildDunePackage, angstrom }:
buildDunePackage rec {
pname = "angstrom-unix";
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, fetchFromGitHub, callPackage
{ lib, buildDunePackage, callPackage
, ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg-avutil
, ffmpeg-avcodec
@@ -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
@@ -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
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune-configurator, pkg-config, fetchFromGitHub, callPackage
{ lib, buildDunePackage, dune-configurator, pkg-config, callPackage
, AppKit
, AudioToolbox
, AVFoundation
@@ -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 { }
@@ -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
@@ -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
@@ -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
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml, landmarks, ppxlib }:
{ lib, buildDunePackage, ocaml, landmarks, ppxlib }:
buildDunePackage {
pname = "landmarks-ppx";
@@ -1,4 +1,4 @@
{ fetchFromGitHub, buildDunePackage, ocaml_pcre, mparser }:
{ buildDunePackage, ocaml_pcre, mparser }:
buildDunePackage rec {
pname = "mparser-pcre";
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage
{ lib, buildDunePackage
, pbrt
, stdlib-shims
}:
@@ -1,6 +1,5 @@
{ buildDunePackage
, dune-configurator
, fetchFromGitHub
, alcotest
, ctypes
, stdio
@@ -1,6 +1,5 @@
{ lib
, buildDunePackage
, fetchFromGitHub
, substituteAll
, base64
, cmdliner
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
basemap,
cython,
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
edlib,
cython,
python,
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchPypi,
llama-index-core,
poetry-core,
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchPypi,
llama-index-core,
poetry-core,
@@ -3,7 +3,6 @@
attrs,
buildPythonPackage,
deprecated,
fetchFromGitHub,
fetchPypi,
hatch-vcs,
hatchling,
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
future,
psutil,
pytest,
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
cython,
openems,
csxcad,
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
capstone,
fetchFromGitHub,
fetchPypi,
gevent,
keystone-engine,
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
cmake,
swig4,
elastix,
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, skawarePackages, skalibs }:
{ lib, skawarePackages, skalibs }:
let
version = "2.9.5.1";
@@ -5,7 +5,6 @@
, darwin
, distDir
, extraBazelArgs ? ""
, fetchFromGitHub
, fetchurl
, jdk11_headless
, lib
@@ -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; {
@@ -5,7 +5,6 @@
, git
, jq
, nodejs
, fetchFromGitHub
, fetchurl
, makeFontsConf
, makeWrapper
+1 -1
View File
@@ -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
}:
-1
View File
@@ -10,7 +10,6 @@
, lib
, stdenv
, fetchFromGitHub
, python3
, pkg-config
, audiofile
@@ -1,6 +1,5 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchurl
, fetchpatch
, patchelf
-1
View File
@@ -2,7 +2,6 @@
, yarn
, fixup-yarn-lock
, nodejs-slim
, fetchFromGitHub
, fetchYarnDeps
, gotify-server
}:
+1 -1
View File
@@ -1,4 +1,4 @@
{ callPackages, callPackage, varnish60, varnish74, varnish75, fetchFromGitHub }: {
{ callPackages, callPackage, varnish60, varnish74, varnish75 }: {
varnish60Packages = rec {
varnish = varnish60;
modules = (callPackages ./modules.nix { inherit varnish; }).modules15;
@@ -1,4 +1,4 @@
{ mkDiscoursePlugin, newScope, fetchFromGitHub, ... }@args:
{ mkDiscoursePlugin, newScope, ... }@args:
let
callPackage = newScope args;
in
+1 -1
View File
@@ -1,5 +1,5 @@
{ vimUtils, vim-full, writeText, vimPlugins
, lib, fetchFromGitHub
, lib
, pkgs
}:
let