nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 824 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 libX11, 6 libXinerama, 7}: 8 9stdenv.mkDerivation { 10 pname = "focus"; 11 version = "0-unstable-2021-02-23"; 12 13 src = fetchFromGitHub { 14 owner = "phillbush"; 15 repo = "focus"; 16 rev = "fed2fdbd3f73b192882d97aeb5b1cea681bb7d85"; 17 sha256 = "sha256-IDiUXindzv5Ng5oCTyUlj2il/2kLvXG4YhgiYp7ZebQ="; 18 }; 19 20 buildInputs = [ 21 libX11 22 libXinerama 23 ]; 24 25 makeFlags = [ "PREFIX=\${out}" ]; 26 27 meta = { 28 description = "Focus window, workspace or monitor by direction or cycle through them"; 29 longDescription = '' 30 A collection of utilities that change the focus of windows, workspaces or 31 monitors. 32 ''; 33 homepage = "https://github.com/phillbush/focus"; 34 license = lib.licenses.publicDomain; 35 maintainers = [ ]; 36 platforms = lib.platforms.unix; 37 }; 38}