Merge pull request #165580 from bobby285271/pika-backup

This commit is contained in:
Sandro 2022-03-27 12:50:38 +02:00 committed by GitHub
commit fe16115187
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitLab
, fetchpatch
, rustPlatform
, substituteAll
, desktop-file-utils
@ -40,6 +41,13 @@ stdenv.mkDerivation rec {
src = ./borg-path.patch;
borg = "${borgbackup}/bin/borg";
})
# Fix build with meson 0.61, can be removed on next release.
# https://gitlab.gnome.org/World/pika-backup/-/issues/156
# https://github.com/mesonbuild/meson/issues/9441
(fetchpatch {
url = "https://gitlab.gnome.org/World/pika-backup/-/commit/54be149c88fd69fb9e74b7362fe7182863237869.patch";
sha256 = "sha256-Tffxo5hlf/gSkp1GfyL4eHthX49tuTq6B+S53N8oA2M=";
})
];
postPatch = ''
@ -73,5 +81,6 @@ stdenv.mkDerivation rec {
changelog = "https://gitlab.gnome.org/World/pika-backup/-/blob/v${version}/CHANGELOG.md";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
platforms = platforms.linux;
};
}