2016-08-13 23:29:07 +03:00
|
|
|
{ stdenv, fetchurl, pkgconfig, m4, libxcb, xcbutil, libX11 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-01-28 17:19:03 +03:00
|
|
|
version = "1.2";
|
2016-08-13 23:29:07 +03:00
|
|
|
name = "xcb-util-xrm-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Airblader/xcb-util-xrm/releases/download/v${version}/${name}.tar.bz2";
|
2018-01-28 17:19:03 +03:00
|
|
|
sha256 = "0vbqhag51i0njc8d5fc8c6aa12496cwrc3s6s7sa5kfc17cwhppp";
|
2016-08-13 23:29:07 +03:00
|
|
|
};
|
|
|
|
|
2018-01-28 17:19:03 +03:00
|
|
|
nativeBuildInputs = [ pkgconfig m4 ];
|
|
|
|
buildInputs = [ libxcb xcbutil ]
|
2016-08-30 16:28:02 +03:00
|
|
|
++ stdenv.lib.optional doCheck libX11;
|
2016-08-13 23:29:07 +03:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|