uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
79
pkgs/applications/backup/deja-dup/default.nix
Normal file
79
pkgs/applications/backup/deja-dup/default.nix
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
{ lib, stdenv
|
||||
, fetchFromGitLab
|
||||
, substituteAll
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, vala
|
||||
, gettext
|
||||
, itstool
|
||||
, desktop-file-utils
|
||||
, glib
|
||||
, gtk4
|
||||
, coreutils
|
||||
, libsoup_3
|
||||
, libsecret
|
||||
, libadwaita
|
||||
, wrapGAppsHook4
|
||||
, libgpg-error
|
||||
, json-glib
|
||||
, duplicity
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "deja-dup";
|
||||
version = "43.3";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "World";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-HOIBAzR+7OZ1RO+MSpCQKShcikdtWCjdMUO2rE2TxiM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./fix-paths.patch;
|
||||
inherit coreutils;
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
vala
|
||||
gettext
|
||||
itstool
|
||||
desktop-file-utils
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libsoup_3
|
||||
glib
|
||||
gtk4
|
||||
libsecret
|
||||
libadwaita
|
||||
libgpg-error
|
||||
json-glib
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dduplicity_command=${duplicity}/bin/duplicity"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple backup tool";
|
||||
longDescription = ''
|
||||
Déjà Dup is a simple backup tool. It hides the complexity \
|
||||
of backing up the Right Way (encrypted, off-site, and regular) \
|
||||
and uses duplicity as the backend.
|
||||
'';
|
||||
homepage = "https://wiki.gnome.org/Apps/DejaDup";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue