2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, m4, libxcb, xcbutil, libX11 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.3";
|
|
|
|
pname = "xcb-util-xrm";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Airblader/xcb-util-xrm/releases/download/v${version}/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "118cj1ybw86pgw0l5whn9vbg5n5b0ijcpx295mwahzi004vz671h";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config m4 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = true;
|
|
|
|
buildInputs = [ libxcb xcbutil ];
|
|
|
|
checkInputs = [ libX11 ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "XCB utility functions for the X resource manager";
|
|
|
|
homepage = "https://github.com/Airblader/xcb-util-xrm";
|
|
|
|
license = licenses.mit; # X11 variant
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|