2019-06-16 21:59:06 +02:00
|
|
|
{ stdenv, fetchFromGitHub, qmake, python3, deepin }:
|
2018-09-01 14:14:21 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "dde-qt-dbus-factory";
|
2019-06-22 14:26:32 +02:00
|
|
|
version = "1.1.5";
|
2018-09-01 14:14:21 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-06-22 14:26:32 +02:00
|
|
|
sha256 = "1jzfblsmnfpgym95mmbd8mjkk8wqqfb0kz6n6fy742hmqlzrpsj7";
|
2018-09-01 14:14:21 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
2018-12-01 02:44:12 +01:00
|
|
|
python3
|
|
|
|
deepin.setupHook
|
2018-09-01 14:14:21 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
2018-12-01 02:44:12 +01:00
|
|
|
searchHardCodedPaths
|
|
|
|
fixPath $out /usr \
|
|
|
|
libdframeworkdbus/DFrameworkdbusConfig.in \
|
|
|
|
libdframeworkdbus/libdframeworkdbus.pro
|
2018-09-01 14:14:21 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-10-30 23:17:45 +01:00
|
|
|
passthru.updateScript = deepin.updateScript { inherit name; };
|
|
|
|
|
2018-09-01 14:14:21 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|