1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/window-managers/orbment/default.nix
gnidorah b9851a975e 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
2017-12-21 16:16:19 +00:00

42 lines
1.1 KiB
Nix

{ lib, stdenv, fetchgit, cmake, pkgconfig, makeWrapper, callPackage
, wlc, dbus_libs, wayland, libxkbcommon, pixman, libinput, udev, zlib, libpng
, libdrm, libX11
, westonLite
}:
let
bemenu = callPackage ./bemenu.nix {};
in stdenv.mkDerivation rec {
name = "orbment-${version}";
version = "git-2016-08-13";
src = fetchgit {
url = "https://github.com/Cloudef/orbment";
rev = "01dcfff9719e20261a6d8c761c0cc2f8fa0d0de5";
sha256 = "04mv9nh847vijr01zrs47fzmnwfhdx09vi3ddv843mx10yx7lqdb";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
buildInputs = [
wlc dbus_libs wayland libxkbcommon pixman libinput udev zlib libpng libX11
libdrm
];
postFixup = ''
wrapProgram $out/bin/orbment \
--prefix PATH : "${stdenv.lib.makeBinPath [ bemenu westonLite ]}"
'';
enableParallelBuilding = true;
meta = {
description = "Modular Wayland compositor";
homepage = src.url;
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ ];
};
}