2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
|
2022-10-21 18:38:19 +00:00
|
|
|
, gtk, glib, pcre, libappindicator, libpthreadstubs, xorg
|
2021-12-06 16:07:01 +00:00
|
|
|
, libxkbcommon, libepoxy, at-spi2-core, dbus, libdbusmenu
|
2020-08-20 17:08:02 +00:00
|
|
|
, wrapGAppsHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gromit-mpx";
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "1.4.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bk138";
|
|
|
|
repo = "gromit-mpx";
|
|
|
|
rev = version;
|
2022-03-05 16:20:37 +00:00
|
|
|
sha256 = "sha256-2inmcKSdvHs7WaU095liH12Og9ezsNSs2qygltWOclw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
|
|
|
gtk glib pcre libappindicator libpthreadstubs
|
2022-10-21 18:38:19 +00:00
|
|
|
xorg.libXdmcp libxkbcommon libepoxy at-spi2-core
|
2020-04-24 23:36:52 +00:00
|
|
|
dbus libdbusmenu
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Desktop annotation tool";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Gromit-MPX (GRaphics Over MIscellaneous Things) is a small tool
|
|
|
|
to make annotations on the screen.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = "https://github.com/bk138/gromit-mpx";
|
|
|
|
maintainers = with maintainers; [ pjones ];
|
|
|
|
platforms = platforms.linux;
|
2022-03-05 16:20:37 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|