summaryrefslogtreecommitdiffstats
path: root/pkgs
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
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')
-rw-r--r--pkgs/applications/window-managers/i3/i3-resurrect.nix22
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 24 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 000000000000..a765d2e298ed
--- /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 ];
+ };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 92e68417e479..ca03df0b1d15 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -21717,6 +21717,8 @@ in
i3-layout-manager = callPackage ../applications/window-managers/i3/layout-manager.nix { };
+ i3-resurrect = python3Packages.callPackage ../applications/window-managers/i3/i3-resurrect.nix { };
+
i3blocks = callPackage ../applications/window-managers/i3/blocks.nix { };
i3blocks-gaps = callPackage ../applications/window-managers/i3/blocks-gaps.nix { };