2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, 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
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook which pkg-config ];
|
2018-06-22 08:43:33 +01:00
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-06-22 08:43:33 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|