Merge pull request #327164 from Tochiaha/yamlfilter

This commit is contained in:
Sandro 2024-07-15 15:21:56 +02:00 committed by GitHub
commit ba65bb2305
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,36 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
libyaml,
pkg-config,
}:
stdenv.mkDerivation rec {
pname = "yaml-filter";
version = "0.2.0";
src = fetchFromGitHub {
owner = "OpenSCAP";
repo = "yaml-filter";
rev = "v${version}";
hash = "sha256-HDHjOapMFjuDcWW5+opKD2tllbwz4YBw/EI4W7Wf/6g=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [ libyaml ];
meta = {
description = "YAML document filtering for libyaml";
homepage = "https://github.com/OpenSCAP/yaml-filter";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tochiaha ];
mainProgram = "yamlp";
platforms = lib.platforms.all;
};
}