bareos: fixed source fetching

This commit is contained in:
Georges Dubus 2015-01-14 17:27:37 +01:00
parent 2beb43174f
commit 0ab270770b

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, pkgconfig, nettools, gettext, readline, openssl, python
{ stdenv, fetchzip, pkgconfig, nettools, gettext, readline, openssl, python
, ncurses ? null
, sqlite ? null, postgresql ? null, mysql ? null, libcap ? null
, zlib ? null, lzo ? null, acl ? null, ceph ? null
@ -11,10 +11,9 @@ stdenv.mkDerivation rec {
name = "bareos-${version}";
version = "14.2.2";
src = fetchgit {
url = "git://github.com/bareos/bareos";
rev = "refs/tags/Release/${version}";
sha256 = "05mkhhgnkz6y3m5msf1zq3b63k2l2fci9xg0k9347b3shmg61pqd";
src = fetchzip {
url = "https://github.com/bareos/bareos/archive/Release/${version}.tar.gz";
sha256 = "12605jibvj6kdp15s8jpzb9fw1mfm53npf8ib2jfn1r4hvhdrl4j";
};
buildInputs = [