depot/pkgs/servers/x11/xorg/xcb-util-xrm.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

24 lines
711 B
Nix

{ 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";
};
strictDeps = true;
nativeBuildInputs = [ pkg-config m4 ];
doCheck = true;
buildInputs = [ libxcb xcbutil 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;
};
}