libpkgmanifest: init at 0.5.9

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
Paul Meyer
2026-05-13 09:11:36 +02:00
parent 88bc5dadf1
commit 00533dbc05
@@ -0,0 +1,50 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
yaml-cpp,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libpkgmanifest";
version = "0.5.9";
strictDeps = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "rpm-software-management";
repo = "libpkgmanifest";
tag = "v${finalAttrs.version}";
hash = "sha256-NWuUu1By7MORITgqac09cOMYrVB91xqiUgxN+7sDPMw=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
yaml-cpp
];
cmakeFlags = [
(lib.cmakeBool "WITH_DOCS" false)
(lib.cmakeBool "WITH_PYTHON" false)
(lib.cmakeBool "WITH_TESTS" false)
(lib.cmakeBool "WITH_CODE_COVERAGE" false)
(lib.cmakeFeature "CMAKE_INSTALL_INCLUDEDIR" "include")
(lib.cmakeFeature "CMAKE_INSTALL_LIBDIR" "lib")
];
meta = {
description = "Library for working with RPM manifests";
homepage = "https://github.com/rpm-software-management/libpkgmanifest";
license = lib.licenses.lgpl21Only;
maintainers = with lib.maintainers; [ katexochen ];
mainProgram = "libpkgmanifest";
platforms = lib.platforms.all;
};
})