{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:
Edward Tjörnhammar
2015-04-28 22:41:40 +02:00
parent 63c00f2746
commit b9b8e3acba
5 changed files with 18 additions and 19 deletions

View File

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