nixpkgs/pkgs/desktops/deepin/dde-qt-dbus-factory/default.nix

37 lines
924 B
Nix
Raw Normal View History

2018-10-30 22:17:45 +00:00
{ stdenv, fetchFromGitHub, pkgconfig, qmake, python, deepin }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "dde-qt-dbus-factory";
version = "1.0.5";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "0cz55hsbhy1ab1mndv0sp6xnqrhz2y66w7pcxy8v9k87ii32czf8";
};
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; };
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 ];
};
}