tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
focus: init at unstable-2021-02-23
Azat Bahawi
3 years ago
4e7059cf
fe7fe696
+36
2 changed files
expand all
collapse all
unified
split
pkgs
tools
X11
focus
default.nix
top-level
all-packages.nix
+34
pkgs/tools/X11/focus/default.nix
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, libX11
5
5
+
, libXinerama
6
6
+
}:
7
7
+
8
8
+
stdenv.mkDerivation rec {
9
9
+
pname = "focus";
10
10
+
version = "unstable-2021-02-23";
11
11
+
12
12
+
src = fetchFromGitHub {
13
13
+
owner = "phillbush";
14
14
+
repo = "focus";
15
15
+
rev = "fed2fdbd3f73b192882d97aeb5b1cea681bb7d85";
16
16
+
sha256 = "sha256-IDiUXindzv5Ng5oCTyUlj2il/2kLvXG4YhgiYp7ZebQ=";
17
17
+
};
18
18
+
19
19
+
buildInputs = [ libX11 libXinerama ];
20
20
+
21
21
+
makeFlags = [ "PREFIX=\${out}" ];
22
22
+
23
23
+
meta = with lib; {
24
24
+
description = "Focus window, workspace or monitor by direction or cycle through them";
25
25
+
longDescription = ''
26
26
+
A collection of utilities that change the focus of windows, workspaces or
27
27
+
monitors.
28
28
+
'';
29
29
+
homepage = "https://github.com/phillbush/focus";
30
30
+
license = licenses.publicDomain;
31
31
+
maintainers = with maintainers; [ azahi ];
32
32
+
platforms = platforms.unix;
33
33
+
};
34
34
+
}
+2
pkgs/top-level/all-packages.nix
···
26403
26403
26404
26404
fnc = callPackage ../applications/version-management/fnc { };
26405
26405
26406
26406
+
focus = callPackage ../tools/X11/focus { };
26407
26407
+
26406
26408
focuswriter = libsForQt5.callPackage ../applications/editors/focuswriter { };
26407
26409
26408
26410
foliate = callPackage ../applications/office/foliate { };