2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, xorgproto, libxcb
|
|
|
|
, autoreconfHook, json-glib, gtk-doc, which
|
|
|
|
, gobject-introspection
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
pname = "i3ipc-glib";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "1.0.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "acrisci";
|
|
|
|
repo = "i3ipc-glib";
|
|
|
|
rev = "v${version}";
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "01fzvrbnzcwx0vxw29igfpza9zwzp2s7msmzb92v01z0rz0y5m0p";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook which pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ libxcb json-glib gtk-doc xorgproto gobject-introspection ];
|
|
|
|
|
|
|
|
|
|
|
|
preAutoreconf = ''
|
|
|
|
gtkdocize
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.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;
|
|
|
|
};
|
|
|
|
}
|