Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
30 lines
825 B
Nix
30 lines
825 B
Nix
{ fetchFromGitHub, lib, nix-update-script, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "sway-overfocus";
|
|
version = "0.2.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "korreman";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-trpjKA0TV8InSfViIXKnMDeZeFXZfavpiU7/R3JDQkQ=";
|
|
};
|
|
|
|
cargoHash = "sha256-uAzD4x7pSyem2juQi/4223Cbt6pVt4gynhn2lWMSKSQ=";
|
|
|
|
# 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";
|
|
};
|
|
}
|
|
|