treewide: fetchgit -> fetchFromGitiles

This is only the easy cases -- some fetchgit uses that point to
Gitiles instances are in generated code, where the generating code
would have to know in advance if it was fetching from Gitiles or not.
I don't think this is worth it.

+25 -22
+6 -5
pkgs/applications/misc/redis-desktop-manager/default.nix
··· 1 - { stdenv, lib, fetchgit, pkgconfig, libssh2 1 + { stdenv, lib, fetchFromGitHub, fetchFromGitiles, pkgconfig, libssh2 2 2 , qtbase, qtdeclarative, qtgraphicaleffects, qtimageformats, qtquickcontrols 3 3 , qtsvg, qttools, qtquick1, qtcharts 4 4 , qmake 5 5 }: 6 6 7 7 let 8 - breakpad_lss = fetchgit { 8 + breakpad_lss = fetchFromGitiles { 9 9 url = "https://chromium.googlesource.com/linux-syscall-support"; 10 10 rev = "08056836f2b4a5747daff75435d10d649bed22f6"; 11 11 sha256 = "1ryshs2nyxwa0kn3rlbnd5b3fhna9vqm560yviddcfgdm2jyg0hz"; ··· 17 17 pname = "redis-desktop-manager"; 18 18 version = "0.9.1"; 19 19 20 - src = fetchgit { 21 - url = "https://github.com/uglide/RedisDesktopManager.git"; 20 + src = fetchFromGitHub { 21 + owner = "uglide"; 22 + repo = "RedisDesktopManager"; 22 23 fetchSubmodules = true; 23 - rev = "refs/tags/${version}"; 24 + rev = version; 24 25 sha256 = "0yd4i944d4blw8jky0nxl7sfkkj975q4d328rdcbhizwvf6dx81f"; 25 26 }; 26 27
+3 -3
pkgs/development/python-modules/gyp/default.nix
··· 1 1 { stdenv 2 2 , buildPythonPackage 3 - , fetchgit 3 + , fetchFromGitiles 4 4 , isPy3k 5 5 }: 6 6 ··· 9 9 version = "2015-06-11"; 10 10 disabled = isPy3k; 11 11 12 - src = fetchgit { 13 - url = "https://chromium.googlesource.com/external/gyp.git"; 12 + src = fetchFromGitiles { 13 + url = "https://chromium.googlesource.com/external/gyp"; 14 14 rev = "fdc7b812f99e48c00e9a487bd56751bbeae07043"; 15 15 sha256 = "1imgxsl4mr1662vsj2mlnpvvrbz71yk00w8p85vi5bkgmc6awgiz"; 16 16 };
+2 -2
pkgs/os-specific/linux/chromium-xorg-conf/default.nix
··· 1 - {fetchgit }: 1 + { fetchFromGitiles }: 2 2 3 - fetchgit { 3 + fetchFromGitiles { 4 4 name = "chromium-xorg-conf"; 5 5 url = "https://chromium.googlesource.com/chromiumos/platform/xorg-conf"; 6 6 rev = "26fb9d57e195c7e467616b35b17e2b5d279c1514";
+9 -7
pkgs/tools/security/chaps/default.nix
··· 1 - { stdenv, fetchgit, fetchurl, trousers, leveldb, unzip, scons, pkgconfig 2 - , glib, dbus_cplusplus, dbus, protobuf, openssl, snappy, pam }: 1 + { stdenv, fetchFromGitiles, fetchFromGitHub, fetchurl, trousers, leveldb, unzip 2 + , scons, pkgconfig, glib, dbus_cplusplus, dbus, protobuf, openssl, snappy, pam 3 + }: 3 4 4 5 let 5 - src_chromebase = fetchgit { 6 - url = "https://chromium.googlesource.com/chromium/src/base.git"; 6 + src_chromebase = fetchFromGitiles { 7 + url = "https://chromium.googlesource.com/chromium/src/base"; 7 8 rev = "2dfe404711e15e24e79799516400c61b2719d7af"; 8 9 sha256 = "2bd93a3ace4b6767db2c1bd1e16f426c97b8d2133a9cb15f8372b2516cfa65c5"; 9 10 }; ··· 13 14 sha256 = "0nq98cpnv2jsx2byp4ilam6kydcnziflkc16ikydajmp4mcvpz16"; 14 15 }; 15 16 16 - src_platform2 = fetchgit { 17 + src_platform2 = fetchFromGitiles { 17 18 url = "https://chromium.googlesource.com/chromiumos/platform2"; 18 19 rev = "e999e989eaa71c3db7314fc7b4e20829b2b5473b"; 19 20 sha256 = "15n1bsv6r7cny7arx0hdb223xzzbk7vkxg2r7xajhl4nsj39adjh"; ··· 25 26 name = "chaps-0.42-6812"; 26 27 version = "0.42-6812"; 27 28 28 - src = fetchgit { 29 - url = "https://github.com/google/chaps-linux"; 29 + src = fetchFromGitHub { 30 + owner = "google"; 31 + repo = "chaps-linux"; 30 32 rev = "989aadc45cdb216ca35b0c97d13fc691576fa1d7"; 31 33 sha256 = "0chk6pnn365d5kcz6vfqx1d0383ksk97icc0lzg0vvb0kvyj0ff1"; 32 34 };
+2 -2
pkgs/tools/system/minijail/default.nix
··· 1 - { stdenv, fetchgit, libcap }: 1 + { stdenv, fetchFromGitiles, libcap }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 shortname = "minijail"; 5 5 name = "${shortname}-${version}"; 6 6 version = "android-9.0.0_r3"; 7 7 8 - src = fetchgit { 8 + src = fetchFromGitiles { 9 9 url = "https://android.googlesource.com/platform/external/minijail"; 10 10 rev = version; 11 11 sha256 = "1g1g52s3q61amcnx8cv1332sbixpck1bmjzgsrjiw5ix7chrzkp2";
+3 -3
pkgs/tools/system/vboot_reference/default.nix
··· 1 - { stdenv, fetchgit, pkgconfig, libuuid, openssl, libyaml, lzma }: 1 + { stdenv, fetchFromGitiles, pkgconfig, libuuid, openssl, libyaml, lzma }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "20180311"; ··· 6 6 7 7 pname = "vboot_reference"; 8 8 9 - src = fetchgit { 10 - url = https://chromium.googlesource.com/chromiumos/platform/vboot_reference; 9 + src = fetchFromGitiles { 10 + url = "https://chromium.googlesource.com/chromiumos/platform/vboot_reference"; 11 11 rev = checkout; 12 12 sha256 = "1zja4ma6flch08h5j2l1hqnxmw2xwylidnddxxd5y2x05dai9ddj"; 13 13 };