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
|
2021-11-11 04:35:34 +00:00
|
|
|
, libxkbcommon, libepoxy, at-spi2-core, dbus, libdbusmenu
|
2020-08-02 06:00:35 +00:00
|
|
|
, wrapGAppsHook
|
2016-11-16 23:32:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gromit-mpx";
|
2022-02-23 13:00:05 +00:00
|
|
|
version = "1.4.2";
|
2016-11-16 23:32:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bk138";
|
|
|
|
repo = "gromit-mpx";
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2022-02-23 13:00:05 +00:00
|
|
|
sha256 = "sha256-2inmcKSdvHs7WaU095liH12Og9ezsNSs2qygltWOclw=";
|
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
|
2021-11-11 04:35:34 +00:00
|
|
|
libXdmcp libxkbcommon libepoxy at-spi2-core
|
2018-07-17 20:11:16 +00: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 01:11:51 +00:00
|
|
|
homepage = "https://github.com/bk138/gromit-mpx";
|
2016-11-16 23:32:13 +00:00
|
|
|
maintainers = with maintainers; [ pjones ];
|
|
|
|
platforms = platforms.linux;
|
2022-02-23 13:00:05 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2016-11-16 23:32:13 +00:00
|
|
|
};
|
|
|
|
}
|