streamlink: 7.1.1 -> 7.1.2 (#373269)
[NixPkgs.git] / pkgs / by-name / sw / sway-overfocus / package.nix
blob619f2b4babde43671f16455a8d836607635c92cf
2   fetchFromGitHub,
3   lib,
4   nix-update-script,
5   rustPlatform,
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "sway-overfocus";
10   version = "0.2.4";
12   src = fetchFromGitHub {
13     owner = "korreman";
14     repo = pname;
15     rev = "v${version}";
16     hash = "sha256-trpjKA0TV8InSfViIXKnMDeZeFXZfavpiU7/R3JDQkQ=";
17   };
19   cargoHash = "sha256-uAzD4x7pSyem2juQi/4223Cbt6pVt4gynhn2lWMSKSQ=";
21   # Crate without tests.
22   doCheck = false;
24   passthru.updateScript = nix-update-script { };
26   meta = with lib; {
27     description = ''"Better" focus navigation for sway and i3.'';
28     homepage = "https://github.com/korreman/sway-overfocus";
29     changelog = "https://github.com/korreman/sway-overfocus/releases/tag/${src.rev}";
30     license = licenses.mit;
31     maintainers = [ maintainers.ivan770 ];
32     mainProgram = "sway-overfocus";
33   };