nixpkgs/pkgs/tools/graphics/gromit-mpx/default.nix
Matthew Bauer 76999cc40e treewide: remove aliases in nixpkgs
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases =
true;}'’ work in Nixpkgs.

Misc...

- qtikz: use libsForQt5.callPackage

  This ensures we get the right poppler.

- rewrites:

  docbook5_xsl -> docbook_xsl_ns
  docbook_xml_xslt -> docbook_xsl

diffpdf: fixup
2018-07-18 23:25:20 -04:00

38 lines
1 KiB
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, autoconf, automake, pkgconfig
, gtk, glib, pcre, libappindicator, libpthreadstubs, libXdmcp
, libxkbcommon, epoxy, at-spi2-core, dbus, libdbusmenu
}:
stdenv.mkDerivation rec {
name = "gromit-mpx-${version}";
version = "1.2";
src = fetchFromGitHub {
owner = "bk138";
repo = "gromit-mpx";
rev = "${version}";
sha256 = "1dkmp5rhzp56sz9cfxill2pkdz2anwb8kkxkypvk2xhqi64cvkrs";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
autoconf automake autoreconfHook
gtk glib pcre libappindicator libpthreadstubs
libXdmcp libxkbcommon epoxy at-spi2-core
dbus libdbusmenu
];
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;
};
}