2019-06-16 20:59:06 +01:00
|
|
|
{ stdenv, fetchFromGitHub, qmake, python3, deepin }:
|
2018-09-01 13:14:21 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dde-qt-dbus-factory";
|
2019-11-12 01:08:38 +00:00
|
|
|
version = "5.0.1";
|
2018-09-01 13:14:21 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-11-12 01:08:38 +00:00
|
|
|
sha256 = "1wbh4jgvy3c09ivy0vvfk0azkg4d2sv37y23c9rq49jb3sakcjgm";
|
2018-09-01 13:14:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
2018-12-01 01:44:12 +00:00
|
|
|
python3
|
|
|
|
deepin.setupHook
|
2018-09-01 13:14:21 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
2018-12-01 01:44:12 +00:00
|
|
|
searchHardCodedPaths
|
|
|
|
fixPath $out /usr \
|
|
|
|
libdframeworkdbus/DFrameworkdbusConfig.in \
|
|
|
|
libdframeworkdbus/libdframeworkdbus.pro
|
2018-09-01 13:14:21 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-12-04 09:20:00 +00:00
|
|
|
passthru.updateScript = deepin.updateScript { name = "${pname}-${version}"; };
|
2018-10-30 22:17:45 +00:00
|
|
|
|
2018-09-01 13:14:21 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Qt DBus interface library for Deepin software";
|
|
|
|
homepage = https://github.com/linuxdeepin/dde-qt-dbus-factory;
|
|
|
|
license = with licenses; [ gpl3Plus lgpl2Plus ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|