lol
1{ stdenv, fetchgit, bashInteractive, autoconf, automake, libtool, pkgconfig
2, git, xorg, gnum4, libxcb, gperf }:
3
4stdenv.mkDerivation rec {
5 name = "xcb-util-cursor-0.1.1-3-gf03cc27";
6
7 src = fetchgit {
8 url = http://anongit.freedesktop.org/git/xcb/util-cursor.git;
9 rev = "f03cc278c6cce0cf721adf9c3764d3c5fba63392";
10 sha256 = "1ljvq1gdc1lc33dwn4pzwppws2zgyqx51y3sd3c8gb7vcg5f27i5";
11 };
12
13 meta = with stdenv.lib; {
14 description = "XCB cursor library (libxcursor port)";
15 homepage = http://cgit.freedesktop.org/xcb/util-cursor;
16 license = licenses.mit;
17 maintainer = with maintainers; [ lovek323 ];
18 platforms = platforms.linux ++ platforms.darwin;
19 };
20
21 buildInputs = [
22 autoconf
23 automake
24 gnum4
25 gperf
26 libtool
27 libxcb
28 pkgconfig
29 xorg.utilmacros
30 xorg.xcbutilimage
31 xorg.xcbutilrenderutil
32 ];
33
34 configurePhase = ''
35 sed -i '15 i\
36 LT_INIT' configure.ac
37 ${bashInteractive}/bin/bash autogen.sh --prefix="$out"
38 '';
39}