1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/servers/x11/xorg/xcb-util-xrm.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
708 B
Nix

{ stdenv, fetchurl, pkgconfig, 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 = [ pkgconfig m4 ];
doCheck = true;
buildInputs = [ libxcb xcbutil ];
checkInputs = [ libX11 ];
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;
};
}