go-dbus-generator: init at 0.6.6

This commit is contained in:
José Romildo Malaquias 2018-09-08 12:33:13 -03:00
parent a36e9a415c
commit 3f28e941e4
2 changed files with 34 additions and 0 deletions

View file

@ -17,6 +17,7 @@ let
};
dtkcore = callPackage ./dtkcore { };
dtkwidget = callPackage ./dtkwidget { };
go-dbus-generator = callPackage ./go-dbus-generator { };
go-gir-generator = callPackage ./go-gir-generator { };
go-lib = callPackage ./go-lib { };
qt5dxcb-plugin = callPackage ./qt5dxcb-plugin { };

View file

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, go, go-lib }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "go-dbus-generator";
version = "0.6.6";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "17rzicqizyyrhjjf4rild7py1cyd07b2zdcd9nabvwn4gvj6lhfb";
};
nativeBuildInputs = [
go
go-lib
];
makeFlags = [
"PREFIX=$(out)"
"GOPATH=$(GGOPATH):${go-lib}/share/gocode"
"HOME=$(TMP)"
];
meta = with stdenv.lib; {
description = "Convert dbus interfaces to go-lang or qml wrapper code";
homepage = https://github.com/linuxdeepin/go-dbus-generator;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}