f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
33 lines
877 B
Nix
33 lines
877 B
Nix
{stdenv, fetchFromGitHub, libX11}:
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "wayv";
|
|
version = "0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mikemb";
|
|
repo = pname;
|
|
rev = "b716877603250f690f08b593bf30fd5e8a93a872";
|
|
sha256 = "046dvaq6na1fyxz5nrjg13aaz6ific9wbygck0dknqqfmmjrsv3b";
|
|
};
|
|
|
|
buildInputs = [ libX11 ];
|
|
|
|
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
|
|
'';
|
|
|
|
meta = {
|
|
inherit version;
|
|
description = "A gesture control for X11";
|
|
license = stdenv.lib.licenses.gpl2Plus ;
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
homepage = https://github.com/mikemb/wayV;
|
|
};
|
|
}
|