2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, m4, libxcb, xcbutil, libX11 }:
|
2016-08-13 21:29:07 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-09-06 15:38:41 +01:00
|
|
|
version = "1.3";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "xcb-util-xrm";
|
2016-08-13 21:29:07 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://github.com/Airblader/xcb-util-xrm/releases/download/v${version}/${pname}-${version}.tar.bz2";
|
2018-09-06 15:38:41 +01:00
|
|
|
sha256 = "118cj1ybw86pgw0l5whn9vbg5n5b0ijcpx295mwahzi004vz671h";
|
2016-08-13 21:29:07 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config m4 ];
|
2016-08-13 21:29:07 +01:00
|
|
|
doCheck = true;
|
2018-08-08 22:30:43 +01:00
|
|
|
buildInputs = [ libxcb xcbutil ];
|
|
|
|
checkInputs = [ libX11 ];
|
2016-08-13 21:29:07 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-08-13 21:29:07 +01:00
|
|
|
description = "XCB utility functions for the X resource manager";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Airblader/xcb-util-xrm";
|
2016-08-13 21:29:07 +01:00
|
|
|
license = licenses.mit; # X11 variant
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|