nixpkgs/pkgs/desktops/deepin/deepin-shortcut-viewer/default.nix

46 lines
878 B
Nix
Raw Normal View History

2020-05-03 20:52:19 +01:00
{ stdenv
, mkDerivation
, fetchFromGitHub
, pkgconfig
, qmake
, dtkcore
, dtkwidget
, qt5integration
, deepin
}:
2018-09-04 12:44:21 +01:00
mkDerivation rec {
2018-09-04 12:44:21 +01:00
pname = "deepin-shortcut-viewer";
version = "5.0.0";
2018-09-04 12:44:21 +01:00
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "13vz8kjdqkrhgpvdgrvwn62vwzbyqp88hjm5m4rcqg3bh56709ma";
};
nativeBuildInputs = [
pkgconfig
qmake
];
buildInputs = [
dtkcore
dtkwidget
qt5integration
];
enableParallelBuilding = true;
passthru.updateScript = deepin.updateScript { inherit pname version src; };
2018-10-30 22:17:45 +00:00
2018-09-04 12:44:21 +01:00
meta = with stdenv.lib; {
description = "Pop-up shortcut viewer for Deepin applications";
homepage = "https://github.com/linuxdeepin/deepin-shortcut-viewer";
2018-09-04 12:44:21 +01:00
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}