nixpkgs-suyu/pkgs/servers/x11/xorg/xcb-util-xrm.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of 

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

23 lines
710 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";
};
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;
};
}