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

dnf5: 5.1.4 -> 5.1.6
This commit is contained in:
Weijia Wang 2023-10-27 19:36:49 +02:00 committed by GitHub
commit 07d3e1ea7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
};
})