Unverified Commit 24f0d4ac authored by Arthur Gautier's avatar Arthur Gautier Committed by GitHub
Browse files

tdnf: fixup support for rpm >= 4.19 (#355750)

parents c6503c6f ba0feae0
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch2
, cmake
, curl
, gpgme
@@ -23,6 +24,14 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-p9g+b7Fqq8V6QSaikEQMMHWqBf4UtRA9a/VtH+s5JUM=";
  };

  patches = [
    # Support for rpm >= 4.19
    (fetchpatch2 {
      url = "https://patch-diff.githubusercontent.com/raw/vmware/tdnf/pull/410.patch";
      hash = "sha256-p/ix5O1J/lj2fw7qJokT+wPN4ROoulnVqByfxgFvuEo=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config