mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
dtkgui: init at 5.6.3
This commit is contained in:
parent
919157fcbd
commit
056add9b3f
@ -7,6 +7,8 @@ let
|
||||
#### LIBRARIES
|
||||
dtkcommon = callPackage ./library/dtkcommon { };
|
||||
dtkcore = callPackage ./library/dtkcore { };
|
||||
dtkgui = callPackage ./library/dtkgui { };
|
||||
|
||||
};
|
||||
in
|
||||
lib.makeScope libsForQt5.newScope packages
|
||||
|
57
pkgs/desktops/deepin/library/dtkgui/default.nix
Normal file
57
pkgs/desktops/deepin/library/dtkgui/default.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, cmake
|
||||
, qttools
|
||||
, wrapQtAppsHook
|
||||
, librsvg
|
||||
, lxqt
|
||||
, dtkcore
|
||||
, qtimageformats
|
||||
, freeimage
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dtkgui";
|
||||
version = "5.6.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-r6ZwGPiK6CcKEg8RoHV07wJbQI3idJFV3WFtuKim8n4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
qttools
|
||||
pkg-config
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
lxqt.libqtxdg
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dtkcore
|
||||
librsvg
|
||||
qtimageformats
|
||||
freeimage
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DDVERSION=${version}"
|
||||
"-DBUILD_DOCS=OFF"
|
||||
"-DMKSPECS_INSTALL_DIR=${placeholder "out"}/mkspecs/modules"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Deepin Toolkit, gui module for DDE look and feel";
|
||||
homepage = "https://github.com/linuxdeepin/dtkgui";
|
||||
license = licenses.lgpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.deepin.members;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user