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