Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

sexp: 0.8.6 -> sexpp 0.8.7

Package has been renamed from 'sexp' to 'sexpp' since v0.8.7.

+62 -8
+4 -4
pkgs/development/libraries/sexp/default.nix pkgs/development/libraries/sexpp/default.nix
··· 9 9 }: 10 10 11 11 stdenv.mkDerivation (finalAttrs: { 12 - pname = "sexp"; 13 - version = "0.8.6"; 12 + pname = "sexpp"; 13 + version = "0.8.7"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "rnpgp"; 17 - repo = "sexp"; 17 + repo = "sexpp"; 18 18 rev = "v${finalAttrs.version}"; 19 - hash = "sha256-NpDSoBxEM8g/SugLmT8E5+YZPDFIGHa4eXLjdzQxaiw="; 19 + hash = "sha256-E1ESN3JKCWYBt1o37d7EVcgARnwGKS6mxua+0m1RMlM="; 20 20 }; 21 21 22 22 buildInputs = [ zlib bzip2 ];
+6 -3
pkgs/tools/security/rnp/default.nix
··· 10 10 , json_c 11 11 , pkg-config 12 12 , python3 13 - , sexp 13 + , sexpp 14 14 , zlib 15 15 }: 16 16 ··· 25 25 hash = "sha256-4fB7Sl9+ATrJTRnhbNG5BoW3XLxR7IP167RK96+gxj0="; 26 26 }; 27 27 28 - buildInputs = [ zlib bzip2 json_c botan2 sexp ]; 28 + buildInputs = [ zlib bzip2 json_c botan2 sexpp ]; 29 29 30 - patches = [ ./unbundle-sexp.patch ]; 30 + patches = [ 31 + ./unbundle-sexpp.patch 32 + ./sexp_sexpp_rename.patch 33 + ]; 31 34 32 35 cmakeFlags = [ 33 36 "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}"
+50
pkgs/tools/security/rnp/sexp_sexpp_rename.patch
··· 1 + diff --git i/src/lib/CMakeLists.txt w/src/lib/CMakeLists.txt 2 + index 086ac57d..2ce59ca1 100755 3 + --- i/src/lib/CMakeLists.txt 4 + +++ w/src/lib/CMakeLists.txt 5 + @@ -328,7 +328,7 @@ elseif (CRYPTO_BACKEND_OPENSSL) 6 + target_link_libraries(librnp-obj PRIVATE OpenSSL::Crypto) 7 + endif() 8 + 9 + -target_link_libraries(librnp-obj PRIVATE sexp) 10 + +target_link_libraries(librnp-obj PRIVATE sexpp) 11 + 12 + set_target_properties(librnp-obj PROPERTIES CXX_VISIBILITY_PRESET hidden) 13 + if (TARGET BZip2::BZip2) 14 + @@ -384,7 +384,7 @@ foreach (prop LINK_LIBRARIES INTERFACE_LINK_LIBRARIES INCLUDE_DIRECTORIES INTERF 15 + get_target_property(val librnp-obj ${prop}) 16 + if (BUILD_SHARED_LIBS) 17 + set_property(TARGET librnp-static PROPERTY ${prop} ${val}) 18 + - list(REMOVE_ITEM val "$<LINK_ONLY:sexp>") 19 + + list(REMOVE_ITEM val "$<LINK_ONLY:sexpp>") 20 + set_property(TARGET librnp PROPERTY ${prop} ${val}) 21 + else() 22 + set_property(TARGET librnp PROPERTY ${prop} ${val}) 23 + diff --git i/src/librekey/g23_sexp.hpp w/src/librekey/g23_sexp.hpp 24 + index b888680f..b062c52f 100644 25 + --- i/src/librekey/g23_sexp.hpp 26 + +++ w/src/librekey/g23_sexp.hpp 27 + @@ -27,8 +27,8 @@ 28 + #ifndef RNP_G23_SEXP_HPP 29 + #define RNP_G23_SEXP_HPP 30 + 31 + -#include "sexp/sexp.h" 32 + -#include "sexp/ext-key-format.h" 33 + +#include "sexpp/sexp.h" 34 + +#include "sexpp/ext-key-format.h" 35 + 36 + #define SXP_MAX_DEPTH 30 37 + 38 + diff --git i/src/tests/CMakeLists.txt w/src/tests/CMakeLists.txt 39 + index 7d2a6b0c..88aeaf9f 100644 40 + --- i/src/tests/CMakeLists.txt 41 + +++ w/src/tests/CMakeLists.txt 42 + @@ -176,7 +176,7 @@ target_link_libraries(rnp_tests 43 + PRIVATE 44 + librnp-static 45 + JSON-C::JSON-C 46 + - sexp 47 + + sexpp 48 + ${GTestMain} 49 + ) 50 + if (CRYPTO_BACKEND_LOWERCASE STREQUAL "openssl")
pkgs/tools/security/rnp/unbundle-sexp.patch pkgs/tools/security/rnp/unbundle-sexpp.patch
+1
pkgs/top-level/aliases.nix
··· 1543 1543 sepolgen = throw "sepolgen was merged into selinux-python"; # Added 2021-11-11 1544 1544 session-desktop-appimage = session-desktop; 1545 1545 sequoia = sequoia-sq; # Added 2023-06-26 1546 + sexp = sexpp; # Added 2023-07-03 1546 1547 sget = throw "sget has been removed from nixpkgs, as it is not supported upstream anymore see https://github.com/sigstore/sget/issues/145"; # Added 2023-05-26 1547 1548 shared_mime_info = throw "'shared_mime_info' has been renamed to/replaced by 'shared-mime-info'"; # Converted to throw 2022-02-22 1548 1549 inherit (libsForQt5.mauiPackages) shelf; # added 2022-05-17
+1 -1
pkgs/top-level/all-packages.nix
··· 12514 12514 12515 12515 sewer = callPackage ../tools/admin/sewer { }; 12516 12516 12517 - sexp = callPackage ../development/libraries/sexp { }; 12517 + sexpp = callPackage ../development/libraries/sexpp { }; 12518 12518 12519 12519 sfeed = callPackage ../tools/misc/sfeed { }; 12520 12520