mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
54 lines
948 B
Nix
54 lines
948 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, dtkwidget
|
|
, qt5integration
|
|
, qt5platform-plugins
|
|
, qmake
|
|
, qtbase
|
|
, qttools
|
|
, pkg-config
|
|
, wrapQtAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "deepin-shortcut-viewer";
|
|
version = "5.0.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxdeepin";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-r/ZhA9yiPnJNTrBkVOvaTqfRvGO/NTod5tiQCquG5Gw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
qmake
|
|
qttools
|
|
pkg-config
|
|
wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
dtkwidget
|
|
qt5integration
|
|
qt5platform-plugins
|
|
];
|
|
|
|
qmakeFlags = [
|
|
"VERSION=${version}"
|
|
"PREFIX=${placeholder "out"}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Deepin Shortcut Viewer";
|
|
mainProgram = "deepin-shortcut-viewer";
|
|
homepage = "https://github.com/linuxdeepin/deepin-shortcut-viewer";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = teams.deepin.members;
|
|
};
|
|
}
|
|
|