mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
50 lines
1.4 KiB
Nix
50 lines
1.4 KiB
Nix
{ lib, fetchFromGitHub, python3, python3Packages
|
|
, gnome, gtk3, wrapGAppsHook3, gtksourceview3, snapper
|
|
, gobject-introspection
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "snapper-gui";
|
|
version = "2020-10-20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ricardomv";
|
|
repo = pname;
|
|
rev = "f0c67abe0e10cc9e2ebed400cf80ecdf763fb1d1";
|
|
sha256 = "13j4spbi9pxg69zifzai8ifk4207sn0vwh6vjqryi0snd5sylh7h";
|
|
};
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook3 gobject-introspection ];
|
|
|
|
buildInputs = [
|
|
python3
|
|
gnome.adwaita-icon-theme
|
|
];
|
|
|
|
doCheck = false; # it doesn't have any tests
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
gtk3
|
|
dbus-python
|
|
pygobject3
|
|
setuptools
|
|
gtksourceview3
|
|
snapper
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Graphical interface for snapper";
|
|
mainProgram = "snapper-gui";
|
|
longDescription = ''
|
|
A graphical user interface for the tool snapper for Linux filesystem
|
|
snapshot management. It can compare snapshots and revert differences between snapshots.
|
|
In simple terms, this allows root and non-root users to view older versions of files
|
|
and revert changes. Currently works with btrfs, ext4 and thin-provisioned LVM volumes.
|
|
'';
|
|
homepage = "https://github.com/ricardomv/snapper-gui";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ ahuzik ];
|
|
};
|
|
}
|