Merge pull request #213490 from OPNA2608/refactor/yaml-cpp

yaml-cpp*: Refactor, rename, adopt
This commit is contained in:
Sandro 2023-02-02 17:32:34 +01:00 committed by GitHub
commit a9cadfb7b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 168 additions and 141 deletions

View file

@ -6,7 +6,7 @@
, meson , meson
, ninja , ninja
, libmpdclient , libmpdclient
, libyamlcpp , yaml-cpp
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
dontUseCmakeConfigure = true; dontUseCmakeConfigure = true;
nativeBuildInputs = [ cmake pkg-config meson ninja ]; nativeBuildInputs = [ cmake pkg-config meson ninja ];
buildInputs = [ libmpdclient libyamlcpp ]; buildInputs = [ libmpdclient yaml-cpp ];
mesonFlags = [ "-Dunsupported_use_system_yamlcpp=true" ]; mesonFlags = [ "-Dunsupported_use_system_yamlcpp=true" ];

View file

@ -25,7 +25,7 @@
, makeWrapper , makeWrapper
, pandoc , pandoc
, llvmPackages , llvmPackages
, libyamlcpp , yaml-cpp
, soci , soci
, postgresql , postgresql
, nodejs , nodejs
@ -95,7 +95,7 @@ in
openssl openssl
R R
libuuid libuuid
libyamlcpp yaml-cpp
soci soci
postgresql postgresql
] ++ (if server then [ ] ++ (if server then [

View file

@ -8,7 +8,7 @@
, unzip , unzip
, wrapQtAppsHook , wrapQtAppsHook
, qtwebengine , qtwebengine
, libyamlcpp , yaml-cpp
, libirc , libirc
}: }:
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
which which
cmake cmake
]; ];
buildInputs = [ ncurses libyamlcpp qtwebengine libirc ]; buildInputs = [ ncurses yaml-cpp qtwebengine libirc ];
patches = [ ./00-remove-third-party.patch ./01-extensions.patch ]; patches = [ ./00-remove-third-party.patch ./01-extensions.patch ];
postPatch = '' postPatch = ''

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, libroxml, proj_7, libyamlcpp, boost } : { lib, stdenv, fetchFromGitHub, libroxml, proj_7, yaml-cpp_0_3, boost } :
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "osm2xmap"; pname = "osm2xmap";
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"; NIX_CFLAGS_COMPILE = "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H";
buildInputs = [ libroxml proj_7 libyamlcpp boost ]; buildInputs = [ libroxml proj_7 yaml-cpp_0_3 boost ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/sembruk/osm2xmap"; homepage = "https://github.com/sembruk/osm2xmap";

View file

@ -21,7 +21,7 @@
, libnatpmp , libnatpmp
, libpulseaudio , libpulseaudio
, libupnp , libupnp
, libyamlcpp , yaml-cpp
, msgpack , msgpack
, opendht-jami , opendht-jami
, openssl , openssl
@ -62,7 +62,7 @@ stdenv.mkDerivation {
libnatpmp libnatpmp
libpulseaudio libpulseaudio
libupnp libupnp
libyamlcpp yaml-cpp
msgpack msgpack
opendht-jami opendht-jami
openssl openssl

View file

@ -4,7 +4,7 @@
, substituteAll , substituteAll
, cmake , cmake
, openjpeg , openjpeg
, libyamlcpp , yaml-cpp
, batchVersion ? false , batchVersion ? false
, withJpegLs ? true , withJpegLs ? true
, withOpenJpeg ? true , withOpenJpeg ? true
@ -40,12 +40,12 @@ stdenv.mkDerivation rec {
]; ];
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals batchVersion [ libyamlcpp ] buildInputs = lib.optionals batchVersion [ yaml-cpp ]
++ lib.optionals withOpenJpeg [ openjpeg openjpeg.dev ]; ++ lib.optionals withOpenJpeg [ openjpeg openjpeg.dev ];
cmakeFlags = lib.optionals batchVersion [ cmakeFlags = lib.optionals batchVersion [
"-DBATCH_VERSION=ON" "-DBATCH_VERSION=ON"
"-DYAML-CPP_DIR=${libyamlcpp}/lib/cmake/yaml-cpp" "-DYAML-CPP_DIR=${yaml-cpp}/lib/cmake/yaml-cpp"
] ++ lib.optionals withJpegLs [ ] ++ lib.optionals withJpegLs [
"-DUSE_JPEGLS=ON" "-DUSE_JPEGLS=ON"
] ++ lib.optionals withOpenJpeg [ ] ++ lib.optionals withOpenJpeg [

View file

@ -1,4 +1,4 @@
{ clangStdenv, fetchFromGitHub, fetchpatch, catch2, rang, fmt, libyamlcpp, cmake { clangStdenv, fetchFromGitHub, fetchpatch, catch2, rang, fmt, yaml-cpp, cmake
, eigen, lua, luaPackages, liblapack, blas, lib, boost, gsl }: , eigen, lua, luaPackages, liblapack, blas, lib, boost, gsl }:
clangStdenv.mkDerivation rec { clangStdenv.mkDerivation rec {
@ -20,7 +20,7 @@ clangStdenv.mkDerivation rec {
}) })
]; ];
nativeBuildInputs = [ cmake lua luaPackages.luafilesystem ]; nativeBuildInputs = [ cmake lua luaPackages.luafilesystem ];
buildInputs = [ fmt rang libyamlcpp eigen catch2 boost gsl liblapack blas ]; buildInputs = [ fmt rang yaml-cpp eigen catch2 boost gsl liblapack blas ];
meta = with lib; { meta = with lib; {
description = description =

View file

@ -5,7 +5,7 @@
, libconfig , libconfig
, boost , boost
, libyaml , libyaml
, libyamlcpp , yaml-cpp
, ncurses , ncurses
, gpm , gpm
, enableAccelergy ? true , enableAccelergy ? true
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
libconfig libconfig
boost boost
libyaml libyaml
libyamlcpp yaml-cpp
ncurses ncurses
accelergy accelergy
] ++ lib.optionals stdenv.isLinux [ gpm ]; ] ++ lib.optionals stdenv.isLinux [ gpm ];

View file

@ -8,7 +8,7 @@
, gsl , gsl
, lhapdf , lhapdf
, libarchive , libarchive
, libyamlcpp , yaml-cpp
, python3 , python3
, sqlite , sqlite
, swig , swig
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
gsl gsl
lhapdf lhapdf
libarchive libarchive
libyamlcpp yaml-cpp
python3 python3
python3.pkgs.numpy python3.pkgs.numpy
sqlite sqlite

View file

@ -13,7 +13,7 @@
, lhapdf , lhapdf
, libtirpc , libtirpc
, libyaml , libyaml
, libyamlcpp , yaml-cpp
, pkg-config , pkg-config
, qcdnum , qcdnum
, root , root
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake gfortran pkg-config ]; nativeBuildInputs = [ cmake gfortran pkg-config ];
buildInputs = buildInputs =
[ apfel blas ceres-solver lhapdf lapack libyaml root qcdnum gsl libyamlcpp zlib ] [ apfel blas ceres-solver lhapdf lapack libyaml root qcdnum gsl yaml-cpp zlib ]
++ lib.optionals ("5" == lib.versions.major root.version) [ apfelgrid applgrid ] ++ lib.optionals ("5" == lib.versions.major root.version) [ apfelgrid applgrid ]
++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook memstreamHook ] ++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook memstreamHook ]
++ lib.optional (stdenv.hostPlatform.libc == "glibc") libtirpc ++ lib.optional (stdenv.hostPlatform.libc == "glibc") libtirpc

View file

@ -13,7 +13,7 @@
, fmt , fmt
, microsoft_gsl , microsoft_gsl
, range-v3 , range-v3
, libyamlcpp , yaml-cpp
, ncurses , ncurses
, file , file
, darwin , darwin
@ -64,7 +64,7 @@ mkDerivation rec {
fmt fmt
microsoft_gsl microsoft_gsl
range-v3 range-v3
libyamlcpp yaml-cpp
] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.libs.utmp ]; ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.libs.utmp ];
preConfigure = '' preConfigure = ''

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, cmake, boost, glog, leveldb, marisa, opencc, { lib, stdenv, fetchFromGitHub, cmake, boost, glog, leveldb, marisa, opencc,
libyamlcpp, gtest, capnproto, pkg-config, plugins ? [ ] }: yaml-cpp, gtest, capnproto, pkg-config, plugins ? [ ] }:
let let
copySinglePlugin = plug: "cp -r ${plug} plugins/${plug.name}"; copySinglePlugin = plug: "cp -r ${plug} plugins/${plug.name}";
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ boost glog leveldb marisa opencc libyamlcpp gtest capnproto ] buildInputs = [ boost glog leveldb marisa opencc yaml-cpp gtest capnproto ]
++ plugins; # for propagated build inputs ++ plugins; # for propagated build inputs
preConfigure = copyPlugins; preConfigure = copyPlugins;

View file

@ -1,32 +0,0 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "libyaml-cpp";
version = "0.3.0";
src = fetchFromGitHub {
owner = "jbeder";
repo = "yaml-cpp";
rev = "release-${version}";
sha256 = "sha256-pmgcULTXhl83+Wc8ZsGebnJ1t0XybHhUEJxDnEZE5x8=";
};
# implement https://github.com/jbeder/yaml-cpp/commit/52a1378e48e15d42a0b755af7146394c6eff998c
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace 'option(YAML_BUILD_SHARED_LIBS "Build Shared Libraries" OFF)' \
'option(YAML_BUILD_SHARED_LIBS "Build yaml-cpp shared library" ''${BUILD_SHARED_LIBS})'
'';
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DYAML_CPP_BUILD_TESTS=OFF" ];
meta = with lib; {
inherit (src.meta) homepage;
description = "A YAML parser and emitter for C++";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ ];
};
}

View file

@ -1,40 +0,0 @@
{ lib, stdenv, fetchFromGitHub, cmake, fetchpatch }:
stdenv.mkDerivation rec {
pname = "libyaml-cpp";
version = "0.7.0";
src = fetchFromGitHub {
owner = "jbeder";
repo = "yaml-cpp";
rev = "yaml-cpp-${version}";
sha256 = "sha256-2tFWccifn0c2lU/U1WNg2FHrBohjx8CXMllPJCevaNk=";
};
patches = [
# https://github.com/jbeder/yaml-cpp/issues/774
# https://github.com/jbeder/yaml-cpp/pull/1037
(fetchpatch {
url = "https://github.com/jbeder/yaml-cpp/commit/4f48727b365962e31451cd91027bd797bc7d2ee7.patch";
sha256 = "sha256-jarZAh7NgwL3xXzxijDiAQmC/EC2WYfNMkYHEIQBPhM=";
})
# TODO: Remove with the next release, when https://github.com/jbeder/yaml-cpp/pull/1058 is available
(fetchpatch {
name = "libyaml-cpp-Fix-pc-paths-for-absolute-GNUInstallDirs.patchj";
url = "https://github.com/jbeder/yaml-cpp/commit/328d2d85e833be7cb5a0ab246cc3f5d7e16fc67a.patch";
sha256 = "12g5h7lxzd5v16ykay03zww5g28j3k69k228yr3v8fnmyv2spkfl";
})
];
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DYAML_CPP_BUILD_TESTS=OFF" ];
meta = with lib; {
inherit (src.meta) homepage;
description = "A YAML parser and emitter for C++";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ ];
};
}

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [ cmakeFlags = [
"-DUSE_EXTERNAL_LCMS=ON" "-DUSE_EXTERNAL_LCMS=ON"
"-DUSE_EXTERNAL_TINYXML=ON" "-DUSE_EXTERNAL_TINYXML=ON"
# External libyamlcpp 0.6.* not compatible: https://github.com/imageworks/OpenColorIO/issues/517 # External yaml-cpp 0.6.* not compatible: https://github.com/imageworks/OpenColorIO/issues/517
"-DUSE_EXTERNAL_YAML=OFF" "-DUSE_EXTERNAL_YAML=OFF"
] ++ lib.optional stdenv.isDarwin "-DOCIO_USE_BOOST_PTR=ON" ] ++ lib.optional stdenv.isDarwin "-DOCIO_USE_BOOST_PTR=ON"
++ lib.optional (!stdenv.hostPlatform.isx86) "-DOCIO_USE_SSE=OFF" ++ lib.optional (!stdenv.hostPlatform.isx86) "-DOCIO_USE_SSE=OFF"

View file

@ -4,7 +4,7 @@
, fetchpatch , fetchpatch
, cmake , cmake
, expat , expat
, libyamlcpp , yaml-cpp
, ilmbase , ilmbase
, pystring , pystring
, imath , imath
@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ buildInputs = [
expat expat
libyamlcpp yaml-cpp
ilmbase ilmbase
pystring pystring
imath imath

View file

@ -0,0 +1,38 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "yaml-cpp";
version = "0.3.0";
src = fetchFromGitHub {
owner = "jbeder";
repo = "yaml-cpp";
rev = "release-${version}";
hash = "sha256-pmgcULTXhl83+Wc8ZsGebnJ1t0XybHhUEJxDnEZE5x8=";
};
strictDeps = true;
nativeBuildInputs = [
cmake
];
cmakeFlags = [
"-DYAML_CPP_BUILD_TOOLS=${lib.boolToString doCheck}"
"-DBUILD_SHARED_LIBS=${lib.boolToString (!stdenv.hostPlatform.isStatic)}"
];
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
meta = with lib; {
description = "A YAML parser and emitter for C++";
homepage = "https://github.com/jbeder/yaml-cpp";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ OPNA2608 ];
};
}

View file

@ -0,0 +1,61 @@
{ lib
, stdenv
, fetchFromGitHub
, gitUpdater
, cmake
, fetchpatch
}:
stdenv.mkDerivation rec {
pname = "yaml-cpp";
version = "0.7.0";
src = fetchFromGitHub {
owner = "jbeder";
repo = "yaml-cpp";
rev = "yaml-cpp-${version}";
hash = "sha256-2tFWccifn0c2lU/U1WNg2FHrBohjx8CXMllPJCevaNk=";
};
patches = [
# https://github.com/jbeder/yaml-cpp/issues/774
# https://github.com/jbeder/yaml-cpp/pull/1037
(fetchpatch {
name = "yaml-cpp-Fix-generated-cmake-config.patch";
url = "https://github.com/jbeder/yaml-cpp/commit/4f48727b365962e31451cd91027bd797bc7d2ee7.patch";
hash = "sha256-jarZAh7NgwL3xXzxijDiAQmC/EC2WYfNMkYHEIQBPhM=";
})
# TODO: Remove with the next release, when https://github.com/jbeder/yaml-cpp/pull/1058 is available
(fetchpatch {
name = "yaml-cpp-Fix-pc-paths-for-absolute-GNUInstallDirs.patch";
url = "https://github.com/jbeder/yaml-cpp/commit/328d2d85e833be7cb5a0ab246cc3f5d7e16fc67a.patch";
hash = "sha256-1M2rxfbVOrRH9kiImcwcEolXOP8DeDW9Cbu03+mB5Yk=";
})
];
strictDeps = true;
nativeBuildInputs = [
cmake
];
cmakeFlags = [
"-DYAML_CPP_BUILD_TOOLS=false"
"-DYAML_BUILD_SHARED_LIBS=${lib.boolToString (!stdenv.hostPlatform.isStatic)}"
"-DINSTALL_GTEST=false"
];
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
passthru.updateScript = gitUpdater {
rev-prefix = "yaml-cpp-";
};
meta = with lib; {
description = "A YAML parser and emitter for C++";
homepage = "https://github.com/jbeder/yaml-cpp";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ OPNA2608 ];
};
}

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, substituteAll, antlr4_9, libargs, catch2, cmake, libyamlcpp }: { lib, stdenv, fetchFromGitHub, substituteAll, antlr4_9, libargs, catch2, cmake, yaml-cpp }:
let let
antlr4 = antlr4_9; antlr4 = antlr4_9;
@ -19,13 +19,13 @@ stdenv.mkDerivation rec {
(substituteAll { (substituteAll {
src = ./fix-lib-paths.patch; src = ./fix-lib-paths.patch;
antlr4RuntimeCpp = antlr4.runtime.cpp.dev; antlr4RuntimeCpp = antlr4.runtime.cpp.dev;
inherit libargs catch2 libyamlcpp; inherit libargs catch2 yaml-cpp;
}) })
]; ];
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ antlr4.runtime.cpp libyamlcpp ]; buildInputs = [ antlr4.runtime.cpp yaml-cpp ];
meta = with lib; { meta = with lib; {
description = "Code formatter for Lua"; description = "Code formatter for Lua";

View file

@ -12,7 +12,7 @@ index 4a21b94..0ac7911 100644
- ${PROJECT_SOURCE_DIR}/third_party/antlr4/runtime/Cpp/runtime/src - ${PROJECT_SOURCE_DIR}/third_party/antlr4/runtime/Cpp/runtime/src
+ @libargs@/include + @libargs@/include
+ @catch2@/include + @catch2@/include
+ @libyamlcpp@/include + @yaml-cpp@/include
+ @antlr4RuntimeCpp@/include/antlr4-runtime + @antlr4RuntimeCpp@/include/antlr4-runtime
${PROJECT_SOURCE_DIR}/src/ ${PROJECT_SOURCE_DIR}/src/
) )

View file

@ -7,7 +7,7 @@
, libGL , libGL
, zlib , zlib
, openssl , openssl
, libyamlcpp , yaml-cpp
, boost , boost
, SDL , SDL
, SDL_image , SDL_image
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ SDL SDL_gfx SDL_image SDL_mixer boost libyamlcpp libGLU libGL openssl zlib ]; buildInputs = [ SDL SDL_gfx SDL_image SDL_mixer boost yaml-cpp libGLU libGL openssl zlib ];
meta = with lib; { meta = with lib; {
description = "Open source clone of UFO: Enemy Unknown"; description = "Open source clone of UFO: Enemy Unknown";

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, kernel, installShellFiles, pkg-config { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, kernel, installShellFiles, pkg-config
, luajit, ncurses, perl, jsoncpp, libb64, openssl, curl, jq, gcc, elfutils, tbb, protobuf, grpc , luajit, ncurses, perl, jsoncpp, libb64, openssl, curl, jq, gcc, elfutils, tbb, protobuf, grpc
, libyamlcpp, nlohmann_json, re2 , yaml-cpp, nlohmann_json, re2
}: }:
let let
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
re2 re2
protobuf protobuf
grpc grpc
libyamlcpp yaml-cpp
jsoncpp jsoncpp
nlohmann_json nlohmann_json
] ++ lib.optionals (kernel != null) kernel.moduleBuildDependencies; ] ++ lib.optionals (kernel != null) kernel.moduleBuildDependencies;

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, pkg-config, nixosTests { lib, stdenv, fetchurl, pkg-config, nixosTests
, boost, libyamlcpp, libsodium, sqlite, protobuf, openssl, systemd , boost, yaml-cpp, libsodium, sqlite, protobuf, openssl, systemd
, mariadb-connector-c, postgresql, lua, openldap, geoip, curl, unixODBC, lmdb, tinycdb , mariadb-connector-c, postgresql, lua, openldap, geoip, curl, unixODBC, lmdb, tinycdb
}: }:
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [
boost mariadb-connector-c postgresql lua openldap sqlite protobuf geoip boost mariadb-connector-c postgresql lua openldap sqlite protobuf geoip
libyamlcpp libsodium curl unixODBC openssl systemd lmdb tinycdb yaml-cpp libsodium curl unixODBC openssl systemd lmdb tinycdb
]; ];
# Configure phase requires 64-bit time_t even on 32-bit platforms. # Configure phase requires 64-bit time_t even on 32-bit platforms.

View file

@ -23,7 +23,7 @@
, libxcb , libxcb
, libxkbcommon , libxkbcommon
, libxmlxx , libxmlxx
, libyamlcpp , yaml-cpp
, lttng-ust , lttng-ust
, mesa , mesa
, nettle , nettle
@ -136,7 +136,7 @@ stdenv.mkDerivation rec {
libxcb libxcb
libxkbcommon libxkbcommon
libxmlxx libxmlxx
libyamlcpp yaml-cpp
lttng-ust lttng-ust
mesa mesa
nettle nettle

View file

@ -7,7 +7,7 @@
, pcre-cpp , pcre-cpp
, snappy , snappy
, zlib , zlib
, libyamlcpp , yaml-cpp
, sasl , sasl
, openssl , openssl
, libpcap , libpcap
@ -91,7 +91,7 @@ in stdenv.mkDerivation rec {
curl curl
gperftools gperftools
libpcap libpcap
libyamlcpp yaml-cpp
openssl openssl
pcre-cpp pcre-cpp
variants.python variants.python

View file

@ -19,7 +19,7 @@
protobuf, protobuf,
cryptopp, cryptopp,
libxfs, libxfs,
libyamlcpp, yaml-cpp,
libsystemtap, libsystemtap,
lksctp-tools, lksctp-tools,
lz4, lz4,
@ -64,7 +64,7 @@ gcc8Stdenv.mkDerivation {
protobuf protobuf
cryptopp cryptopp
libxfs libxfs
libyamlcpp yaml-cpp
libsystemtap libsystemtap
lksctp-tools lksctp-tools
lz4 lz4

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitLab, pkg-config, cmake, libyamlcpp, { lib, stdenv, fetchFromGitLab, pkg-config, cmake, yaml-cpp,
libevdev, udev, boost }: libevdev, udev, boost }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libevdev udev libyamlcpp boost ]; buildInputs = [ libevdev udev yaml-cpp boost ];
meta = { meta = {
description = "A minimal composable infrastructure on top of libudev and libevdev"; description = "A minimal composable infrastructure on top of libudev and libevdev";

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitLab, pkg-config, libyamlcpp, libevdev }: { stdenv, lib, fetchFromGitLab, pkg-config, yaml-cpp, libevdev }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dual-function-keys"; pname = "dual-function-keys";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ libevdev libyamlcpp ]; buildInputs = [ libevdev yaml-cpp ];
prePatch = '' prePatch = ''
substituteInPlace config.mk --replace \ substituteInPlace config.mk --replace \

View file

@ -1,5 +1,5 @@
{ lib, fetchurl, boost, cmake, extra-cmake-modules, kparts, kpmcore, kirigami2 { lib, fetchurl, boost, cmake, extra-cmake-modules, kparts, kpmcore, kirigami2
, kservice, libatasmart, libxcb, libyamlcpp, libpwquality, parted, polkit-qt, python , kservice, libatasmart, libxcb, yaml-cpp, libpwquality, parted, polkit-qt, python
, qtbase, qtquickcontrols, qtsvg, qttools, qtwebengine, util-linux, tzdata , qtbase, qtquickcontrols, qtsvg, qttools, qtwebengine, util-linux, tzdata
, ckbcomp, xkeyboard_config, mkDerivation , ckbcomp, xkeyboard_config, mkDerivation
, nixos-extensions ? false , nixos-extensions ? false
@ -43,7 +43,7 @@ mkDerivation rec {
nativeBuildInputs = [ cmake extra-cmake-modules ]; nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ buildInputs = [
boost kparts.dev kpmcore.out kservice.dev kirigami2 boost kparts.dev kpmcore.out kservice.dev kirigami2
libatasmart libxcb libyamlcpp libpwquality parted polkit-qt python libatasmart libxcb yaml-cpp libpwquality parted polkit-qt python
qtbase qtquickcontrols qtsvg qttools qtwebengine.dev util-linux qtbase qtquickcontrols qtsvg qttools qtwebengine.dev util-linux
]; ];

View file

@ -5,7 +5,7 @@
, meson , meson
, ninja , ninja
, pkg-config , pkg-config
, libyamlcpp , yaml-cpp
, nvramtool , nvramtool
, qtbase , qtbase
, qtsvg , qtsvg
@ -24,7 +24,7 @@ stdenv.mkDerivation {
}; };
nativeBuildInputs = [ inkscape meson ninja pkg-config wrapQtAppsHook ]; nativeBuildInputs = [ inkscape meson ninja pkg-config wrapQtAppsHook ];
buildInputs = [ libyamlcpp qtbase qtsvg ]; buildInputs = [ yaml-cpp qtbase qtsvg ];
postPatch = '' postPatch = ''
substituteInPlace src/application/*.cpp \ substituteInPlace src/application/*.cpp \

View file

@ -10,7 +10,7 @@
, fmt , fmt
, gsl-lite , gsl-lite
, howard-hinnant-date , howard-hinnant-date
, libyamlcpp , yaml-cpp
, ninja , ninja
, nlohmann_json , nlohmann_json
, openssl , openssl
@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
fmt fmt
gsl-lite gsl-lite
howard-hinnant-date howard-hinnant-date
libyamlcpp yaml-cpp
nlohmann_json nlohmann_json
openssl openssl
re2 re2

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, libyamlcpp, systemd { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, yaml-cpp, systemd
, python3Packages, asciidoc, libxslt, docbook_xml_dtd_45, docbook_xsl , python3Packages, asciidoc, libxslt, docbook_xml_dtd_45, docbook_xsl
, libxml2, docbook5 , libxml2, docbook5
}: }:
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
systemd systemd
]; ];
buildInputs = [ libyamlcpp ]; buildInputs = [ yaml-cpp ];
doCheck = true; doCheck = true;

View file

@ -9,7 +9,7 @@
, ghc_filesystem , ghc_filesystem
, libarchive , libarchive
, libsolv , libsolv
, libyamlcpp , yaml-cpp
, nlohmann_json , nlohmann_json
, python3 , python3
, reproc , reproc
@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
nlohmann_json nlohmann_json
curl curl
libarchive libarchive
libyamlcpp yaml-cpp
libsolv' libsolv'
reproc reproc
spdlog' spdlog'

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, boost, cmake, cpp-hocon, curl, leatherman, libwhereami, libyamlcpp, openssl, ruby, util-linux }: { lib, stdenv, fetchFromGitHub, boost, cmake, cpp-hocon, curl, leatherman, libwhereami, yaml-cpp, openssl, ruby, util-linux }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "facter"; pname = "facter";
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-Wno-error"; NIX_CFLAGS_COMPILE = "-Wno-error";
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ boost cpp-hocon curl leatherman libwhereami libyamlcpp openssl ruby util-linux ]; buildInputs = [ boost cpp-hocon curl leatherman libwhereami yaml-cpp openssl ruby util-linux ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/puppetlabs/facter"; homepage = "https://github.com/puppetlabs/facter";

View file

@ -2,7 +2,7 @@
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, libyamlcpp , yaml-cpp
, pkg-config , pkg-config
, procps , procps
, coreutils , coreutils
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libyamlcpp ] ++ lib.optional smartSupport libatasmart; buildInputs = [ yaml-cpp ] ++ lib.optional smartSupport libatasmart;
meta = { meta = {
description = "A simple, lightweight fan control program"; description = "A simple, lightweight fan control program";

View file

@ -4,7 +4,7 @@
, pkg-config , pkg-config
, wayland , wayland
, libinput , libinput
, libyamlcpp , yaml-cpp
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
wayland wayland
libyamlcpp yaml-cpp
libinput libinput
]; ];

View file

@ -827,6 +827,8 @@ mapAliases ({
libva-full = throw "'libva-full' has been renamed to/replaced by 'libva'"; # Converted to throw 2022-02-22 libva-full = throw "'libva-full' has been renamed to/replaced by 'libva'"; # Converted to throw 2022-02-22
libva1-full = throw "'libva1-full' has been renamed to/replaced by 'libva1'"; # Converted to throw 2022-02-22 libva1-full = throw "'libva1-full' has been renamed to/replaced by 'libva1'"; # Converted to throw 2022-02-22
libwnck3 = libwnck; libwnck3 = libwnck;
libyamlcpp = yaml-cpp; # Added 2023-01-29
libyamlcpp_0_3 = yaml-cpp_0_3; # Added 2023-01-29
lightdm_gtk_greeter = lightdm-gtk-greeter; # Added 2022-08-01 lightdm_gtk_greeter = lightdm-gtk-greeter; # Added 2022-08-01
lighttable = throw "'lighttable' crashes (SIGSEGV) on startup, has not been updated in years and depends on deprecated GTK2"; # Added 2022-06-15 lighttable = throw "'lighttable' crashes (SIGSEGV) on startup, has not been updated in years and depends on deprecated GTK2"; # Added 2022-06-15
lilyterm = throw "lilyterm has been removed from nixpkgs, because it was relying on a vte version that depended on python2"; # Added 2022-01-14 lilyterm = throw "lilyterm has been removed from nixpkgs, because it was relying on a vte version that depended on python2"; # Added 2022-01-14

View file

@ -21955,9 +21955,9 @@ with pkgs;
libyaml = callPackage ../development/libraries/libyaml { }; libyaml = callPackage ../development/libraries/libyaml { };
libyamlcpp = callPackage ../development/libraries/libyaml-cpp { }; yaml-cpp = callPackage ../development/libraries/yaml-cpp { };
libyamlcpp_0_3 = callPackage ../development/libraries/libyaml-cpp/0.3.0.nix { }; yaml-cpp_0_3 = callPackage ../development/libraries/yaml-cpp/0.3.0.nix { };
libyang = callPackage ../development/libraries/libyang { }; libyang = callPackage ../development/libraries/libyang { };
@ -31945,9 +31945,7 @@ with pkgs;
organicmaps = libsForQt5.callPackage ../applications/misc/organicmaps { }; organicmaps = libsForQt5.callPackage ../applications/misc/organicmaps { };
osm2xmap = callPackage ../applications/misc/osm2xmap { osm2xmap = callPackage ../applications/misc/osm2xmap { };
libyamlcpp = libyamlcpp_0_3;
};
osmctools = callPackage ../applications/misc/osmctools { }; osmctools = callPackage ../applications/misc/osmctools { };