mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
bareos: fixed source fetching
This commit is contained in:
parent
2beb43174f
commit
0ab270770b
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user