nixpkgs/pkgs/servers/x11/xorg/xcb-util-xrm.nix

24 lines
710 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, m4, libxcb, xcbutil, libX11 }:
2016-08-13 22:29:07 +02:00
stdenv.mkDerivation rec {
version = "1.3";
pname = "xcb-util-xrm";
2016-08-13 22:29:07 +02:00
src = fetchurl {
url = "https://github.com/Airblader/xcb-util-xrm/releases/download/v${version}/${pname}-${version}.tar.bz2";
sha256 = "118cj1ybw86pgw0l5whn9vbg5n5b0ijcpx295mwahzi004vz671h";
2016-08-13 22:29:07 +02:00
};
nativeBuildInputs = [ pkg-config m4 ];
2016-08-13 22:29:07 +02:00
doCheck = true;
2018-08-08 23:30:43 +02:00
buildInputs = [ libxcb xcbutil ];
checkInputs = [ libX11 ];
2016-08-13 22:29:07 +02:00
meta = with lib; {
2016-08-13 22:29:07 +02:00
description = "XCB utility functions for the X resource manager";
homepage = "https://github.com/Airblader/xcb-util-xrm";
2016-08-13 22:29:07 +02:00
license = licenses.mit; # X11 variant
platforms = with platforms; unix;
};
}