Make less known wayland compositors usable (#32285)

* bemenu: init at 2017-02-14

* velox: 2015-11-03 -> 2017-07-04

* orbment, velox: don't expose subprojects

the development of orbment and velox got stuck
their subprojects (bemenu, dmenu-wayland, st-wayland) don't work correctly outside of parent projects
so hide them to not confuse people
swc and wld libraries are unpopular and unlike wlc are not used by anything except velox

* pythonPackages.pydbus: init at 0.6.0

* way-cooler: 0.5.2 -> 0.6.2

* nixos/way-cooler: add module

* dconf module: use for wayland

non-invasive approach for #31293
see discussion at #32210

* sway: embed LD_LIBRARY_PATH for #32755

* way-cooler: switch from buildRustPackage to buildRustCrate #31150
This commit is contained in:
gnidorah
2017-12-21 20:16:19 +04:00
committed by zimbatm
parent 9e119825f3
commit b9851a975e
24 changed files with 3525 additions and 138 deletions

View File

@@ -1,34 +0,0 @@
{ lib, stdenv, fetchurl, pkgconfig
, wld, wayland, xwayland, fontconfig, pixman, libdrm, libinput, libevdev, libxkbcommon, libxcb, xcbutilwm
}:
stdenv.mkDerivation rec {
name = "swc-${version}";
version = "git-2016-02-09";
repo = "https://github.com/michaelforney/swc";
rev = "1da0ef13fddc572accea12439a4471b4d2f64ddd";
src = fetchurl {
url = "${repo}/archive/${rev}.tar.gz";
sha256 = "d1894612d8aa1ce828efb78f1570290f84bba6563e21eb777e08c3c3859b7bbe";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ wld wayland xwayland fontconfig pixman libdrm libinput libevdev libxkbcommon libxcb xcbutilwm ];
prePatch = ''
substituteInPlace launch/local.mk --replace 4755 755
'';
makeFlags = "PREFIX=$(out)";
installPhase = "PREFIX=$out make install";
meta = {
description = "A library for making a simple Wayland compositor";
homepage = repo;
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ ];
};
}

View File

@@ -1,30 +0,0 @@
{ lib, stdenv, fetchurl, pkgconfig
, wayland, fontconfig, pixman, freetype, libdrm
}:
stdenv.mkDerivation rec {
name = "wld-${version}";
version = "git-2015-09-01";
repo = "https://github.com/michaelforney/wld";
rev = "efe0a1ed1856a2e4a1893ed0f2d7dde43b5627f0";
src = fetchurl {
url = "${repo}/archive/${rev}.tar.gz";
sha256 = "09388f7828e18c75e7b8d41454903886a725d7a868f60e66c128bd7d2e953ee1";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ wayland fontconfig pixman freetype libdrm ];
makeFlags = "PREFIX=$(out)";
installPhase = "PREFIX=$out make install";
meta = {
description = "A primitive drawing library targeted at Wayland";
homepage = repo;
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ ];
};
}