Skip to content

Commit

Permalink
Merge pull request #46022 from romildo/upd.deepin-menu
Browse files Browse the repository at this point in the history
deepin-menu: init at 3.3.10
  • Loading branch information
xeji authored Sep 4, 2018
2 parents d62e62e + 3451488 commit 8e9c7e8
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 3 deletions.
40 changes: 40 additions & 0 deletions pkgs/desktops/deepin/deepin-menu/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
8 changes: 5 additions & 3 deletions pkgs/desktops/deepin/deepin-terminal/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, gtk3, vala, cmake, ninja, vte, libgee, wnck, zssh, gettext, librsvg, libsecret, json-glib, gobjectIntrospection }:
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, gtk3, vala, cmake,
ninja, vte, libgee, wnck, zssh, gettext, librsvg, libsecret,
json-glib, gobjectIntrospection, deepin-menu }:

stdenv.mkDerivation rec {
name = "deepin-terminal-${version}";
Expand Down Expand Up @@ -30,7 +32,7 @@ stdenv.mkDerivation rec {
gobjectIntrospection
];

buildInputs = [ gtk3 vte libgee wnck librsvg libsecret json-glib ];
buildInputs = [ gtk3 vte libgee wnck librsvg libsecret json-glib deepin-menu ];

meta = with stdenv.lib; {
description = "The default terminal emulation for Deepin";
Expand All @@ -41,7 +43,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://github.com/linuxdeepin/deepin-terminal;
license = licenses.gpl3;
maintainers = with maintainers; [ ];
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}
1 change: 1 addition & 0 deletions pkgs/desktops/deepin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8e9c7e8

Please sign in to comment.