3
0
Fork 0
forked from mirrors/nixpkgs

deepin.go-gir-generator: Fix compat with glib 2.63+

This commit is contained in:
Jan Tojnar 2020-03-17 01:31:24 +01:00
parent b05ce413fd
commit c5523ba1bf
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, go, gobject-introspection, { stdenv, fetchpatch, fetchFromGitHub, pkgconfig, go, gobject-introspection,
libgudev, deepin }: libgudev, deepin }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -12,6 +12,15 @@ stdenv.mkDerivation rec {
sha256 = "1ydzll8zlk897iqcihvv6p046p0rzr4qqz2drmz2nx95njp8n03a"; sha256 = "1ydzll8zlk897iqcihvv6p046p0rzr4qqz2drmz2nx95njp8n03a";
}; };
patches = [
# Fix compatibility with glib 2.63+
# https://github.com/linuxdeepin/go-gir-generator/pull/11
(fetchpatch {
url = "https://github.com/linuxdeepin/go-gir-generator/commit/7dea15a1a491f28d2ac8c411068ccefeba01aae3.patch";
sha256 = "7bn/mtruCcK+AIXMzhN2e3o7CuzuJ3mtTz0HOTEYTaA=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig pkgconfig
go go