nixpkgs/pkgs/tools/graphics/gromit-mpx/default.nix

39 lines
1,004 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
2016-11-17 00:32:13 +01:00
, gtk, glib, pcre, libappindicator, libpthreadstubs, libXdmcp
, 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 {
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
};
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook ];
2016-11-17 00:32:13 +01:00
buildInputs = [
gtk glib pcre libappindicator libpthreadstubs
libXdmcp libxkbcommon epoxy at-spi2-core
dbus libdbusmenu
2016-11-17 00:32:13 +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.
'';
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;
};
}