2018-12-31 03:40:47 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, xorgproto, libxcb
|
2018-06-22 08:43:33 +01:00
|
|
|
, autoreconfHook, json-glib, gtk-doc, which
|
2018-12-02 11:41:15 +00:00
|
|
|
, gobject-introspection
|
2018-06-22 08:43:33 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "i3ipc-glib";
|
2020-08-10 14:24:18 +01:00
|
|
|
version = "1.0.1";
|
2018-06-22 08:43:33 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "acrisci";
|
|
|
|
repo = "i3ipc-glib";
|
|
|
|
rev = "v${version}";
|
2020-08-10 14:24:18 +01:00
|
|
|
sha256 = "01fzvrbnzcwx0vxw29igfpza9zwzp2s7msmzb92v01z0rz0y5m0p";
|
2018-06-22 08:43:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook which pkgconfig ];
|
|
|
|
|
2018-12-31 03:40:47 +00:00
|
|
|
buildInputs = [ libxcb json-glib gtk-doc xorgproto gobject-introspection ];
|
2018-06-22 08:43:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
preAutoreconf = ''
|
|
|
|
gtkdocize
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A C interface library to i3wm";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/acrisci/i3ipc-glib";
|
2018-06-22 08:43:33 +01:00
|
|
|
maintainers = with maintainers; [teto];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|