Unverified Commit c11326b9 authored by Paul Meyer's avatar Paul Meyer Committed by GitHub
Browse files

dnf5: 5.2.10.0 -> 5.2.11.0 (#389177)

parents 6dd3e695 071239d7
Loading
Loading
Loading
Loading
+15 −5
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  appstream,
  cmake,
  createrepo_c,
@@ -21,7 +22,7 @@
  libyaml,
  pcre2,
  rpm,
  sdbus-cpp,
  sdbus-cpp_2,
  sphinx,
  sqlite,
  systemd,
@@ -33,7 +34,7 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "dnf5";
  version = "5.2.10.0";
  version = "5.2.11.0";

  outputs = [
    "out"
@@ -43,10 +44,19 @@ stdenv.mkDerivation (finalAttrs: {
  src = fetchFromGitHub {
    owner = "rpm-software-management";
    repo = "dnf5";
    rev = finalAttrs.version;
    hash = "sha256-FDC9va2UKnmAHMQeoH7Rwvu/IN+vZCspvupYvo81nkY=";
    tag = finalAttrs.version;
    hash = "sha256-89zJ2ORHPqy6qgmMdOSyPEcgxtEYE4CPnmRp7FfNj8Y=";
  };

  patches = [
    # Only define systemd constants when WITH_SYSTEMD is enabled
    (fetchpatch {
      name = "0001-offline-only-define-systemd-constants.patch";
      url = "https://github.com/rpm-software-management/dnf5/commit/f75894eea0892917d80e8f0bf3f9f6c8db0ac400.patch";
      hash = "sha256-4eBeBTzhOTUDtiOlfiddh7gJ8AoiMty4FSTlLtdymos=";
    })
  ];

  nativeBuildInputs =
    [
      cmake
@@ -76,7 +86,7 @@ stdenv.mkDerivation (finalAttrs: {
    libyaml
    pcre2.dev
    rpm
    sdbus-cpp
    sdbus-cpp_2
    sqlite
    systemd
    toml11