2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, python3, python3Packages
|
2024-05-15 15:35:15 +00:00
|
|
|
, gnome, gtk3, wrapGAppsHook3, gtksourceview3, snapper
|
2021-02-05 17:12:51 +00:00
|
|
|
, gobject-introspection
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "snapper-gui";
|
|
|
|
version = "2020-10-20";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ricardomv";
|
|
|
|
repo = pname;
|
|
|
|
rev = "f0c67abe0e10cc9e2ebed400cf80ecdf763fb1d1";
|
|
|
|
sha256 = "13j4spbi9pxg69zifzai8ifk4207sn0vwh6vjqryi0snd5sylh7h";
|
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
nativeBuildInputs = [ wrapGAppsHook3 gobject-introspection ];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
python3
|
2021-05-20 23:08:51 +00:00
|
|
|
gnome.adwaita-icon-theme
|
2021-02-05 17:12:51 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "snapper-gui";
|
2021-02-05 17:12:51 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|