Merge pull request #233005 from viraptor/ruby-ovirt-engine-sdk-fix

rubyPackages.ovirt-engine-sdk: fix build on ruby 3.1 and higher
This commit is contained in:
Ryan Lahfa 2023-05-20 17:54:02 +02:00 committed by GitHub
commit 5dec9a9236
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@
, bison, flex, pango, python3, patchelf, binutils, freetds, wrapGAppsHook, atk
, bundler, libsass, libexif, libselinux, libsepol, shared-mime-info, libthai, libdatrie
, CoreServices, DarwinTools, cctools, libtool, discount, exiv2, libmaxminddb, libyaml
, autoSignDarwinBinariesHook
, autoSignDarwinBinariesHook, fetchpatch
}@args:
let
@ -530,6 +530,15 @@ in
ovirt-engine-sdk = attrs: {
buildInputs = [ curl libxml2 ];
dontBuild = false;
patches = [
# fix ruby 3.1 https://github.com/oVirt/ovirt-engine-sdk-ruby/pull/3
(fetchpatch {
url = "https://github.com/oVirt/ovirt-engine-sdk-ruby/pull/3/commits/b596b919bc7857fdc0fc1c61a8cb7eab32cfc2db.patch";
hash = "sha256-AzGTQaD/e6X4LOMuXhy/WhbayhWKYCGHXPFlzLRWyPM=";
stripLen = 1;
})
];
};
pango = attrs: {