nixpkgs-suyu/pkgs/tools/graphics/gromit-mpx/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

38 lines
981 B
Nix

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