From ac4d3c4f5882ccdaf8132bd51f1c6019fd70714f Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Fri, 27 Oct 2023 14:50:06 +0200 Subject: [PATCH 1/3] dnf5: add changelog and mainProgram Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- pkgs/tools/package-management/dnf5/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/package-management/dnf5/default.nix b/pkgs/tools/package-management/dnf5/default.nix index 3d6119f51cca..aebe0e6f3869 100644 --- a/pkgs/tools/package-management/dnf5/default.nix +++ b/pkgs/tools/package-management/dnf5/default.nix @@ -83,8 +83,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; }; }) From 8f2bc7e1afccc73879e1dda937851460a7c475bb Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Fri, 27 Oct 2023 15:35:33 +0200 Subject: [PATCH 2/3] dnf5: 5.1.4 -> 5.1.5 Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- pkgs/tools/package-management/dnf5/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/package-management/dnf5/default.nix b/pkgs/tools/package-management/dnf5/default.nix index aebe0e6f3869..27164ca21b43 100644 --- a/pkgs/tools/package-management/dnf5/default.nix +++ b/pkgs/tools/package-management/dnf5/default.nix @@ -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.5"; src = fetchFromGitHub { owner = "rpm-software-management"; repo = "dnf5"; rev = finalAttrs.version; - hash = "sha256-zQK7RRn2C/6Avu5oPqSW7KVv6JT3s2hrcgBRkP6055U="; + hash = "sha256-lALk2cJQekVdddhxn8Picmy+yLqym4l4kJAD+t3VX6Y="; }; 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). From 5054ee1c4bd114fbaee44fa6b4f7ffb1b660c2c3 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Fri, 27 Oct 2023 15:44:01 +0200 Subject: [PATCH 3/3] dnf5: 5.1.5 -> 5.1.6 Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- pkgs/tools/package-management/dnf5/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/package-management/dnf5/default.nix b/pkgs/tools/package-management/dnf5/default.nix index 27164ca21b43..7f0160c2081c 100644 --- a/pkgs/tools/package-management/dnf5/default.nix +++ b/pkgs/tools/package-management/dnf5/default.nix @@ -25,13 +25,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "dnf5"; - version = "5.1.5"; + version = "5.1.6"; src = fetchFromGitHub { owner = "rpm-software-management"; repo = "dnf5"; rev = finalAttrs.version; - hash = "sha256-lALk2cJQekVdddhxn8Picmy+yLqym4l4kJAD+t3VX6Y="; + hash = "sha256-yIv29mwCBk2H1HjJr2IYm/1eZU379jTNEuTuaoIu4TA="; }; nativeBuildInputs = [ cmake createrepo_c gettext help2man pkg-config ];