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 , ncurses ? null
, sqlite ? null, postgresql ? null, mysql ? null, libcap ? null , sqlite ? null, postgresql ? null, mysql ? null, libcap ? null
, zlib ? null, lzo ? null, acl ? null, ceph ? null , zlib ? null, lzo ? null, acl ? null, ceph ? null
@ -11,10 +11,9 @@ stdenv.mkDerivation rec {
name = "bareos-${version}"; name = "bareos-${version}";
version = "14.2.2"; version = "14.2.2";
src = fetchgit { src = fetchzip {
url = "git://github.com/bareos/bareos"; url = "https://github.com/bareos/bareos/archive/Release/${version}.tar.gz";
rev = "refs/tags/Release/${version}"; sha256 = "12605jibvj6kdp15s8jpzb9fw1mfm53npf8ib2jfn1r4hvhdrl4j";
sha256 = "05mkhhgnkz6y3m5msf1zq3b63k2l2fci9xg0k9347b3shmg61pqd";
}; };
buildInputs = [ buildInputs = [