2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
|
2016-11-16 23:32:13 +00:00
|
|
|
, gtk, glib, pcre, libappindicator, libpthreadstubs, libXdmcp
|
2018-07-17 21:11:16 +01:00
|
|
|
, libxkbcommon, epoxy, at-spi2-core, dbus, libdbusmenu
|
2020-08-02 07:00:35 +01:00
|
|
|
, wrapGAppsHook
|
2016-11-16 23:32:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gromit-mpx";
|
2020-12-04 13:39:58 +00:00
|
|
|
version = "1.4";
|
2016-11-16 23:32:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bk138";
|
|
|
|
repo = "gromit-mpx";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2020-12-04 13:39:58 +00:00
|
|
|
sha256 = "1xn14r7lhay720y78j1fs4amp5lia39kpq7vzv02x4nnwhgbsd9r";
|
2016-11-16 23:32:13 +00:00
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook ];
|
2016-11-16 23:32:13 +00:00
|
|
|
buildInputs = [
|
|
|
|
gtk glib pcre libappindicator libpthreadstubs
|
2018-02-25 02:23:58 +00:00
|
|
|
libXdmcp libxkbcommon epoxy at-spi2-core
|
2018-07-17 21:11:16 +01:00
|
|
|
dbus libdbusmenu
|
2016-11-16 23:32:13 +00:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-11-16 23:32:13 +00:00
|
|
|
description = "Desktop annotation tool";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Gromit-MPX (GRaphics Over MIscellaneous Things) is a small tool
|
|
|
|
to make annotations on the screen.
|
|
|
|
'';
|
|
|
|
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/bk138/gromit-mpx";
|
2016-11-16 23:32:13 +00:00
|
|
|
maintainers = with maintainers; [ pjones ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|