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

This commit is contained in:
Arthur Gautier 2024-11-13 20:59:08 +00:00 committed by GitHub
commit 24f0d4acd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,7 @@
{ 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