Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / hy / hyprland-monitor-attached / package.nix
blob291b1f5a249df04bb4ba39b9b20121077701dc0b
1 { rustPlatform, fetchFromGitHub, lib }:
3 rustPlatform.buildRustPackage rec {
4   pname = "hyprland-monitor-attached";
5   version = "0.1.6";
7   src = fetchFromGitHub {
8     owner = "coffebar";
9     repo = "hyprland-monitor-attached";
10     rev = version;
11     hash = "sha256-+bgOOm1B513COcWdUIJ/+GREQH5CR8/RNOcZVkjO2hI=";
12   };
14   cargoHash = "sha256-vQfDsP2Tc+Kj95wXIzPTlf6kRdBgdio0QkM9EJRjZjE=";
16   meta = with lib; {
17     description = "Automatically run a script when a monitor connects (or disconnects) in Hyprland";
18     homepage = "https://github.com/coffebar/hyprland-monitor-attached";
19     license = licenses.mit;
20     maintainers = with maintainers; [ bddvlpr ];
21     mainProgram = "hyprland-monitor-attached";
22     platforms = platforms.linux;
23   };