nixpkgs/pkgs/development/libraries/libdbusmenu-qt/qt-5.5.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

26 lines
688 B
Nix

{ stdenv, fetchgit, cmake, qtbase }:
stdenv.mkDerivation rec {
pname = "libdbusmenu-qt";
version = "0.9.3+16";
src = fetchgit {
url = https://git.launchpad.net/ubuntu/+source/libdbusmenu-qt;
rev = "import/${version}.04.20160218-1";
sha256 = "039yvklhbmfbcynrbqq9n5ywmj8bjfslnkzcnwpzyhnxdzb6yxlx";
};
buildInputs = [ qtbase ];
nativeBuildInputs = [ cmake ];
cmakeFlags = "-DWITH_DOC=OFF";
meta = with stdenv.lib; {
homepage = https://launchpad.net/libdbusmenu-qt;
description = "Provides a Qt implementation of the DBusMenu spec";
maintainers = [ maintainers.ttuegel ];
inherit (qtbase.meta) platforms;
license = licenses.lgpl2;
};
}