nixpkgs/pkgs/desktops/deepin/dtkwm/default.nix

43 lines
937 B
Nix
Raw Normal View History

2018-10-30 22:17:45 +00:00
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qtx11extras, dtkcore,
deepin }:
2018-09-10 06:47:17 +00:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "dtkwm";
2019-05-04 11:42:00 +00:00
version = "2.0.11";
2018-09-10 06:47:17 +00:00
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
2019-05-04 11:42:00 +00:00
sha256 = "10l89i84vsh5knq9wg2php7vfg5rj5c9hrrl9rjlcidn1rz8yx6f";
2018-09-10 06:47:17 +00:00
};
nativeBuildInputs = [
pkgconfig
qmake
];
buildInputs = [
dtkcore
qtx11extras
];
preConfigure = ''
qmakeFlags="$qmakeFlags \
QT_HOST_DATA=$out \
INCLUDE_INSTALL_DIR=$out/include \
LIB_INSTALL_DIR=$out/lib"
'';
2018-10-30 22:17:45 +00:00
passthru.updateScript = deepin.updateScript { inherit name; };
2018-09-10 06:47:17 +00:00
meta = with stdenv.lib; {
description = "Deepin graphical user interface library";
homepage = https://github.com/linuxdeepin/dtkwm;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}