mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00: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 }:
|
, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "4.2.1";
|
version = "4.2.1";
|
||||||
name = "dd-agent-${version}";
|
name = "dd-agent-${version}";
|
||||||
|
|
||||||
src = fetchGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "DataDog";
|
owner = "DataDog";
|
||||||
repo = "dd-agent";
|
repo = "dd-agent";
|
||||||
rev = version;
|
rev = version;
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# XXX: this may need -liconv on non-glibc systems..
|
# 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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "recode-3.7-2fd838565";
|
name = "recode-3.7-2fd838565";
|
||||||
|
|
||||||
src = fetchGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pinard";
|
owner = "pinard";
|
||||||
repo = "Recode";
|
repo = "Recode";
|
||||||
rev = "2fd8385658e5a08700e3b916053f6680ff85fdbd";
|
rev = "2fd8385658e5a08700e3b916053f6680ff85fdbd";
|
||||||
|
|
|
@ -340,7 +340,7 @@ let
|
||||||
|
|
||||||
fetchzip = import ../build-support/fetchzip { inherit lib fetchurl unzip; };
|
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";
|
url = "https://github.com/${owner}/${repo}/archive/${rev}.zip";
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue