deepin.go-gir-generator: fix dde-api with gobject-introspection 1.58+

This commit is contained in:
Tor Hedin Brønner 2018-11-13 12:20:01 +01:00 committed by Jan Tojnar
parent 0192b5aa54
commit 4da3f08a2c
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, pkgconfig, go, gobjectIntrospection,
libgudev, deepin }:
libgudev, deepin, fetchurl }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
@ -13,6 +13,14 @@ stdenv.mkDerivation rec {
sha256 = "0grp4ffy3vmlknzmymnxq1spwshff2ylqsw82pj4y2v2fcvnqfvb";
};
patches = [
# fix: dde-api build error with gobject-introspection 1.58+
(fetchurl {
url = https://github.com/linuxdeepin/go-gir-generator/commit/a7ab229201e28d1be727f5021b3588fa4a1acf5f.patch;
sha256 = "13ywalwkjg8wwvd0pvmc2rv1h38airyvimdn9jfb5wis9xm48401";
})
];
nativeBuildInputs = [
pkgconfig
go