go-gir-generator: init at 1.0.4

This commit is contained in:
José Romildo Malaquias 2018-09-08 12:30:30 -03:00
parent 91ddedf4a0
commit 2c7c248a53
2 changed files with 38 additions and 0 deletions

View File

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

View File

@ -0,0 +1,37 @@
{ stdenv, fetchFromGitHub, pkgconfig, go, gobjectIntrospection, libgudev }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "go-gir-generator";
version = "1.0.4";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "0yi3lsgkxi8ghz2c7msf2df20jxkvzj8s47slvpzz4m57i82vgzl";
};
nativeBuildInputs = [
pkgconfig
go
];
buildInputs = [
gobjectIntrospection
libgudev
];
makeFlags = [
"PREFIX=$(out)"
"HOME=$(TMP)"
];
meta = with stdenv.lib; {
description = "Generate static golang bindings for GObject";
homepage = https://github.com/linuxdeepin/go-gir-generator;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}