about summary refs log tree commit diff
path: root/pkgs/applications/misc/hyprland-autoname-workspaces
diff options
context:
space:
mode:
authorDonovan Glover <donovan@dglover.co>2023-06-07 16:03:39 -0400
committerDonovan Glover <donovan@dglover.co>2023-08-07 07:21:12 -0400
commit172e757451870593725f7025e24f832cb45db6a7 (patch)
treee610b9a96ae9ebb9f3b086eb378079ec5a4ae6de /pkgs/applications/misc/hyprland-autoname-workspaces
parent37f8d83e9e45ab94c96742ef9d0960f5039d8807 (diff)
hyprland-autoname-workspaces: init at 1.1.7
Diffstat (limited to 'pkgs/applications/misc/hyprland-autoname-workspaces')
-rw-r--r--pkgs/applications/misc/hyprland-autoname-workspaces/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/misc/hyprland-autoname-workspaces/default.nix b/pkgs/applications/misc/hyprland-autoname-workspaces/default.nix
new file mode 100644
index 0000000000000..874bffbef3a7c
--- /dev/null
+++ b/pkgs/applications/misc/hyprland-autoname-workspaces/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, rustPlatform
+, fetchFromGitHub
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "hyprland-autoname-workspaces";
+  version = "1.1.7";
+
+  src = fetchFromGitHub {
+    owner = "hyprland-community";
+    repo = "hyprland-autoname-workspaces";
+    rev = "v${version}";
+    hash = "sha256-OtKPJZI0YKi98HUY4IDU8LRg6dTaD68OgVi9FzfjDbA=";
+  };
+
+  cargoHash = "sha256-ueT85rKa2PGvp/R/ZXkDGUFIXyYNpDErg4W8WcXAPIw=";
+
+  meta = with lib; {
+    description = "Automatically rename workspaces with icons of started applications";
+    homepage = "https://github.com/hyprland-community/hyprland-autoname-workspaces";
+    license = licenses.isc;
+    maintainers = with maintainers; [ donovanglover ];
+    mainProgram = "hyprland-autoname-workspaces";
+    platforms = platforms.linux;
+  };
+}