mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
tdnf: fixup support for rpm >= 4.19 (#355750)
This commit is contained in:
commit
24f0d4acd6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user