nixpkgs/pkgs/applications/window-managers/orbment/default.nix
Matthew Bauer 76999cc40e treewide: remove aliases in nixpkgs
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases =
true;}'’ work in Nixpkgs.

Misc...

- qtikz: use libsForQt5.callPackage

  This ensures we get the right poppler.

- rewrites:

  docbook5_xsl -> docbook_xsl_ns
  docbook_xml_xslt -> docbook_xsl

diffpdf: fixup
2018-07-18 23:25:20 -04:00

42 lines
1.1 KiB
Nix

{ lib, stdenv, fetchgit, cmake, pkgconfig, makeWrapper, callPackage
, wlc, dbus, 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 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; [ ];
};
}