2018-10-30 22:17:45 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, qmake, python, deepin }:
|
2018-09-01 13:14:21 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "dde-qt-dbus-factory";
|
2018-10-31 00:16:19 +00:00
|
|
|
version = "1.0.5";
|
2018-09-01 13:14:21 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2018-10-31 00:16:19 +00:00
|
|
|
sha256 = "0cz55hsbhy1ab1mndv0sp6xnqrhz2y66w7pcxy8v9k87ii32czf8";
|
2018-09-01 13:14:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
|
|
|
python
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i libdframeworkdbus/{DFrameworkdbusConfig.in,libdframeworkdbus.pro} \
|
|
|
|
-e "s,/usr,$out,"
|
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-10-30 22:17:45 +00:00
|
|
|
passthru.updateScript = deepin.updateScript { inherit name; };
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|