depot/third_party/nixpkgs/pkgs/desktops/deepin/dde-qt-dbus-factory/default.nix
Default email 66604c92c1 Project import generated by Copybara.
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
2020-05-15 23:57:56 +02:00

43 lines
965 B
Nix

{ stdenv
, fetchFromGitHub
, qmake
, python3
, deepin
}:
stdenv.mkDerivation rec {
pname = "dde-qt-dbus-factory";
version = "5.0.1";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "1wbh4jgvy3c09ivy0vvfk0azkg4d2sv37y23c9rq49jb3sakcjgm";
};
nativeBuildInputs = [
qmake
python3
deepin.setupHook
];
postPatch = ''
searchHardCodedPaths
fixPath $out /usr \
libdframeworkdbus/DFrameworkdbusConfig.in \
libdframeworkdbus/libdframeworkdbus.pro
'';
enableParallelBuilding = true;
passthru.updateScript = deepin.updateScript { inherit pname version src; };
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 ];
};
}