1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00
nixpkgs/pkgs/desktops/deepin/dde-qt-dbus-factory/default.nix
2018-09-01 14:14:21 +02:00

35 lines
850 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, qmake, python }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "dde-qt-dbus-factory";
version = "1.0.4";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "0j0f57byzlz2ixgj6qr1pda83bpwn2q8kxv4i2jv99n6g0qw4nmw";
};
nativeBuildInputs = [
qmake
python
];
postPatch = ''
sed -i libdframeworkdbus/{DFrameworkdbusConfig.in,libdframeworkdbus.pro} \
-e "s,/usr,$out,"
'';
enableParallelBuilding = true;
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 ];
};
}