593e11fd94
According to https://repology.org/repository/nix_unstable/problems, we have a lot of packages that have http links that redirect to https as their homepage. This commit updates all these packages to use the https links as their homepage. The following script was used to make these updates: ``` curl https://repology.org/api/v1/repository/nix_unstable/problems \ | jq '.[] | .problem' -r \ | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \ | sort | uniq > script.sed find -name '*.nix' | xargs -P4 -- sed -f script.sed -i ```
27 lines
779 B
Nix
27 lines
779 B
Nix
{ fetchurl, stdenv, perl, openssh, rsync, logger }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "rsnapshot-1.4.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://rsnapshot.org/downloads/${name}.tar.gz";
|
|
sha256 = "1lavqmmsf53pim0nvming7fkng6p0nk2a51k2c2jdq0l7snpl31b";
|
|
};
|
|
|
|
propagatedBuildInputs = [perl openssh rsync logger];
|
|
|
|
configureFlags = [ "--sysconfdir=/etc --prefix=/" ];
|
|
makeFlags = [ "DESTDIR=$(out)" ];
|
|
|
|
patchPhase = ''
|
|
substituteInPlace "Makefile.in" --replace \
|
|
"/usr/bin/pod2man" "${perl}/bin/pod2man"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A filesystem snapshot utility for making backups of local and remote systems";
|
|
homepage = https://rsnapshot.org/;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|