Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 61 lines 1.5 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3, 5 python3Packages, 6 adwaita-icon-theme, 7 gtk3, 8 wrapGAppsHook3, 9 gtksourceview3, 10 snapper, 11 gobject-introspection, 12}: 13 14python3Packages.buildPythonApplication { 15 pname = "snapper-gui"; 16 version = "2020-10-20"; 17 format = "setuptools"; 18 19 src = fetchFromGitHub { 20 owner = "ricardomv"; 21 repo = "snapper-gui"; 22 rev = "f0c67abe0e10cc9e2ebed400cf80ecdf763fb1d1"; 23 sha256 = "13j4spbi9pxg69zifzai8ifk4207sn0vwh6vjqryi0snd5sylh7h"; 24 }; 25 26 nativeBuildInputs = [ 27 wrapGAppsHook3 28 gobject-introspection 29 ]; 30 31 buildInputs = [ 32 python3 33 adwaita-icon-theme 34 ]; 35 36 doCheck = false; # it doesn't have any tests 37 38 propagatedBuildInputs = with python3Packages; [ 39 gtk3 40 dbus-python 41 pygobject3 42 setuptools 43 gtksourceview3 44 snapper 45 ]; 46 47 meta = with lib; { 48 description = "Graphical interface for snapper"; 49 mainProgram = "snapper-gui"; 50 longDescription = '' 51 A graphical user interface for the tool snapper for Linux filesystem 52 snapshot management. It can compare snapshots and revert differences between snapshots. 53 In simple terms, this allows root and non-root users to view older versions of files 54 and revert changes. Currently works with btrfs, ext4 and thin-provisioned LVM volumes. 55 ''; 56 homepage = "https://github.com/ricardomv/snapper-gui"; 57 license = licenses.gpl2Plus; 58 platforms = platforms.linux; 59 maintainers = with maintainers; [ ahuzik ]; 60 }; 61}