about summary refs log tree commit diff
path: root/pkgs/applications/window-managers
diff options
context:
space:
mode:
authorBart Brouns <bart@magnetophon.nl>2020-11-19 22:01:12 +0100
committerBart Brouns <bart@magnetophon.nl>2020-12-16 22:37:52 +0100
commit9ce1ec8d2df8cedacd72483f3d3e267612128607 (patch)
tree50097f7ffe267647806e26f6d8ad4bd1b952d40f /pkgs/applications/window-managers
parentffcf28a5e3f2800de7fd726e8b3ca0200d139a9c (diff)
i3-resurrect: init at 1.4.3
corrected from https://github.com/NixOS/nixpkgs/pull/97480 by @vldn-dev
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r--pkgs/applications/window-managers/i3/i3-resurrect.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/i3/i3-resurrect.nix b/pkgs/applications/window-managers/i3/i3-resurrect.nix
new file mode 100644
index 0000000000000..a765d2e298ed2
--- /dev/null
+++ b/pkgs/applications/window-managers/i3/i3-resurrect.nix
@@ -0,0 +1,22 @@
+{ lib, buildPythonApplication, click, i3ipc, psutil, natsort, fetchPypi, xprop, xdotool, importlib-metadata }:
+
+buildPythonApplication rec {
+  pname = "i3-resurrect";
+  version = "1.4.3";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0h181frdwpqfj9agw43qgicdvzv1i7xwky0vs0ksd8h18qxqp4hr";
+  };
+
+  propagatedBuildInputs = [ click psutil xprop natsort i3ipc xdotool importlib-metadata ];
+  doCheck = false; # no tests
+
+  meta = with lib; {
+    homepage = "https://github.com/JonnyHaystack/i3-resurrect";
+    description = "A simple but flexible solution to saving and restoring i3 workspaces";
+    license = licenses.gpl3;
+    platforms= platforms.linux;
+    maintainers = with maintainers; [ magnetophon ];
+  };
+}