Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / sw / sway-overfocus / package.nix
blob08b6158d4f11aceb77c4b75e2234e9e651b66f8f
1 { fetchFromGitHub, lib, nix-update-script, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
4   pname = "sway-overfocus";
5   version = "0.2.3-fix";
7   src = fetchFromGitHub {
8     owner = "korreman";
9     repo = pname;
10     rev = "v${version}";
11     hash = "sha256-KHbYlxgrrZdNKJ7R9iVflbbP1c6qohM/NHBSYuzxEt4=";
12   };
14   cargoHash = "sha256-zp6PSu8P+ZUhrqi5Vxpe+z9zBaSkdVQBMGNP0FVOviQ=";
16   # Crate without tests.
17   doCheck = false;
19   passthru.updateScript = nix-update-script { };
21   meta = with lib; {
22     description = ''"Better" focus navigation for sway and i3.'';
23     homepage = "https://github.com/korreman/sway-overfocus";
24     changelog = "https://github.com/korreman/sway-overfocus/releases/tag/${src.rev}";
25     license = licenses.mit;
26     maintainers = [ maintainers.ivan770 ];
27     mainProgram = "sway-overfocus";
28   };