2018-06-22 07:43:33 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, xproto, libxcb
|
|
|
|
, autoreconfHook, json-glib, gtk-doc, which
|
2018-12-02 11:41:15 +00:00
|
|
|
, gobject-introspection
|
2018-06-22 07:43:33 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "i3ipc-glib-${version}";
|
|
|
|
version = "0.6.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "acrisci";
|
|
|
|
repo = "i3ipc-glib";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1gmk1zjafrn6jh4j7r0wkwrpwvf9drl1lcw8vya23i1f4zbk0wh4";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook which pkgconfig ];
|
|
|
|
|
2018-12-02 11:41:15 +00:00
|
|
|
buildInputs = [ libxcb json-glib gtk-doc xproto gobject-introspection ];
|
2018-06-22 07:43:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|