tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
labwc: 0.2.1 -> 0.3.0
AndersonTorres
4 years ago
4d167d07
eeb1eb9e
+11
-21
1 changed file
expand all
collapse all
unified
split
pkgs
applications
window-managers
labwc
default.nix
+11
-21
pkgs/applications/window-managers/labwc/default.nix
···
1
{ lib
2
, stdenv
3
, fetchFromGitHub
4
-
, fetchpatch
5
, pkg-config
6
, meson
7
, ninja
···
22
23
stdenv.mkDerivation rec {
24
pname = "labwc";
25
-
version = "0.2.1"; # We're effectively using that version
26
27
src = fetchFromGitHub {
28
owner = "johanmalm";
29
repo = pname;
30
-
rev = "6744e103014bcb0480133a029ec0f82f9b017e60";
31
-
sha256 = "0sdr4zkix8x3vmna4i946y3whpj7fqizpaac6yj7w0as9d6hj0iq";
32
};
33
34
-
patches = [
35
-
# To fix the build with wlroots 0.14:
36
-
(fetchpatch {
37
-
# output: access texture width/height directly
38
-
url = "https://github.com/johanmalm/labwc/commit/892e93dd84c514b4e6f34a0fab01c727edd2d8de.patch";
39
-
sha256 = "1p1pg1kd98727wlcspa2sffl7ijhvsfad6bj2rxsw322q0bz3yrh";
40
-
})
41
-
(fetchpatch {
42
-
# xdg: chase swaywm/wlroots@9e58301
43
-
url = "https://github.com/johanmalm/labwc/commit/874cc9e63706dd54d9f9fcb071f2d2e0c19d3d7e.patch";
44
-
sha256 = "0ypd47q5ffq4wjkrcr3068qjknn2s66zszyxg3dl0f87q2pxh6wx";
45
-
})
46
];
47
-
48
-
nativeBuildInputs = [ pkg-config meson ninja scdoc ];
49
buildInputs = [
50
cairo
51
glib
0
52
libinput
0
0
53
libxml2
54
pango
55
wayland
56
wayland-protocols
57
wlroots
58
-
libxcb
59
-
libxkbcommon
60
xwayland
61
-
libdrm
62
];
63
64
mesonFlags = [ "-Dxwayland=enabled" ];
···
1
{ lib
2
, stdenv
3
, fetchFromGitHub
0
4
, pkg-config
5
, meson
6
, ninja
···
21
22
stdenv.mkDerivation rec {
23
pname = "labwc";
24
+
version = "0.3.0";
25
26
src = fetchFromGitHub {
27
owner = "johanmalm";
28
repo = pname;
29
+
rev = version;
30
+
sha256 = "sha256-v8LGiQG/n1IXeVMPWyiP9MgZzZLW78JftvxnRVTswaM=";
31
};
32
33
+
nativeBuildInputs = [
34
+
meson
35
+
ninja
36
+
pkg-config
37
+
scdoc
0
0
0
0
0
0
0
38
];
0
0
39
buildInputs = [
40
cairo
41
glib
42
+
libdrm
43
libinput
44
+
libxcb
45
+
libxkbcommon
46
libxml2
47
pango
48
wayland
49
wayland-protocols
50
wlroots
0
0
51
xwayland
0
52
];
53
54
mesonFlags = [ "-Dxwayland=enabled" ];