Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / sw / sway-easyfocus / package.nix
blobbc19c7ebd01d778a3385f7c5667b9d8d7e79c986
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , pkg-config
5 , wrapGAppsHook3
6 , atk
7 , cairo
8 , gdk-pixbuf
9 , glib
10 , gtk3
11 , pango
12 , gtk-layer-shell
15 rustPlatform.buildRustPackage rec {
16   pname = "sway-easyfocus";
17   version = "unstable-2023-11-05";
19   src = fetchFromGitHub {
20     owner = "edzdez";
21     repo = "sway-easyfocus";
22     rev = "4c70f6728dbfc859e60505f0a7fd82f5a90ed42c";
23     hash = "sha256-WvYXhf13ZCoa+JAF4bYgi5mI22i9pZLtbIhF1odqaTU=";
24   };
26   cargoHash = "sha256-9cN0ervcU8JojwG7J250fprbCD2rB9kh9TbRU+wCE/Y=";
28   nativeBuildInputs = [
29     pkg-config
30     wrapGAppsHook3
31   ];
33   buildInputs = [
34     atk
35     cairo
36     gdk-pixbuf
37     glib
38     gtk3
39     gtk-layer-shell
40     pango
41   ];
43   meta = {
44     description = "Tool to help efficiently focus windows in Sway, inspired by i3-easyfocus";
45     homepage = "https://github.com/edzdez/sway-easyfocus";
46     license = lib.licenses.mit;
47     maintainers = with lib.maintainers; [ eclairevoyant ];
48     mainProgram = "sway-easyfocus";
49   };