Unverified Commit 5dec9a92 authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

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

rubyPackages.ovirt-engine-sdk: fix build on ruby 3.1 and higher
parents 610cbdcf a1200481
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -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: {