diff options
Diffstat (limited to 'pkgs/development')
23 files changed, 179 insertions, 117 deletions
diff --git a/pkgs/development/compilers/ocaml/5.1.nix b/pkgs/development/compilers/ocaml/5.1.nix new file mode 100644 index 000000000000..e11887809d4e --- /dev/null +++ b/pkgs/development/compilers/ocaml/5.1.nix @@ -0,0 +1,9 @@ +import ./generic.nix { + major_version = "5"; + minor_version = "1"; + patch_version = "0-rc3"; + src = fetchTarball { + url = "https://caml.inria.fr/pub/distrib/ocaml-5.1/ocaml-5.1.0~rc3.tar.xz"; + sha256 = "sha256:0cbvdcsq1qh70mm116dcgk6y7d4g4nrypzq20k7i6ww7am1563d3"; + }; +} diff --git a/pkgs/development/interpreters/python/hooks/default.nix b/pkgs/development/interpreters/python/hooks/default.nix index 74aff43f7cae..306c33a91fdd 100644 --- a/pkgs/development/interpreters/python/hooks/default.nix +++ b/pkgs/development/interpreters/python/hooks/default.nix @@ -221,9 +221,9 @@ in { inherit (pkgs.buildPackages) makeWrapper; }; - sphinxHook = callPackage ({ makePythonHook, sphinx, installShellFiles }: + sphinxHook = callPackage ({ makePythonHook, installShellFiles }: makePythonHook { name = "python${python.pythonVersion}-sphinx-hook"; - propagatedBuildInputs = [ sphinx installShellFiles ]; + propagatedBuildInputs = [ pythonForBuild.pkgs.sphinx installShellFiles ]; } ./sphinx-hook.sh) {}; } diff --git a/pkgs/development/libraries/nspr/default.nix b/pkgs/development/libraries/nspr/default.nix index 7d8877c79ad1..59a3b4975793 100644 --- a/pkgs/development/libraries/nspr/default.nix +++ b/pkgs/development/libraries/nspr/default.nix @@ -46,7 +46,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; passthru.tests = { - inherit (nixosTests) firefox firefox-esr-102 firefox-esr-115; + inherit (nixosTests) firefox firefox-esr-115; }; meta = with lib; { diff --git a/pkgs/development/libraries/nss/generic.nix b/pkgs/development/libraries/nss/generic.nix index 8badbf9e8760..592dbffbdffc 100644 --- a/pkgs/development/libraries/nss/generic.nix +++ b/pkgs/development/libraries/nss/generic.nix @@ -182,9 +182,9 @@ stdenv.mkDerivation rec { passthru.updateScript = ./update.sh; passthru.tests = lib.optionalAttrs (lib.versionOlder version nss_latest.version) { - inherit (nixosTests) firefox-esr-102; + inherit (nixosTests) firefox-esr-115; } // lib.optionalAttrs (lib.versionAtLeast version nss_latest.version) { - inherit (nixosTests) firefox firefox-esr-115; + inherit (nixosTests) firefox; }; meta = with lib; { diff --git a/pkgs/development/node-packages/aliases.nix b/pkgs/development/node-packages/aliases.nix index 3f7c011c7569..e87ad98832db 100644 --- a/pkgs/development/node-packages/aliases.nix +++ b/pkgs/development/node-packages/aliases.nix @@ -57,6 +57,7 @@ mapAliases { inherit (pkgs) carto; # added 2023-08-17 castnow = pkgs.castnow; # added 2023-07-30 inherit (pkgs) clean-css-cli; # added 2023-08-18 + inherit (pkgs) clubhouse-cli; # added 2023-08-18 coc-imselect = throw "coc-imselect was removed because it was broken"; # added 2023-08-21 coffee-script = pkgs.coffeescript; # added 2023-08-18 inherit (pkgs) configurable-http-proxy; # added 2023-08-19 diff --git a/pkgs/development/node-packages/main-programs.nix b/pkgs/development/node-packages/main-programs.nix index ed253a211345..7ffa3948af01 100644 --- a/pkgs/development/node-packages/main-programs.nix +++ b/pkgs/development/node-packages/main-programs.nix @@ -29,7 +29,6 @@ cdk8s-cli = "cdk8s"; cdktf-cli = "cdktf"; clipboard-cli = "clipboard"; - clubhouse-cli = "club"; conventional-changelog-cli = "conventional-changelog"; cpy-cli = "cpy"; diff2html-cli = "diff2html"; diff --git a/pkgs/development/node-packages/node-packages.json b/pkgs/development/node-packages/node-packages.json index f4e62fb9ae1c..7a644813133e 100644 --- a/pkgs/development/node-packages/node-packages.json +++ b/pkgs/development/node-packages/node-packages.json @@ -38,7 +38,6 @@ , "cdk8s-cli" , "cdktf-cli" , "clipboard-cli" -, "clubhouse-cli" , "coc-clangd" , "coc-cmake" , "coc-css" diff --git a/pkgs/development/node-packages/node-packages.nix b/pkgs/development/node-packages/node-packages.nix index 28e380ee3e24..8cb89d03ac14 100644 --- a/pkgs/development/node-packages/node-packages.nix +++ b/pkgs/development/node-packages/node-packages.nix @@ -77887,74 +77887,6 @@ in bypassCache = true; reconstructLock = true; }; - clubhouse-cli = nodeEnv.buildNodePackage { - name = "clubhouse-cli"; - packageName = "clubhouse-cli"; - version = "2.7.0"; - src = fetchurl { - url = "https://registry.npmjs.org/clubhouse-cli/-/clubhouse-cli-2.7.0.tgz"; - sha512 = "Vu0ZPruo16+CbH/kCEALHV3lQ4WnRoaqTb+HPy2fY9ywtdOxPCiT//3WSxv8YN5qFwMbI2Fu931mmU9sR/O0ZA=="; - }; - dependencies = [ - sources."@colors/colors-1.5.0" - sources."ansi-styles-3.2.1" - sources."async-3.2.3" - sources."chalk-2.4.2" - sources."cli-spinner-0.2.10" - sources."clubhouse-lib-0.10.0" - sources."color-convert-1.9.3" - sources."color-name-1.1.3" - sources."colors-1.0.3" - sources."commander-2.20.3" - sources."cycle-1.0.3" - sources."debug-4.3.4" - sources."decode-uri-component-0.2.2" - sources."encoding-0.1.13" - sources."escape-string-regexp-1.0.5" - sources."eyes-0.1.8" - sources."fetch-everywhere-1.0.5" - sources."filter-obj-1.1.0" - sources."has-flag-3.0.0" - sources."hasurl-1.0.0" - sources."iconv-lite-0.6.3" - sources."is-stream-1.1.0" - sources."isstream-0.1.2" - sources."lodash-4.17.21" - sources."lodash.sortby-4.7.0" - sources."ms-2.1.2" - sources."mute-stream-0.0.8" - sources."node-fetch-1.7.3" - sources."prompt-1.3.0" - sources."punycode-2.3.0" - sources."query-string-6.14.1" - sources."read-1.0.7" - sources."revalidator-0.1.8" - sources."safer-buffer-2.1.2" - sources."split-on-first-1.1.0" - sources."stack-trace-0.0.10" - sources."strict-uri-encode-2.0.0" - sources."supports-color-5.5.0" - sources."tr46-1.0.1" - sources."universal-url-2.0.0" - sources."webidl-conversions-4.0.2" - sources."whatwg-fetch-3.6.17" - sources."whatwg-url-7.1.0" - (sources."winston-2.4.7" // { - dependencies = [ - sources."async-2.6.4" - ]; - }) - ]; - buildInputs = globalBuildInputs; - meta = { - description = "A command line tool for viewing, creating and updating clubhouse.io stories"; - homepage = "https://github.com/andjosh/clubhouse-cli#readme"; - license = "MIT"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; coc-clangd = nodeEnv.buildNodePackage { name = "coc-clangd"; packageName = "coc-clangd"; diff --git a/pkgs/development/ocaml-modules/awa/default.nix b/pkgs/development/ocaml-modules/awa/default.nix index 4c92b58bdbc6..f1fbd02ba0f0 100644 --- a/pkgs/development/ocaml-modules/awa/default.nix +++ b/pkgs/development/ocaml-modules/awa/default.nix @@ -1,5 +1,5 @@ { lib, buildDunePackage, fetchurl -, ppx_sexp_conv, ppx_cstruct +, ppx_sexp_conv , mirage-crypto, mirage-crypto-ec, mirage-crypto-rng, mirage-crypto-pk , x509, cstruct, cstruct-unix, cstruct-sexp, sexplib, eqaf , rresult, mtime, logs, fmt, cmdliner, base64 @@ -24,8 +24,6 @@ buildDunePackage rec { ppx_sexp_conv eqaf ]; - buildInputs = [ ppx_cstruct ]; - doCheck = true; checkInputs = [ cstruct-unix cmdliner fmt ]; diff --git a/pkgs/development/ocaml-modules/ppx_tools/default.nix b/pkgs/development/ocaml-modules/ppx_tools/default.nix index 2d5f73be42b8..7a07daf8ddcd 100644 --- a/pkgs/development/ocaml-modules/ppx_tools/default.nix +++ b/pkgs/development/ocaml-modules/ppx_tools/default.nix @@ -35,6 +35,7 @@ let param = "4.13" = v6_6; "4.14" = v6_6; "5.0" = v6_6; + "5.1" = v6_6; }.${ocaml.meta.branch}; in diff --git a/pkgs/development/python-modules/anel-pwrctrl-homeassistant/default.nix b/pkgs/development/python-modules/anel-pwrctrl-homeassistant/default.nix new file mode 100644 index 000000000000..d32138c68dfa --- /dev/null +++ b/pkgs/development/python-modules/anel-pwrctrl-homeassistant/default.nix @@ -0,0 +1,30 @@ +{ + lib, + buildPythonPackage, + fetchPypi, +}: +buildPythonPackage rec { + pname = "anel-pwrctrl-homeassistant"; + version = "0.0.1.dev2"; + format = "setuptools"; + + src = fetchPypi { + inherit version; + pname = "anel_pwrctrl-homeassistant"; + hash = "sha256-AcsnYD9CeGAarm5QdweUF6CUFwUywhfmU46NG8+Cm4s="; + }; + + # No tests + doCheck = false; + + pythonImportsCheck = [ + "anel_pwrctrl" + ]; + + meta = with lib; { + description = "Discover and control ANEL NET-PwrCtrl devices"; + homepage = "https://github.com/mweinelt/anel-pwrctrl"; + license = licenses.mit; + maintainers = with maintainers; [jamiemagee]; + }; +} diff --git a/pkgs/development/python-modules/debianbts/default.nix b/pkgs/development/python-modules/debianbts/default.nix index b2c2b271d61d..5390e40a2063 100644 --- a/pkgs/development/python-modules/debianbts/default.nix +++ b/pkgs/development/python-modules/debianbts/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, nix-update-script , pysimplesoap , pytest , pytest-xdist , pythonOlder @@ -13,6 +14,7 @@ buildPythonPackage rec { format = "pyproject"; disabled = pythonOlder "3.7"; + passthru.updateScript = nix-update-script { }; src = fetchPypi { inherit pname version; diff --git a/pkgs/development/python-modules/dronecan/default.nix b/pkgs/development/python-modules/dronecan/default.nix new file mode 100644 index 000000000000..51e7265725a4 --- /dev/null +++ b/pkgs/development/python-modules/dronecan/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "dronecan"; + version = "1.0.25"; + format = "setuptools"; + disabled = pythonOlder "3.3"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-0WKmVZwE6OgBckWWvPcn5BYqXMEt6Mr1P68UMHfRp4I="; + }; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dronecan" + ]; + + meta = with lib; { + description = "Python implementation of the DroneCAN v1 protocol stack"; + longDescription = '' + DroneCAN is a lightweight protocol designed for reliable communication in aerospace and robotic applications via CAN bus. + ''; + homepage = "https://dronecan.github.io/"; + license = licenses.mit; + maintainers = [ teams.ororatech ]; + }; +} diff --git a/pkgs/development/python-modules/fastembed/default.nix b/pkgs/development/python-modules/fastembed/default.nix new file mode 100644 index 000000000000..d3633af2bb8e --- /dev/null +++ b/pkgs/development/python-modules/fastembed/default.nix @@ -0,0 +1,53 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +, poetry-core +, onnxruntime +, requests +, tokenizers +, tqdm +, pytestCheckHook +}: + +buildPythonPackage { + pname = "fastembed"; + version = "unstable-2023-09-07"; + format = "pyproject"; + + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "qdrant"; + repo = "fastembed"; + rev = "9c5d32f271dfe9ae4730694727ff5df480983942"; + hash = "sha256-d7Zb0IL0NOPEPsCHe/ZMNELnSCG4+y8JmGAXnCRUd50="; + }; + + nativeBuildInputs = [ + poetry-core + ]; + + propagatedBuildInputs = [ + onnxruntime + requests + tokenizers + tqdm + ]; + + pythonImportsCheck = [ "fastembed" ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + # there is one test and it requires network + doCheck = false; + + meta = with lib; { + description = "Fast, Accurate, Lightweight Python library to make State of the Art Embedding"; + homepage = "https://github.com/qdrant/fastembed"; + license = licenses.asl20; + maintainers = with maintainers; [ happysalada ]; + }; +} diff --git a/pkgs/development/python-modules/mypy-boto3-builder/default.nix b/pkgs/development/python-modules/mypy-boto3-builder/default.nix index 2df248c3d4de..37564eeb2137 100644 --- a/pkgs/development/python-modules/mypy-boto3-builder/default.nix +++ b/pkgs/development/python-modules/mypy-boto3-builder/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "mypy-boto3-builder"; - version = "7.18.2"; + version = "7.19.0"; format = "pyproject"; disabled = pythonOlder "3.10"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "youtype"; repo = "mypy_boto3_builder"; rev = "refs/tags/${version}"; - hash = "sha256-43kyDgolXEu5J5OVaLKqjVdyWaobfGNvevNFh4CFjss="; + hash = "sha256-Wczk1DNoOpvd7efnZFUf4FSjYqHdkMKMNwNVeQOPeEg="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/pysimplesoap/default.nix b/pkgs/development/python-modules/pysimplesoap/default.nix index eecf54425380..b35a6b6d6e70 100644 --- a/pkgs/development/python-modules/pysimplesoap/default.nix +++ b/pkgs/development/python-modules/pysimplesoap/default.nix @@ -3,13 +3,15 @@ , fetchPypi , buildPythonPackage , m2crypto +, nix-update-script }: buildPythonPackage rec { pname = "pysimplesoap"; - # Unfortunately, the latest stable release is broken on Python 3. version = "1.16.2"; + passthru.updateScript = nix-update-script { }; + src = fetchPypi { pname = "PySimpleSOAP"; inherit version; @@ -20,6 +22,7 @@ buildPythonPackage rec { m2crypto ]; + # Patches necessary for Python 3 compatibility plus bugfixes patches = map (args: fetchDebianPatch ({ inherit pname version; debianRevision = "5"; diff --git a/pkgs/development/python-modules/python-roborock/default.nix b/pkgs/development/python-modules/python-roborock/default.nix index 5eb3b19afe06..a8e019ce88b7 100644 --- a/pkgs/development/python-modules/python-roborock/default.nix +++ b/pkgs/development/python-modules/python-roborock/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "python-roborock"; - version = "0.32.4"; + version = "0.33.2"; format = "pyproject"; disabled = pythonOlder "3.10"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "humbertogontijo"; repo = "python-roborock"; rev = "refs/tags/v${version}"; - hash = "sha256-tZ0nyjARqXDffDOBTsGQ1iZSzzkMToUENb+NwhJ7xY4="; + hash = "sha256-UAQlKfh6oljeWtEGYx7JiT1z9yFCAXRSlI4Ot6JUnoQ="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/qdrant-client/default.nix b/pkgs/development/python-modules/qdrant-client/default.nix index 57e5ab8ee019..643a67d898ed 100644 --- a/pkgs/development/python-modules/qdrant-client/default.nix +++ b/pkgs/development/python-modules/qdrant-client/default.nix @@ -3,20 +3,22 @@ , fetchFromGitHub , grpcio , grpcio-tools -, h2 , httpx , numpy , pytestCheckHook , poetry-core , pydantic , pythonOlder -, typing-extensions , urllib3 +, portalocker +, fastembed +# check inputs +, pytest-asyncio }: buildPythonPackage rec { pname = "qdrant-client"; - version = "1.1.0"; + version = "1.5.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -25,7 +27,7 @@ buildPythonPackage rec { owner = "qdrant"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-rpNTV3VBTND39iW/kve0aG1KJzAIl1whmhH+e6RbOhw="; + hash = "sha256-k+ggx4QyVduqtV4WwHELyQDAHdaGE0bizpG1ie6x7FM="; }; nativeBuildInputs = [ @@ -36,31 +38,28 @@ buildPythonPackage rec { numpy httpx grpcio - typing-extensions + # typing-extensions grpcio-tools pydantic urllib3 - h2 + portalocker + ] ++ httpx.optional-dependencies.http2; + + pythonImportsCheck = [ + "qdrant_client" ]; nativeCheckInputs = [ pytestCheckHook + pytest-asyncio ]; - pythonImportsCheck = [ - "qdrant_client" - ]; + # tests require network access + doCheck = false; - disabledTests = [ - # Tests require network access - "test_conditional_payload_update" - "test_locks" - "test_multiple_vectors" - "test_points_crud" - "test_qdrant_client_integration" - "test_quantization_config" - "test_record_upload" - ]; + passthru.optional-dependencies = { + fastembed = [ fastembed ]; + }; meta = with lib; { description = "Python client for Qdrant vector search engine"; diff --git a/pkgs/development/python-modules/yangson/default.nix b/pkgs/development/python-modules/yangson/default.nix index 482c47494561..05d26bcd4859 100644 --- a/pkgs/development/python-modules/yangson/default.nix +++ b/pkgs/development/python-modules/yangson/default.nix @@ -2,18 +2,18 @@ , buildPythonPackage , fetchPypi , setuptools-scm -, pyxb +, elementpath , pytestCheckHook }: buildPythonPackage rec { pname = "yangson"; - version = "1.4.16"; + version = "1.4.18"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-P447JnQ8zhalcg9k8prW1QQE3h5PqY155hFtvLvBVSI="; + hash = "sha256-VMgx2MTiOoAw8tW8SckheN950JVbdWWSS3PWDNs0dT0="; }; nativeBuildInputs = [ @@ -21,7 +21,7 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ - pyxb + elementpath ]; nativeCheckInputs = [ diff --git a/pkgs/development/python-modules/yaspin/default.nix b/pkgs/development/python-modules/yaspin/default.nix index afb475e018e0..c90da30a746b 100644 --- a/pkgs/development/python-modules/yaspin/default.nix +++ b/pkgs/development/python-modules/yaspin/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "yaspin"; - version = "2.3.0"; + version = "3.0.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "pavdmyt"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-TURfjhEqkg8TT7dsoIOn2iAeD7+lX8+s9hItritf1GU="; + hash = "sha256-cYTCJyHZ9yNg6BfpZ+g3P0yMWFhYUxgYtlbANNgfohQ="; }; nativeBuildInputs = [ diff --git a/pkgs/development/tools/frugal/default.nix b/pkgs/development/tools/frugal/default.nix index 27f477c55548..43c36322eb08 100644 --- a/pkgs/development/tools/frugal/default.nix +++ b/pkgs/development/tools/frugal/default.nix @@ -2,18 +2,18 @@ buildGoModule rec { pname = "frugal"; - version = "3.16.24"; + version = "3.16.27"; src = fetchFromGitHub { owner = "Workiva"; repo = pname; rev = "v${version}"; - sha256 = "sha256-DXdecPsxYE12YkOn6acuai+mbqNkzZUEXEw1+ZcJlt8="; + sha256 = "sha256-ZHDx6xE/apYF05CXtGJxlp2AWfeEAkWi3zloTFFr78M="; }; subPackages = [ "." ]; - vendorHash = "sha256-9ZWK5xw2onwm9F/o/upGuo080X6neXUrSF+0WR+FpCs="; + vendorHash = "sha256-2+7GQ54AHEF8ukvn/xUAD1eGESo8jO6TlRFPwlEvZ6A="; meta = with lib; { description = "Thrift improved"; diff --git a/pkgs/development/tools/go-task/default.nix b/pkgs/development/tools/go-task/default.nix index 0d4cf62bf9d5..0f0266d18cee 100644 --- a/pkgs/development/tools/go-task/default.nix +++ b/pkgs/development/tools/go-task/default.nix @@ -8,16 +8,16 @@ buildGoModule rec { pname = "go-task"; - version = "3.28.0"; + version = "3.29.1"; src = fetchFromGitHub { owner = pname; repo = "task"; rev = "refs/tags/v${version}"; - hash = "sha256-jVRQnZGM+N3W/f4mW322qPiv7PFrFoyUHNdZNoAkpAc="; + hash = "sha256-RzXJCYiIxbSgXuUinS5ixKCobZtMx5MM/ilzSPzTdsI="; }; - vendorHash = "sha256-gXWuKOTb/7AIF6orXlIHpdSxdYxl12Es2cl4egdJfxo="; + vendorHash = "sha256-+8nLU2mg7fiWSRu0w9ZMd5KvyFyYbNO1tyJpZASdc2c="; doCheck = false; diff --git a/pkgs/development/tools/rust/cargo-hack/default.nix b/pkgs/development/tools/rust/cargo-hack/default.nix index 507ec3a71430..99a1610381e9 100644 --- a/pkgs/development/tools/rust/cargo-hack/default.nix +++ b/pkgs/development/tools/rust/cargo-hack/default.nix @@ -2,14 +2,14 @@ rustPlatform.buildRustPackage rec { pname = "cargo-hack"; - version = "0.6.5"; + version = "0.6.6"; src = fetchCrate { inherit pname version; - sha256 = "sha256-loGQTCi6lTNB/jn47fvWTqKr01p4xRqyq+Y02a/UwSc="; + sha256 = "sha256-yLxWV9/e+0IAe4z11i+wwNb6yUehzQwV+EYCe3Z1MOM="; }; - cargoSha256 = "sha256-gk/0aTMlUWYKfJJ9CfTvYLTZ6/ShIRuhpywhuwFHD5E="; + cargoSha256 = "sha256-/Za1T+HYI7mmKQHn7qm1d6hqh1qyp9DAOOMi32Tev9g="; # some necessary files are absent in the crate version doCheck = false; |