2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
|
2016-11-17 00:32:13 +01:00
|
|
|
, gtk, glib, pcre, libappindicator, libpthreadstubs, libXdmcp
|
2018-07-17 22:11:16 +02:00
|
|
|
, libxkbcommon, epoxy, at-spi2-core, dbus, libdbusmenu
|
2020-08-02 08:00:35 +02:00
|
|
|
, wrapGAppsHook
|
2016-11-17 00:32:13 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "gromit-mpx";
|
2020-12-04 14:39:58 +01:00
|
|
|
version = "1.4";
|
2016-11-17 00:32:13 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bk138";
|
|
|
|
repo = "gromit-mpx";
|
2019-09-09 01:38:31 +02:00
|
|
|
rev = version;
|
2020-12-04 14:39:58 +01:00
|
|
|
sha256 = "1xn14r7lhay720y78j1fs4amp5lia39kpq7vzv02x4nnwhgbsd9r";
|
2016-11-17 00:32:13 +01:00
|
|
|
};
|
|
|
|
|
2020-12-31 08:48:55 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook ];
|
2016-11-17 00:32:13 +01:00
|
|
|
buildInputs = [
|
|
|
|
gtk glib pcre libappindicator libpthreadstubs
|
2018-02-25 03:23:58 +01:00
|
|
|
libXdmcp libxkbcommon epoxy at-spi2-core
|
2018-07-17 22:11:16 +02:00
|
|
|
dbus libdbusmenu
|
2016-11-17 00:32:13 +01:00
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-11-17 00:32:13 +01: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 03:11:51 +02:00
|
|
|
homepage = "https://github.com/bk138/gromit-mpx";
|
2016-11-17 00:32:13 +01:00
|
|
|
maintainers = with maintainers; [ pjones ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|