mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
34 lines
823 B
Nix
34 lines
823 B
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, xorgproto, libxcb
|
|
, autoreconfHook, json-glib, gtk-doc, which
|
|
, gobject-introspection
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "i3ipc-glib";
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "acrisci";
|
|
repo = "i3ipc-glib";
|
|
rev = "v${version}";
|
|
sha256 = "01fzvrbnzcwx0vxw29igfpza9zwzp2s7msmzb92v01z0rz0y5m0p";
|
|
};
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [ autoreconfHook which pkg-config gtk-doc gobject-introspection ];
|
|
|
|
buildInputs = [ libxcb json-glib xorgproto ];
|
|
|
|
preAutoreconf = ''
|
|
gtkdocize
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A C interface library to i3wm";
|
|
homepage = "https://github.com/acrisci/i3ipc-glib";
|
|
maintainers = with maintainers; [teto];
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|