i3: Use xcb-util-cursor-HEAD on OS X.
This commit is contained in:
parent
8e2fb7c816
commit
92ca614934
39
pkgs/development/libraries/xcb-util-cursor/HEAD.nix
Normal file
39
pkgs/development/libraries/xcb-util-cursor/HEAD.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{ stdenv, fetchgit, bashInteractive, autoconf, automake, libtool, pkgconfig
|
||||||
|
, git, xlibs, gnum4, libxcb, gperf }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "xcb-util-cursor-HEAD";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = http://anongit.freedesktop.org/git/xcb/util-cursor.git;
|
||||||
|
rev = "f03cc278c6cce0cf721adf9c3764d3c5fba63392";
|
||||||
|
sha256 = "1ljvq1gdc1lc33dwn4pzwppws2zgyqx51y3sd3c8gb7vcg5f27i5";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "XCB cursor library (libxcursor port)";
|
||||||
|
homepage = http://cgit.freedesktop.org/xcb/util-cursor;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainer = with maintainers; [ lovek323 ];
|
||||||
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
gnum4
|
||||||
|
gperf
|
||||||
|
libtool
|
||||||
|
libxcb
|
||||||
|
pkgconfig
|
||||||
|
xlibs.utilmacros
|
||||||
|
xlibs.xcbutilimage
|
||||||
|
xlibs.xcbutilrenderutil
|
||||||
|
];
|
||||||
|
|
||||||
|
configurePhase = ''
|
||||||
|
sed -i '15 i\
|
||||||
|
LT_INIT' configure.ac
|
||||||
|
${bashInteractive}/bin/bash autogen.sh --prefix="$out"
|
||||||
|
'';
|
||||||
|
}
|
@ -7381,6 +7381,8 @@ let
|
|||||||
|
|
||||||
xcb-util-cursor = callPackage ../development/libraries/xcb-util-cursor { };
|
xcb-util-cursor = callPackage ../development/libraries/xcb-util-cursor { };
|
||||||
|
|
||||||
|
xcb-util-cursor-HEAD = callPackage ../development/libraries/xcb-util-cursor/HEAD.nix { };
|
||||||
|
|
||||||
xdo = callPackage ../tools/misc/xdo { };
|
xdo = callPackage ../tools/misc/xdo { };
|
||||||
|
|
||||||
xineLib = callPackage ../development/libraries/xine-lib {
|
xineLib = callPackage ../development/libraries/xine-lib {
|
||||||
@ -10293,7 +10295,9 @@ let
|
|||||||
|
|
||||||
hydrogen = callPackage ../applications/audio/hydrogen { };
|
hydrogen = callPackage ../applications/audio/hydrogen { };
|
||||||
|
|
||||||
i3 = callPackage ../applications/window-managers/i3 { };
|
i3 = callPackage ../applications/window-managers/i3 {
|
||||||
|
xcb-util-cursor = if stdenv.isDarwin then xcb-util-cursor-HEAD else xcb-util-cursor;
|
||||||
|
};
|
||||||
|
|
||||||
i3lock = callPackage ../applications/window-managers/i3/lock.nix {
|
i3lock = callPackage ../applications/window-managers/i3/lock.nix {
|
||||||
inherit (xorg) libxkbfile;
|
inherit (xorg) libxkbfile;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user