go-gir-generator: init at 1.0.4
This commit is contained in:
parent
91ddedf4a0
commit
2c7c248a53
@ -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 { };
|
||||
|
||||
|
37
pkgs/desktops/deepin/go-gir-generator/default.nix
Normal file
37
pkgs/desktops/deepin/go-gir-generator/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user