Commit 11a8f8ff authored by ivan770's avatar ivan770
Browse files

sway-overfocus: init at 0.2.3-fix

parent 9c1bd826
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
{ fetchFromGitHub, lib, nix-update-script, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "sway-overfocus";
  version = "0.2.3-fix";

  src = fetchFromGitHub {
    owner = "korreman";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-KHbYlxgrrZdNKJ7R9iVflbbP1c6qohM/NHBSYuzxEt4=";
  };

  cargoHash = "sha256-zp6PSu8P+ZUhrqi5Vxpe+z9zBaSkdVQBMGNP0FVOviQ=";

  # Crate without tests.
  doCheck = false;

  passthru.updateScript = nix-update-script { };

  meta = with lib; {
    description = ''"Better" focus navigation for sway and i3.'';
    homepage = "https://github.com/korreman/sway-overfocus";
    changelog = "https://github.com/korreman/sway-overfocus/releases/tag/${src.rev}";
    license = licenses.mit;
    mainProgram = "sway-overfocus";
  };
}