mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
Rename fetchGitHub -> fetchFromGitHub
We're not fetching all of GitHub, after all.
This commit is contained in:
parent
ebd8573046
commit
6aeb59bbe0
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchGitHub, python, pythonPackages, sysstat, unzip, tornado
|
||||
{ stdenv, fetchFromGitHub, python, pythonPackages, sysstat, unzip, tornado
|
||||
, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "4.2.1";
|
||||
name = "dd-agent-${version}";
|
||||
|
||||
src = fetchGitHub {
|
||||
src = fetchFromGitHub {
|
||||
owner = "DataDog";
|
||||
repo = "dd-agent";
|
||||
rev = version;
|
||||
|
@ -1,11 +1,11 @@
|
||||
# XXX: this may need -liconv on non-glibc systems..
|
||||
|
||||
{ stdenv, fetchGitHub, python, perl, autoconf, automake, libtool, intltool, flex }:
|
||||
{ stdenv, fetchFromGitHub, python, perl, autoconf, automake, libtool, intltool, flex }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "recode-3.7-2fd838565";
|
||||
|
||||
src = fetchGitHub {
|
||||
src = fetchFromGitHub {
|
||||
owner = "pinard";
|
||||
repo = "Recode";
|
||||
rev = "2fd8385658e5a08700e3b916053f6680ff85fdbd";
|
||||
|
@ -340,7 +340,7 @@ let
|
||||
|
||||
fetchzip = import ../build-support/fetchzip { inherit lib fetchurl unzip; };
|
||||
|
||||
fetchGitHub = { owner, repo, rev, sha256 }: fetchzip {
|
||||
fetchFromGitHub = { owner, repo, rev, sha256 }: fetchzip {
|
||||
url = "https://github.com/${owner}/${repo}/archive/${rev}.zip";
|
||||
inherit sha256;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user