cagebreak: cosmetic rewrite
This commit is contained in:
parent
bf8679ba94
commit
1c516ffb3c
@ -1,9 +1,24 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub
|
{ lib
|
||||||
, meson, ninja, pkg-config, wayland, scdoc, makeWrapper
|
, stdenv
|
||||||
, wlroots, wayland-protocols, pixman, libxkbcommon
|
, fetchFromGitHub
|
||||||
, cairo , pango, fontconfig, pandoc, systemd, mesa
|
, cairo
|
||||||
, withXwayland ? true, xwayland
|
, fontconfig
|
||||||
|
, libxkbcommon
|
||||||
|
, makeWrapper
|
||||||
|
, mesa
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
, nixosTests
|
, nixosTests
|
||||||
|
, pandoc
|
||||||
|
, pango
|
||||||
|
, pixman
|
||||||
|
, pkg-config
|
||||||
|
, scdoc
|
||||||
|
, systemd
|
||||||
|
, wayland
|
||||||
|
, wayland-protocols
|
||||||
|
, withXwayland ? true , xwayland
|
||||||
|
, wlroots
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -17,20 +32,38 @@ stdenv.mkDerivation rec {
|
|||||||
hash = "sha256-HpAjJHu5sxZKof3ydnU3wcP5GpnH6Ax8m1T1vVoq+oI=";
|
hash = "sha256-HpAjJHu5sxZKof3ydnU3wcP5GpnH6Ax8m1T1vVoq+oI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config wayland scdoc pandoc makeWrapper ];
|
nativeBuildInputs = [
|
||||||
|
makeWrapper
|
||||||
buildInputs = [
|
meson
|
||||||
wlroots wayland wayland-protocols pixman libxkbcommon cairo
|
ninja
|
||||||
pango fontconfig systemd
|
pandoc
|
||||||
mesa # for libEGL headers
|
pkg-config
|
||||||
|
scdoc
|
||||||
|
wayland
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [ "out" "contrib" ];
|
buildInputs = [
|
||||||
|
cairo
|
||||||
|
fontconfig
|
||||||
|
libxkbcommon
|
||||||
|
mesa # for libEGL headers
|
||||||
|
pango
|
||||||
|
pixman
|
||||||
|
systemd
|
||||||
|
wayland
|
||||||
|
wayland-protocols
|
||||||
|
wlroots
|
||||||
|
];
|
||||||
|
|
||||||
|
outputs = [
|
||||||
|
"out"
|
||||||
|
"contrib"
|
||||||
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dxwayland=${lib.boolToString withXwayland}"
|
|
||||||
"-Dversion_override=${version}"
|
|
||||||
"-Dman-pages=true"
|
"-Dman-pages=true"
|
||||||
|
"-Dversion_override=${version}"
|
||||||
|
"-Dxwayland=${lib.boolToString withXwayland}"
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user