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

Merge release-22.11 into staging-next-22.11

authored by github-actions[bot] and committed by GitHub 7f25bbcc 20334293

Changed files
+50
pkgs
development
libraries
top-level
+48
pkgs/development/libraries/sexp/default.nix
··· 1 + { lib 2 + , stdenv 3 + , bzip2 4 + , cmake 5 + , fetchFromGitHub 6 + , gtest 7 + , pkg-config 8 + , zlib 9 + }: 10 + 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "sexp"; 13 + version = "0.8.6"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "rnpgp"; 17 + repo = "sexp"; 18 + rev = "v${finalAttrs.version}"; 19 + hash = "sha256-NpDSoBxEM8g/SugLmT8E5+YZPDFIGHa4eXLjdzQxaiw="; 20 + }; 21 + 22 + buildInputs = [ zlib bzip2 ]; 23 + 24 + cmakeFlags = [ 25 + "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}" 26 + "-DBUILD_SHARED_LIBS=on" 27 + "-DWITH_SEXP_TESTS=on" 28 + "-DDOWNLOAD_GTEST=off" 29 + "-DWITH_SEXP_CLI=on" 30 + "-DWITH_SANITIZERS=off" 31 + ]; 32 + 33 + nativeBuildInputs = [ cmake gtest pkg-config ]; 34 + 35 + outputs = [ "out" "lib" "dev" ]; 36 + 37 + preConfigure = '' 38 + echo "v${finalAttrs.version}" > version.txt 39 + ''; 40 + 41 + meta = with lib; { 42 + homepage = "https://github.com/rnpgp/sexp"; 43 + description = "S-expressions parser and generator C++ library, fully compliant to [https://people.csail.mit.edu/rivest/Sexp.txt]"; 44 + license = licenses.mit; 45 + platforms = platforms.all; 46 + maintainers = with maintainers; [ ribose-jeffreylau ]; 47 + }; 48 + })
+2
pkgs/top-level/all-packages.nix
··· 11337 11337 11338 11338 sewer = callPackage ../tools/admin/sewer { }; 11339 11339 11340 + sexp = callPackage ../development/libraries/sexp { }; 11341 + 11340 11342 sfeed = callPackage ../tools/misc/sfeed { }; 11341 11343 11342 11344 sftpman = callPackage ../tools/filesystems/sftpman { };