2021-01-15 09:19:50 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub, libX11}:
|
2017-03-18 11:33:35 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wayv";
|
|
|
|
version = "0.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mikemb";
|
|
|
|
repo = pname;
|
|
|
|
rev = "b716877603250f690f08b593bf30fd5e8a93a872";
|
|
|
|
sha256 = "046dvaq6na1fyxz5nrjg13aaz6ific9wbygck0dknqqfmmjrsv3b";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 ];
|
|
|
|
|
2017-03-18 11:41:00 +00:00
|
|
|
postInstall = ''
|
|
|
|
make -C doc install
|
|
|
|
mkdir -p "$out"/share/doc/wayv
|
|
|
|
cp [A-Z][A-Z]* "$out"/share/doc/wayv
|
|
|
|
cp doc/[A-Z][A-Z]* "$out"/share/doc/wayv
|
|
|
|
cp doc/*.txt "$out"/share/doc/wayv
|
|
|
|
cp doc/*.jpg "$out"/share/doc/wayv
|
|
|
|
'';
|
|
|
|
|
2017-03-18 11:33:35 +00:00
|
|
|
meta = {
|
|
|
|
description = "A gesture control for X11";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2Plus ;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mikemb/wayV";
|
2017-03-18 11:33:35 +00:00
|
|
|
};
|
|
|
|
}
|