Rename fetchGitHub -> fetchFromGitHub

We're not fetching all of GitHub, after all.
This commit is contained in:
Eelco Dolstra 2014-05-08 15:49:39 +02:00
parent ebd8573046
commit 6aeb59bbe0
3 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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";

View File

@ -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;
};