Merge pull request #46037 from romildo/upd.deepin-shortcut-viewer

deepin-shortcut-viewer: init at 1.3.5
This commit is contained in:
xeji 2018-09-04 15:38:14 +02:00 committed by GitHub
commit 45ec8534b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 59 additions and 5 deletions

View File

@ -0,0 +1,37 @@
{ stdenv, fetchFromGitHub, pkgconfig, qmake, dtkcore, dtkwidget,
qt5integration
}:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "deepin-shortcut-viewer";
version = "1.3.5";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "13vz8kjdqkrhgpvdgrvwn62vwzbyqp88hjm5m4rcqg3bh56709ma";
};
nativeBuildInputs = [
pkgconfig
qmake
];
buildInputs = [
dtkcore
dtkwidget
qt5integration
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Pop-up shortcut viewer for Deepin applications";
homepage = https://github.com/linuxdeepin/deepin-shortcut-viewer;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}

View File

@ -1,6 +1,7 @@
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, gtk3, vala, cmake, { stdenv, fetchurl, fetchFromGitHub, pkgconfig, gtk3, vala, cmake,
ninja, vte, libgee, wnck, zssh, gettext, librsvg, libsecret, ninja, vte, libgee, wnck, zssh, gettext, librsvg, libsecret,
json-glib, gobjectIntrospection, deepin-menu }: json-glib, gobjectIntrospection, deepin-menu, deepin-shortcut-viewer
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "deepin-terminal-${version}"; name = "deepin-terminal-${version}";
@ -27,12 +28,27 @@ stdenv.mkDerivation rec {
''; '';
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig vala cmake ninja gettext pkgconfig
# For setup hook vala
gobjectIntrospection cmake
ninja
gettext
gobjectIntrospection # For setup hook
]; ];
buildInputs = [ gtk3 vte libgee wnck librsvg libsecret json-glib deepin-menu ]; buildInputs = [
gtk3
vte
libgee
wnck
librsvg
libsecret
json-glib
deepin-menu
deepin-shortcut-viewer
];
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "The default terminal emulation for Deepin"; description = "The default terminal emulation for Deepin";

View File

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