depot/third_party/nixpkgs/pkgs/by-name/sw/sway-overfocus/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

30 lines
829 B
Nix

{ 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;
maintainers = [ maintainers.ivan770 ];
mainProgram = "sway-overfocus";
};
}