2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchgit, autoconf, automake, libtool, pkg-config
|
2018-07-21 01:44:44 +01:00
|
|
|
, xorg, gnum4, libxcb, gperf }:
|
2015-01-08 20:46:05 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "xcb-util-cursor-0.1.1-3-unstable";
|
2017-05-09 04:31:15 +01:00
|
|
|
version = "2017-04-05";
|
2015-01-08 20:46:05 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://anongit.freedesktop.org/git/xcb/util-cursor.git";
|
2015-01-08 20:46:05 +00:00
|
|
|
rev = "f03cc278c6cce0cf721adf9c3764d3c5fba63392";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "127zfmihd8nqlj8jjaja06xb84xdgl263w0av1xnprx05mkbkcyc";
|
2015-01-08 20:46:05 +00:00
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-01-08 20:46:05 +00:00
|
|
|
description = "XCB cursor library (libxcursor port)";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://cgit.freedesktop.org/xcb/util-cursor";
|
2015-01-08 20:46:05 +00:00
|
|
|
license = licenses.mit;
|
2017-12-05 22:20:11 +00:00
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
2015-01-08 20:46:05 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-25 12:51:01 +01:00
|
|
|
|
2015-01-08 20:46:05 +00:00
|
|
|
buildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
gnum4
|
|
|
|
gperf
|
|
|
|
libtool
|
|
|
|
libxcb
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2015-09-15 10:26:18 +01: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 12:51:01 +01:00
|
|
|
${stdenv.shell} autogen.sh --prefix="$out"
|
2015-01-08 20:46:05 +00:00
|
|
|
'';
|
|
|
|
}
|