summary refs log tree commit diff
path: root/pkgs/development/libraries/xcb-util-cursor/default.nix
blob: a0e71724fb916781294f1173a7f09173f9e6bdef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ stdenv, fetchurl, bashInteractive, autoconf, automake, libtool, pkgconfig
, git, xlibs, gnum4, libxcb, gperf }:

stdenv.mkDerivation rec {
  name = "xcb-util-cursor-0.1.1";

  src = fetchurl {
    url    = "http://xcb.freedesktop.org/dist/xcb-util-cursor-0.1.1.tar.gz";
    sha256 = "0lkjbcml305imyzr80yb8spjvq6y83v2allk5gc9plkv39zag29z";
  };

  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.unix;
  };

  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"
  '';
}