mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
{grub2,ceph,libs3,socket_wrapper,nss_wrapper}.src: use mirrors, https and fetchFromSavannah to enable better availability for proxied users
This commit is contained in:
parent
63c00f2746
commit
b9b8e3acba
@ -1,12 +1,13 @@
|
||||
{ stdenv, fetchgit, curl, libxml2 }:
|
||||
{ stdenv, fetchFromGitHub, curl, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libs3-2015-01-09";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/bji/libs3.git";
|
||||
src = fetchFromGitHub {
|
||||
owner = "bji";
|
||||
repo = "libs3";
|
||||
rev = "4d21fdc0857b88c964649b321057d7105d1e4da3";
|
||||
sha256 = "058sixppk078mdn9ii3swg87nbpgl86llz9mdhj5km5m53a7dnjw";
|
||||
sha256 = "1c33h8lzlpmsbkymd2dac9g8hqhd6j6yzdjrhha8bcqyys6vcpy3";
|
||||
};
|
||||
|
||||
buildInputs = [ curl libxml2 ];
|
||||
|
@ -1,12 +1,11 @@
|
||||
{ stdenv, fetchgit, cmake, pkgconfig }:
|
||||
{ stdenv, fetchurl, cmake, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nss_wrapper-1.0.3";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://git.samba.org/nss_wrapper.git";
|
||||
rev = "refs/tags/${name}";
|
||||
sha256 = "1jka6d873vhvfr7k378xvgxmbpka87w33iq6b91ynwg36pz53ifw";
|
||||
src = fetchurl {
|
||||
url = "mirror://samba/cwrap/${name}.tar.gz";
|
||||
sha256 = "0bysdijvi9n0jk74iklbfhbp0kvv81a727lcfd5q03q2hkzjfm18";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake pkgconfig ];
|
||||
|
@ -1,12 +1,11 @@
|
||||
{ stdenv, fetchgit, cmake, pkgconfig }:
|
||||
{ stdenv, fetchurl, cmake, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "socket_wrapper-1.1.3";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://git.samba.org/socket_wrapper.git";
|
||||
rev = "refs/tags/${name}";
|
||||
sha256 = "0b3sfjy7418gg52qkdblfi5x57g4m44n7434xhacz9isyl5m52vn";
|
||||
src = fetchurl {
|
||||
url = "mirror://samba/cwrap/${name}.tar.gz";
|
||||
sha256 = "04xfa4yhcaj63ymagmlx77fakrx3wb8ss42m15pmwjaiyi2xndx3";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake pkgconfig ];
|
||||
|
@ -4,7 +4,7 @@ callPackage ./generic.nix (args // rec {
|
||||
version = "0.94.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/ceph/ceph.git";
|
||||
url = "https://github.com/ceph/ceph.git";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "0rrl10vda4xv22al2c5ccd8v8drs26186dvkrxndvqz8p9999cjx";
|
||||
};
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchgit, autogen, flex, bison, python, autoconf, automake
|
||||
{ stdenv, fetchurl, fetchFromSavannah, autogen, flex, bison, python, autoconf, automake
|
||||
, gettext, ncurses, libusb, freetype, qemu, devicemapper
|
||||
, zfs ? null
|
||||
, efiSupport ? false
|
||||
@ -41,10 +41,10 @@ assert zfsSupport -> zfs != null;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "grub-${version}";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://git.savannah.gnu.org/grub.git";
|
||||
src = fetchFromSavannah {
|
||||
repo = "grub";
|
||||
rev = "70b002de55abbfd6b2d2f2ea4408078d93c9e0de";
|
||||
sha256 = "1170413b4d9kwqwgi1dcsnbwn8mb3snbid858wyfv84910kbrs2d";
|
||||
sha256 = "1bhm1yxjmckzn45v70lzmz0qpj5prhb4iyiyqqw8rvyykcixw5qk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autogen flex bison python autoconf automake ];
|
||||
|
Loading…
Reference in New Issue
Block a user