deepin-menu: init at 3.3.10

This commit is contained in:
José Romildo Malaquias 2018-09-03 22:45:51 -03:00
parent e7a82cac35
commit ff8d974ec0
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ stdenv, fetchFromGitHub, pkgconfig, qmake, dtkcore, dtkwidget,
qt5integration }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "deepin-menu";
version = "3.3.10";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "1666821c2irs2hjgr3kvivij6c2fgjva8323kplrz75w2lz518xb";
};
nativeBuildInputs = [
pkgconfig
qmake
];
buildInputs = [
dtkcore
dtkwidget
qt5integration
];
postPatch = ''
sed -i deepin-menu.pro -e "s,/usr,$out,"
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Deepin menu service";
homepage = https://github.com/linuxdeepin/deepin-menu;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}

View File

@ -7,6 +7,7 @@ let
deepin-gettext-tools = callPackage ./deepin-gettext-tools { };
deepin-gtk-theme = callPackage ./deepin-gtk-theme { };
deepin-icon-theme = callPackage ./deepin-icon-theme { };
deepin-menu = callPackage ./deepin-menu { };
deepin-terminal = callPackage ./deepin-terminal {
inherit (pkgs.gnome3) libgee vte;
wnck = pkgs.libwnck3;