Unverified Commit 07d3e1ea authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #263795 from katexochen/dnf5/5-1-6

dnf5: 5.1.4 -> 5.1.6
parents 388854d4 5054ee1c
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
, libsmartcols
, libsolv
, libxml2
, pcre2
, rpm
, sdbus-cpp
, sqlite
@@ -24,13 +25,13 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "dnf5";
  version = "5.1.4";
  version = "5.1.6";

  src = fetchFromGitHub {
    owner = "rpm-software-management";
    repo = "dnf5";
    rev = finalAttrs.version;
    hash = "sha256-zQK7RRn2C/6Avu5oPqSW7KVv6JT3s2hrcgBRkP6055U=";
    hash = "sha256-yIv29mwCBk2H1HjJr2IYm/1eZU379jTNEuTuaoIu4TA=";
  };

  nativeBuildInputs = [ cmake createrepo_c gettext help2man pkg-config ];
@@ -43,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: {
    libsmartcols
    libsolv
    libxml2
    pcre2.dev
    rpm
    sdbus-cpp
    sqlite
@@ -61,6 +63,7 @@ stdenv.mkDerivation (finalAttrs: {
    "-DWITH_TESTS=OFF"
    # TODO: fix man installation paths
    "-DWITH_MAN=OFF"
    "-DWITH_PLUGIN_RHSM=OFF" # Red Hat Subscription Manager plugin
    # the cmake package does not handle absolute CMAKE_INSTALL_INCLUDEDIR correctly
    # (setting it to an absolute path causes include files to go to $out/$out/include,
    #  because the absolute path is interpreted with root at $out).
@@ -83,8 +86,10 @@ stdenv.mkDerivation (finalAttrs: {
  meta = with lib; {
    description = "Next-generation RPM package management system";
    homepage = "https://github.com/rpm-software-management/dnf5";
    changelog = "https://github.com/rpm-software-management/dnf5/releases/tag/${version}";
    license = licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ malt3 ];
    mainProgram = "dnf5";
    platforms = platforms.linux ++ platforms.darwin;
  };
})