From 6c9cc6339fed835c3817616f37f476414b08ad8e Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 16 Nov 2016 16:32:13 -0700 Subject: [PATCH] gromit-mpx: init at 1.2 --- pkgs/tools/graphics/gromit-mpx/default.nix | 37 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 6 ++++ 2 files changed, 43 insertions(+) create mode 100644 pkgs/tools/graphics/gromit-mpx/default.nix diff --git a/pkgs/tools/graphics/gromit-mpx/default.nix b/pkgs/tools/graphics/gromit-mpx/default.nix new file mode 100644 index 000000000000..376d1bc134df --- /dev/null +++ b/pkgs/tools/graphics/gromit-mpx/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, autoconf, automake, pkgconfig +, gtk, glib, pcre, libappindicator, libpthreadstubs, libXdmcp +, libxkbcommon, epoxy, at_spi2_core, dbus, libdbusmenu-glib +}: + +stdenv.mkDerivation rec { + name = "gromit-mpx-${version}"; + version = "1.2"; + + src = fetchFromGitHub { + owner = "bk138"; + repo = "gromit-mpx"; + rev = "${version}"; + sha256 = "1dkmp5rhzp56sz9cfxill2pkdz2anwb8kkxkypvk2xhqi64cvkrs"; + }; + + buildInputs = [ + autoconf automake autoreconfHook pkgconfig + gtk glib pcre libappindicator libpthreadstubs + libXdmcp libxkbcommon epoxy at_spi2_core + dbus libdbusmenu-glib + ]; + + meta = with stdenv.lib; { + 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; + license = licenses.gpl2; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 35eee630c28a..6032d0c78796 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1963,6 +1963,12 @@ in netpbm = null; }; + gromit-mpx = callPackage ../tools/graphics/gromit-mpx { + gtk = gtk3; + libappindicator = libappindicator-gtk3; + inherit (xorg) libXdmcp; + }; + groonga = callPackage ../servers/search/groonga { }; grub = callPackage_i686 ../tools/misc/grub {