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-06-22 13:26:32 +01:00
|
|
|
version = "1.1.5";
|
2018-09-01 13:14:21 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-06-22 13:26:32 +01:00
|
|
|
sha256 = "1jzfblsmnfpgym95mmbd8mjkk8wqqfb0kz6n6fy742hmqlzrpsj7";
|
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-08-15 13:41:18 +01:00
|
|
|
passthru.updateScript = deepin.updateScript { inherit ;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 ];
|
|
|
|
};
|
|
|
|
}
|