forked from mirrors/nixpkgs
pika-backup: 0.4.0 -> 0.4.1
https://gitlab.gnome.org/World/pika-backup/-/releases#v0.4.1
This commit is contained in:
parent
fb9aa8ce61
commit
2d958456db
|
@ -1,7 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
, fetchpatch
|
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
|
@ -19,20 +18,20 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pika-backup";
|
pname = "pika-backup";
|
||||||
version = "0.4.0";
|
version = "0.4.1";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
owner = "World";
|
owner = "World";
|
||||||
repo = "pika-backup";
|
repo = "pika-backup";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-vQ0hlwsrY0WOUc/ppleE+kKRGHPt/ScEChXrkukln3U=";
|
hash = "sha256-D5QkNgscvNaPEykbcR451Wx8Mvn7HTuQE/22lp95Kbo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
inherit src;
|
inherit src;
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
hash = "sha256-IKUh5gkXTpmMToDaec+CpCIQqJjwJM2ZrmGQhZeTDsg=";
|
hash = "sha256-c4nYlPyc7D1AMOfHjhoDJox+i83+H1YKfWzR3i6bmng=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -40,11 +39,6 @@ stdenv.mkDerivation rec {
|
||||||
src = ./borg-path.patch;
|
src = ./borg-path.patch;
|
||||||
borg = "${borgbackup}/bin/borg";
|
borg = "${borgbackup}/bin/borg";
|
||||||
})
|
})
|
||||||
(fetchpatch {
|
|
||||||
name = "use-gtk4-update-icon-cache.patch";
|
|
||||||
url = "https://gitlab.gnome.org/World/pika-backup/-/merge_requests/64.patch";
|
|
||||||
hash = "sha256-AttGQGWealvTIvPwBl5M6FiC4Al/UD4/XckUAxM38SE=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
Loading…
Reference in a new issue