diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-06 18:40:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-06 18:40:15 +0200 |
commit | 386fbc91144cdc8c44dd3ea9141355b8f9edf261 (patch) | |
tree | 8f7fa4eb20e0f6ae492fecf98ea923e34ae8a9b2 /pkgs/xcb-util/default.nix | |
parent | 3b268ae987ea467970584249fade65c06f21769d (diff) | |
download | pnpkgs-386fbc91144cdc8c44dd3ea9141355b8f9edf261.tar.gz pnpkgs-386fbc91144cdc8c44dd3ea9141355b8f9edf261.zip |
Add xcb-util
Diffstat (limited to 'pkgs/xcb-util/default.nix')
-rw-r--r-- | pkgs/xcb-util/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/xcb-util/default.nix b/pkgs/xcb-util/default.nix new file mode 100644 index 0000000..1189e62 --- /dev/null +++ b/pkgs/xcb-util/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchzip, pkg-config, libxcb }: + +stdenv.mkDerivation rec { + pname = "xcb-util"; + version = "0.4"; + + src = fetchzip { + url = "https://xcb.freedesktop.org/dist/xcb-util-0.4.0.tar.bz2"; + sha256 = "1sahmrgbpyki4bb72hxym0zvxwnycmswsxiisgqlln9vrdlr9r26"; + }; + + preConfigure = "./autogen.sh"; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ libxcb ]; + + meta = with stdenv.lib; { + homepage = "https://xcb.freedesktop.org/XcbUtil/"; + description = "The xcb-util module provides a number of libraries which sit on top of libxcb, the core X protocol library, and some of the extension libraries"; + license = licenses.isc; + maintainers = with maintainers; [ ]; + platforms = platforms.linux; + }; +} |