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

39 lines
1004 B
Nix
Raw Normal View History

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