diff options
Diffstat (limited to 'pkgs/development/libraries')
18 files changed, 15 insertions, 230 deletions
diff --git a/pkgs/development/libraries/alglib/default.nix b/pkgs/development/libraries/alglib/default.nix index b2e13cdc06651..1bd2ad6fe3e1b 100644 --- a/pkgs/development/libraries/alglib/default.nix +++ b/pkgs/development/libraries/alglib/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "alglib3"; - version = "4.01.0"; + version = "4.02.0"; src = fetchurl { url = "https://www.alglib.net/translator/re/alglib-${version}.cpp.gpl.tgz"; - sha256 = "sha256-lejqQbMskjRvSaaUdZ54bF86EIe0AaklnvWSwO6kvvs="; + sha256 = "sha256-U7/ukBXdwC8GkpevFfSfbgbiyOf7CkDv0PUAL8BnAag="; }; nativeBuildInputs = [ diff --git a/pkgs/development/libraries/armadillo/default.nix b/pkgs/development/libraries/armadillo/default.nix index cedc8edce3952..1e06af6cf9318 100644 --- a/pkgs/development/libraries/armadillo/default.nix +++ b/pkgs/development/libraries/armadillo/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "armadillo"; - version = "12.8.4"; + version = "14.0.0"; src = fetchurl { url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz"; - hash = "sha256-VY/lJrmQoWY2eO/zr27JP3nuEoyBpMiu8nrTKPrmETg="; + hash = "sha256-ijWGszJ35tvDyPJ/T/9SIxwsb3YUGRwZDGb7m3i6mLU="; }; nativeBuildInputs = [ cmake ]; diff --git a/pkgs/development/libraries/dqlite/default.nix b/pkgs/development/libraries/dqlite/default.nix index b5bb2de2c9863..d0a8bdbafb240 100644 --- a/pkgs/development/libraries/dqlite/default.nix +++ b/pkgs/development/libraries/dqlite/default.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { pname = "dqlite"; - version = "1.16.4"; + version = "1.16.5"; src = fetchFromGitHub { owner = "canonical"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-Q90wVqb6321+SWW5j52fb6mVRf25nExqgN/+s6OwoMk="; + hash = "sha256-dk4OEQuADPMfdfAmrgA36Bdzo6qm5Ak4/Rw/L9C75a0="; }; nativeBuildInputs = [ autoreconfHook file pkg-config ]; diff --git a/pkgs/development/libraries/imgui/default.nix b/pkgs/development/libraries/imgui/default.nix index e5d4f54e9a006..4e92375197d37 100644 --- a/pkgs/development/libraries/imgui/default.nix +++ b/pkgs/development/libraries/imgui/default.nix @@ -46,8 +46,8 @@ let patches = [ # Install imgui into split outputs: (fetchpatch { - url = "https://github.com/microsoft/vcpkg/commit/e91750f08383112e8850f209e55ed2f960181fa6.patch"; - hash = "sha256-T+DN42PRl2gWGM8zJb9wZEsDl7+XNT6CFypNX3lBHNc="; + url = "https://github.com/microsoft/vcpkg/commit/4108dd75ce9731a4fdcf50fd05034405156eaddf.patch"; + hash = "sha256-jXbR0NfyuO8EESmva5A+H3WmBfCG83OiA8ZCcWsRhQA="; }) ]; }; diff --git a/pkgs/development/libraries/mongoc/default.nix b/pkgs/development/libraries/mongoc/default.nix index e99671b4fcfa7..9ab45a77ff3b9 100644 --- a/pkgs/development/libraries/mongoc/default.nix +++ b/pkgs/development/libraries/mongoc/default.nix @@ -14,13 +14,13 @@ stdenv.mkDerivation rec { pname = "mongoc"; - version = "1.27.2"; + version = "1.27.3"; src = fetchFromGitHub { owner = "mongodb"; repo = "mongo-c-driver"; rev = "refs/tags/${version}"; - hash = "sha256-l3iZeu6Y+ZB9bYIg4ivG1o0ou3pXaBZ9dg61b6ie2Jw="; + hash = "sha256-j/Z1fwP7Lt1izRmSxAqnWDX7ehD7QQWXERUIdyPpwMU="; }; nativeBuildInputs = [ diff --git a/pkgs/development/libraries/nanopb/default.nix b/pkgs/development/libraries/nanopb/default.nix deleted file mode 100644 index 5353bac3e1a30..0000000000000 --- a/pkgs/development/libraries/nanopb/default.nix +++ /dev/null @@ -1,76 +0,0 @@ -{ callPackage -, cmake -, fetchFromGitHub -, lib -, protobuf -, python3 -, stdenv -, buildPackages -, mallocBuild ? false -}: - -stdenv.mkDerivation rec { - pname = "nanopb"; - version = "0.4.6"; - - src = fetchFromGitHub { - owner = pname; - repo = pname; - rev = version; - sha256 = "sha256-B9J+GkgOBR4iZaP6/2ykcjbkifoyhkuukkjK/CLBZj0="; - }; - - nativeBuildInputs = [ cmake python3 python3.pkgs.wrapPython ]; - - pythonPath = with python3.pkgs; [ python3.pkgs.protobuf six ]; - - cmakeFlags = [ - "-DBUILD_SHARED_LIBS=ON" # generate $out/lib/libprotobuf-nanopb.so{.0,} - "-DBUILD_STATIC_LIBS=ON" # generate $out/lib/libprotobuf-nanopb.a - "-Dnanopb_PROTOC_PATH=${buildPackages.protobuf}/bin/protoc" - ] ++ lib.optional mallocBuild "-DCMAKE_C_FLAGS=-DPB_ENABLE_MALLOC 1"; - - postInstall = '' - mkdir -p $out/share/nanopb/generator/proto - cp ../generator/proto/nanopb.proto $out/share/nanopb/generator/proto/nanopb.proto - cp ../pb_common.c ../pb_decode.c ../pb_encode.c $out/include/ - ''; - - postFixup = '' - wrapPythonPrograms - ''; - - passthru.tests = { - simple-proto2 = callPackage ./test-simple-proto2 {}; - simple-proto3 = callPackage ./test-simple-proto3 {}; - message-with-annotations = callPackage ./test-message-with-annotations {}; - message-with-options = callPackage ./test-message-with-options {}; - }; - - meta = with lib; { - inherit (protobuf.meta) platforms; - - description = "Protocol Buffers with small code size"; - homepage = "https://jpa.kapsi.fi/nanopb/"; - license = licenses.zlib; - maintainers = with maintainers; [ kalbasit ]; - - longDescription = '' - Nanopb is a small code-size Protocol Buffers implementation in ansi C. It - is especially suitable for use in microcontrollers, but fits any memory - restricted system. - - - Homepage: jpa.kapsi.fi/nanopb - - Documentation: jpa.kapsi.fi/nanopb/docs - - Downloads: jpa.kapsi.fi/nanopb/download - - Forum: groups.google.com/forum/#!forum/nanopb - - In order to use the nanopb options in your proto files, you'll need to - tell protoc where to find the nanopb.proto file. - You can do so with the --proto_path (-I) option to add the directory - ''${nanopb}/share/nanopb/generator/proto like so: - - protoc --proto_path=. --proto_path=''${nanopb}/share/nanopb/generator/proto --plugin=protoc-gen-nanopb=''${nanopb}/bin/protoc-gen-nanopb --nanopb_out=out file.proto - ''; - }; -} diff --git a/pkgs/development/libraries/nanopb/test-message-with-annotations/default.nix b/pkgs/development/libraries/nanopb/test-message-with-annotations/default.nix deleted file mode 100644 index c2ffe6135fbb5..0000000000000 --- a/pkgs/development/libraries/nanopb/test-message-with-annotations/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv, protobuf, nanopb }: - -stdenv.mkDerivation { - name = "nanopb-test-message-with-annotations"; - meta.timeout = 60; - src = lib.fileset.toSource { - root = ./.; - fileset = lib.fileset.unions [ ./withannotations.proto ]; - }; - - # protoc requires any .proto file to be compiled to reside within it's - # proto_path. By default the current directory is automatically added to the - # proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did - # not work because they end up in the store at different locations. - dontInstall = true; - buildPhase = '' - mkdir $out - - ${protobuf}/bin/protoc --proto_path=. --proto_path=${nanopb}/share/nanopb/generator/proto --plugin=protoc-gen-nanopb=${nanopb}/bin/protoc-gen-nanopb --nanopb_out=$out withannotations.proto - ''; - - doCheck = true; - checkPhase = '' - grep -q WithAnnotations $out/withannotations.pb.c || (echo "error: WithAnnotations not found in $out/withannotations.pb.c"; exit 1) - grep -q WithAnnotations $out/withannotations.pb.h || (echo "error: WithAnnotations not found in $out/withannotations.pb.h"; exit 1) - grep -q "pb_byte_t uuid\[16\]" $out/withannotations.pb.h || (echo "error: uuid is not of type pb_byte_t and of size 16 in $out/withannotations.pb.h"; exit 1) - grep -q "FIXED_LENGTH_BYTES, uuid" $out/withannotations.pb.h || (echo "error: uuid is not of fixed lenght bytes in $out/withannotations.pb.h"; exit 1) - grep -q "#define WithAnnotations_size" $out/withannotations.pb.h || (echo "error: the size of WithAnnotations is not known in $out/withannotations.pb.h"; exit 1) - ''; -} diff --git a/pkgs/development/libraries/nanopb/test-message-with-annotations/withannotations.proto b/pkgs/development/libraries/nanopb/test-message-with-annotations/withannotations.proto deleted file mode 100644 index d8109e877d68b..0000000000000 --- a/pkgs/development/libraries/nanopb/test-message-with-annotations/withannotations.proto +++ /dev/null @@ -1,7 +0,0 @@ -syntax = "proto3"; - -import "nanopb.proto"; - -message WithAnnotations { - bytes uuid = 1 [(nanopb).max_size = 16, (nanopb).fixed_length = true]; -} diff --git a/pkgs/development/libraries/nanopb/test-message-with-options/default.nix b/pkgs/development/libraries/nanopb/test-message-with-options/default.nix deleted file mode 100644 index f6bf28f3b6457..0000000000000 --- a/pkgs/development/libraries/nanopb/test-message-with-options/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, protobuf, nanopb }: - -stdenv.mkDerivation { - name = "nanopb-test-message-with-options"; - meta.timeout = 60; - src = lib.fileset.toSource { - root = ./.; - fileset = lib.fileset.unions [ - ./withoptions.proto - ./withoptions.options - ]; - }; - - # protoc requires any .proto file to be compiled to reside within it's - # proto_path. By default the current directory is automatically added to the - # proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did - # not work because they end up in the store at different locations. - dontInstall = true; - buildPhase = '' - mkdir $out - - ${protobuf}/bin/protoc --plugin=protoc-gen-nanopb=${nanopb}/bin/protoc-gen-nanopb --nanopb_out=$out withoptions.proto - ''; - - doCheck = true; - checkPhase = '' - grep -q WithOptions $out/withoptions.pb.c || (echo "error: WithOptions not found in $out/withoptions.pb.c"; exit 1) - grep -q WithOptions $out/withoptions.pb.h || (echo "error: WithOptions not found in $out/withoptions.pb.h"; exit 1) - grep -q "pb_byte_t uuid\[16\]" $out/withoptions.pb.h || (echo "error: uuid is not of type pb_byte_t and of size 16 in $out/withoptions.pb.h"; exit 1) - grep -q "FIXED_LENGTH_BYTES, uuid" $out/withoptions.pb.h || (echo "error: uuid is not of fixed lenght bytes in $out/withoptions.pb.h"; exit 1) - grep -q "#define WithOptions_size" $out/withoptions.pb.h || (echo "error: the size of WithOptions is not known in $out/withoptions.pb.h"; exit 1) - ''; -} diff --git a/pkgs/development/libraries/nanopb/test-message-with-options/withoptions.options b/pkgs/development/libraries/nanopb/test-message-with-options/withoptions.options deleted file mode 100644 index ecf98a2173678..0000000000000 --- a/pkgs/development/libraries/nanopb/test-message-with-options/withoptions.options +++ /dev/null @@ -1 +0,0 @@ - WithOptions.uuid max_size:16 fixed_length:true diff --git a/pkgs/development/libraries/nanopb/test-message-with-options/withoptions.proto b/pkgs/development/libraries/nanopb/test-message-with-options/withoptions.proto deleted file mode 100644 index 5a5da3a1c9732..0000000000000 --- a/pkgs/development/libraries/nanopb/test-message-with-options/withoptions.proto +++ /dev/null @@ -1,5 +0,0 @@ -syntax = "proto3"; - -message WithOptions { - bytes uuid = 1; -} diff --git a/pkgs/development/libraries/nanopb/test-simple-proto2/default.nix b/pkgs/development/libraries/nanopb/test-simple-proto2/default.nix deleted file mode 100644 index f8cd35cbf3979..0000000000000 --- a/pkgs/development/libraries/nanopb/test-simple-proto2/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, protobuf, nanopb }: - -stdenv.mkDerivation { - name = "nanopb-test-simple-proto2"; - meta.timeout = 60; - src = lib.fileset.toSource { - root = ./.; - fileset = lib.fileset.unions [ ./simple.proto ]; - }; - - # protoc requires any .proto file to be compiled to reside within it's - # proto_path. By default the current directory is automatically added to the - # proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did - # not work because they end up in the store at different locations. - dontInstall = true; - buildPhase = '' - mkdir $out - - ${protobuf}/bin/protoc --plugin=protoc-gen-nanopb=${nanopb}/bin/protoc-gen-nanopb --nanopb_out=$out simple.proto - ''; - - doCheck = true; - checkPhase = '' - grep -q SimpleMessage $out/simple.pb.c || (echo "ERROR: SimpleMessage not found in $out/simple.pb.c"; exit 1) - grep -q SimpleMessage $out/simple.pb.h || (echo "ERROR: SimpleMessage not found in $out/simple.pb.h"; exit 1) - ''; -} diff --git a/pkgs/development/libraries/nanopb/test-simple-proto2/simple.proto b/pkgs/development/libraries/nanopb/test-simple-proto2/simple.proto deleted file mode 100644 index b02936b1ae267..0000000000000 --- a/pkgs/development/libraries/nanopb/test-simple-proto2/simple.proto +++ /dev/null @@ -1,5 +0,0 @@ -syntax = "proto2"; - -message SimpleMessage { - required int32 lucky_number = 1; -} diff --git a/pkgs/development/libraries/nanopb/test-simple-proto3/default.nix b/pkgs/development/libraries/nanopb/test-simple-proto3/default.nix deleted file mode 100644 index d92698d21ece5..0000000000000 --- a/pkgs/development/libraries/nanopb/test-simple-proto3/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, stdenv, protobuf, nanopb }: - -stdenv.mkDerivation { - name = "nanopb-test-simple-proto3"; - meta.timeout = 60; - src = lib.fileset.toSource { - root = ./.; - fileset = lib.fileset.unions [ ./simple.proto ]; - }; - # protoc requires any .proto file to be compiled to reside within it's - # proto_path. By default the current directory is automatically added to the - # proto_path. I tried using --proto_path ${./.} ${./simple.proto} and it did - # not work because they end up in the store at different locations. - dontInstall = true; - buildPhase = '' - mkdir $out - - ${protobuf}/bin/protoc --plugin=protoc-gen-nanopb=${nanopb}/bin/protoc-gen-nanopb --nanopb_out=$out simple.proto - ''; - - doCheck = true; - checkPhase = '' - grep -q SimpleMessage $out/simple.pb.c || (echo "ERROR: SimpleMessage not found in $out/simple.pb.c"; exit 1) - grep -q SimpleMessage $out/simple.pb.h || (echo "ERROR: SimpleMessage not found in $out/simple.pb.h"; exit 1) - ''; -} diff --git a/pkgs/development/libraries/nanopb/test-simple-proto3/simple.proto b/pkgs/development/libraries/nanopb/test-simple-proto3/simple.proto deleted file mode 100644 index 6b99cdb5daa7c..0000000000000 --- a/pkgs/development/libraries/nanopb/test-simple-proto3/simple.proto +++ /dev/null @@ -1,5 +0,0 @@ -syntax = "proto3"; - -message SimpleMessage { - int32 lucky_number = 1; -} diff --git a/pkgs/development/libraries/qtpbfimageplugin/default.nix b/pkgs/development/libraries/qtpbfimageplugin/default.nix index 04cda55b30d3f..94dc1646513c6 100644 --- a/pkgs/development/libraries/qtpbfimageplugin/default.nix +++ b/pkgs/development/libraries/qtpbfimageplugin/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "qtpbfimageplugin"; - version = "3.0"; + version = "3.1"; src = fetchFromGitHub { owner = "tumic0"; repo = "QtPBFImagePlugin"; rev = version; - sha256 = "sha256-RYZnuHjK6/ygFsjjnOTz7glYnibTwDNlou/4cQ7HfKM="; + sha256 = "sha256-7DaJvpApdnh5+9vd0spUDorwzpzLEaJ8477qE8nJLOc="; }; nativeBuildInputs = [ qmake ]; diff --git a/pkgs/development/libraries/rapidyaml/default.nix b/pkgs/development/libraries/rapidyaml/default.nix index 53994cecd3815..a51b675bd9185 100644 --- a/pkgs/development/libraries/rapidyaml/default.nix +++ b/pkgs/development/libraries/rapidyaml/default.nix @@ -7,14 +7,14 @@ stdenv.mkDerivation rec { pname = "rapidyaml"; - version = "0.6.0"; + version = "0.7.0"; src = fetchFromGitHub { owner = "biojppm"; repo = pname; fetchSubmodules = true; rev = "v${version}"; - sha256 = "sha256-p9XaMsrOgnEdb0yl52HXhNzz6YxuvTD5GCaq1a+l1bQ="; + sha256 = "sha256-VpREG75d+Rmfu8B2VTWueJtfEZwKxGUFb8E3OwVy1L4="; }; nativeBuildInputs = [ cmake git ]; diff --git a/pkgs/development/libraries/toml11/default.nix b/pkgs/development/libraries/toml11/default.nix index 641b72aa1e8cb..2747dd4ee3999 100644 --- a/pkgs/development/libraries/toml11/default.nix +++ b/pkgs/development/libraries/toml11/default.nix @@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: { ''; license = licenses.mit; maintainers = with maintainers; [ AndersonTorres ]; - platforms = platforms.unix; + platforms = platforms.unix ++ platforms.windows; }; }) # TODO [ AndersonTorres ]: tests |