keynav: format

This commit is contained in:
Sandro Jäckel 2021-08-02 09:38:14 +02:00
parent a322ea2345
commit 939f7ca6d1
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,5 +1,18 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, libX11, xorgproto, libXtst, libXi, libXext
, libXinerama, libXrandr, glib, cairo, xdotool }:
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, libX11
, xorgproto
, libXtst
, libXi
, libXext
, libXinerama
, libXrandr
, glib
, cairo
, xdotool
}:
let release = "20180821"; in
stdenv.mkDerivation {
@ -14,17 +27,26 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libX11 xorgproto libXtst libXi libXext libXinerama libXrandr
glib cairo xdotool ];
buildInputs = [
libX11
xorgproto
libXtst
libXi
libXext
libXinerama
libXrandr
glib
cairo
xdotool
];
patchPhase = ''
postPatch = ''
echo >>VERSION MAJOR=0
echo >>VERSION RELEASE=${release}
echo >>VERSION REVISION=0
'';
installPhase =
''
installPhase = ''
mkdir -p $out/bin $out/share/keynav/doc
cp keynav $out/bin
cp keynavrc $out/share/keynav/doc