about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/x11/xorg/xcb-util-xrm.nix
blob: ee870f071256f4a63e9795c6fc7694536ee104db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchurl, pkg-config, m4, libxcb, xcbutil, libX11 }:

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";
  };

  nativeBuildInputs = [ pkg-config m4 ];
  doCheck = true;
  buildInputs = [ libxcb xcbutil ];
  checkInputs = [ libX11 ];

  meta = with 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;
  };
}