2016-04-25 11:51:01 +00:00
|
|
|
{ stdenv, fetchgit, autoconf, automake, libtool, pkgconfig
|
2015-09-15 09:26:18 +00:00
|
|
|
, git, xorg, gnum4, libxcb, gperf }:
|
2015-01-08 20:46:05 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-05-09 03:31:15 +00:00
|
|
|
name = "xcb-util-cursor-0.1.1-3-unstable-${version}";
|
|
|
|
version = "2017-04-05";
|
2015-01-08 20:46:05 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = http://anongit.freedesktop.org/git/xcb/util-cursor.git;
|
|
|
|
rev = "f03cc278c6cce0cf721adf9c3764d3c5fba63392";
|
2016-06-02 11:26:44 +00:00
|
|
|
sha256 = "127zfmihd8nqlj8jjaja06xb84xdgl263w0av1xnprx05mkbkcyc";
|
2015-01-08 20:46:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2016-08-29 00:30:01 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-25 11:51:01 +00:00
|
|
|
|
2015-01-08 20:46:05 +00:00
|
|
|
buildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
gnum4
|
|
|
|
gperf
|
|
|
|
libtool
|
|
|
|
libxcb
|
|
|
|
pkgconfig
|
2015-09-15 09:26:18 +00:00
|
|
|
xorg.utilmacros
|
|
|
|
xorg.xcbutilimage
|
|
|
|
xorg.xcbutilrenderutil
|
2015-01-08 20:46:05 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
sed -i '15 i\
|
|
|
|
LT_INIT' configure.ac
|
2016-04-25 11:51:01 +00:00
|
|
|
${stdenv.shell} autogen.sh --prefix="$out"
|
2015-01-08 20:46:05 +00:00
|
|
|
'';
|
|
|
|
}
|