about summary refs log tree commit diff
path: root/pkgs/applications/window-managers/i3/workstyle.nix
diff options
context:
space:
mode:
authorFlorian Franzen <Florian.Franzen@gmail.com>2021-04-22 19:28:58 +0200
committerFlorian Franzen <Florian.Franzen@gmail.com>2021-04-22 21:41:52 +0200
commitd6eefb728e7f565149f53da09b317a84820a671d (patch)
treee606d1c669deceee4d02427cbb27e3ff5b1713b8 /pkgs/applications/window-managers/i3/workstyle.nix
parentcd0ffd3f5fad719586a9b2d06b1faa603da6ba8d (diff)
workstyle: 0.2.1
Diffstat (limited to 'pkgs/applications/window-managers/i3/workstyle.nix')
-rw-r--r--pkgs/applications/window-managers/i3/workstyle.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/i3/workstyle.nix b/pkgs/applications/window-managers/i3/workstyle.nix
new file mode 100644
index 0000000000000..b245139abefe7
--- /dev/null
+++ b/pkgs/applications/window-managers/i3/workstyle.nix
@@ -0,0 +1,27 @@
+{ lib
+, rustPlatform
+, fetchFromGitHub
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "workstyle";
+  version = "0.2.1";
+
+  src = fetchFromGitHub {
+    owner = "pierrechevalier83";
+    repo = pname;
+    rev = "43b0b5bc0a66d40289ff26b8317f50510df0c5f9";
+    sha256 = "0f4hwf236823qmqy31fczjb1hf3fvvac3x79jz2l7li55r6fd8hn";
+  };
+
+  cargoSha256 = "1hy68wvsxncsy4yx4biigfvwyq18c7yp1g543c6nca15cdzs1c54";
+
+  doCheck = false; # No tests
+
+  meta = with lib; {
+    description = "Sway workspaces with style";
+    homepage = "https://github.com/pierrechevalier83/workstyle";
+    license = licenses.mit;
+    maintainers = with maintainers; [ FlorianFranzen ];
+  };
+}