dbus-factory: init at 3.1.17

This commit is contained in:
José Romildo Malaquias 2018-09-08 12:36:43 -03:00
parent c1d1207463
commit 2c57a6a704
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, jq, libxml2, go-dbus-generator }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "dbus-factory";
version = "3.1.17";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "1llq8wzgikgpzj7z36fyzk8kjych2h9nzi3x6zv53z0xc1xn4256";
};
nativeBuildInputs = [
jq
libxml2
go-dbus-generator
];
makeFlags = [ "GOPATH=$(out)/share/gocode" ];
meta = with stdenv.lib; {
description = "Generates static DBus bindings for Golang and QML at build-time";
homepage = https://github.com/linuxdeepin/dbus-factory;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}

View File

@ -3,6 +3,7 @@
let
packages = self: with self; {
dbus-factory = callPackage ./dbus-factory { };
dde-qt-dbus-factory = callPackage ./dde-qt-dbus-factory { };
deepin-gettext-tools = callPackage ./deepin-gettext-tools { };
deepin-gtk-theme = callPackage ./deepin-gtk-theme { };