about summary refs log tree commit diff
path: root/pkgs/applications/window-managers
diff options
context:
space:
mode:
authorAlexandre Acebedo <alexandre@acebedo.fr>2023-01-08 13:23:16 +0100
committerAlexandre Acebedo <alexandre@acebedo.fr>2023-01-08 13:23:16 +0100
commit27e9a1075c2549c052ad5c1b7b657f4c62a19322 (patch)
treef44a2eadb7cc56e2b0b322fa38391da345adc2a3 /pkgs/applications/window-managers
parent5947344587d182512a4a1e31abcc1dd42a99476d (diff)
swaycons: init at unstable-2023-01-05
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r--pkgs/applications/window-managers/sway/swaycons.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/sway/swaycons.nix b/pkgs/applications/window-managers/sway/swaycons.nix
new file mode 100644
index 0000000000000..c990a2bb5186c
--- /dev/null
+++ b/pkgs/applications/window-managers/sway/swaycons.nix
@@ -0,0 +1,26 @@
+{ lib
+, fetchFromGitHub
+, rustPlatform
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "swaycons";
+  version = "unstable-2023-01-05";
+
+  src = fetchFromGitHub {
+    owner = "ActuallyAllie";
+    repo = "swaycons";
+    rev = "e863599fb56177fc9747d60db661be2d7c2d290b";
+    hash = "sha256-zkCpZ3TehFKNePtSyFaEk+MA4mi1+la9yFjRPFy+eq8=";
+  };
+
+  cargoSha256 = "sha256-GcoRx52dwL/ehJ1Xg6xQHVzPIKXWqBrG7IjzxRjfgqA=";
+
+  meta = with lib; {
+    description = "Window Icons in Sway with Nerd Fonts!";
+    homepage = "https://github.com/ActuallyAllie/swaycons";
+    license = licenses.asl20;
+    platforms = [ "x86_64-linux" ];
+    maintainers = with maintainers; [ aacebedo ];
+  };
+}