diff --git a/nixos/modules/services/networking/cloudflare-dyndns.nix b/nixos/modules/services/networking/cloudflare-dyndns.nix index a15de2ddd861..9495c8dcaf81 100644 --- a/nixos/modules/services/networking/cloudflare-dyndns.nix +++ b/nixos/modules/services/networking/cloudflare-dyndns.nix @@ -10,6 +10,8 @@ in services.cloudflare-dyndns = { enable = mkEnableOption "Cloudflare Dynamic DNS Client"; + package = mkPackageOption pkgs "cloudflare-dyndns" { }; + apiTokenFile = mkOption { type = types.nullOr types.str; default = null; @@ -95,7 +97,7 @@ in ++ optional cfg.deleteMissing "--delete-missing" ++ optional cfg.proxied "--proxied"; in - "${pkgs.cloudflare-dyndns}/bin/cloudflare-dyndns ${toString args}"; + "${getExe cfg.package} ${toString args}"; }; } // optionalAttrs (cfg.frequency != null) { startAt = cfg.frequency; diff --git a/pkgs/applications/misc/pytrainer/default.nix b/pkgs/applications/misc/pytrainer/default.nix index a1c28898311b..d2340b15f1b7 100644 --- a/pkgs/applications/misc/pytrainer/default.nix +++ b/pkgs/applications/misc/pytrainer/default.nix @@ -85,7 +85,7 @@ in python.pkgs.buildPythonApplication rec { TZ=Europe/Kaliningrad \ LC_TIME=C \ xvfb-run -s '-screen 0 800x600x24' \ - ${python.interpreter} setup.py test + ${python.interpreter} -m unittest ''; meta = with lib; { diff --git a/pkgs/applications/window-managers/wayfire/wwp-switcher.nix b/pkgs/applications/window-managers/wayfire/wwp-switcher.nix index 34252d98dd83..4eb42af6995b 100644 --- a/pkgs/applications/window-managers/wayfire/wwp-switcher.nix +++ b/pkgs/applications/window-managers/wayfire/wwp-switcher.nix @@ -16,13 +16,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "wwp-switcher"; - version = "unstable-2023-09-09"; + version = "0-unstable-2024-07-23"; src = fetchFromGitHub { owner = "wb9688"; repo = "wwp-switcher"; - rev = "04711a0db133a899f507a86e81897296b793b4f3"; - hash = "sha256-qMyEhSZJNxAoaELKI2h1v59QJnKJzFa76Q4/WtZqpIU"; + rev = "d0cd97534a2a6355697efecb7bcf8f85f5dc4b5b"; + hash = "sha256-cU8INUb+JXlSCM7cAOUBU7z7W0IM6pAGN0izGdFYntc="; }; nativeBuildInputs = [ diff --git a/pkgs/applications/audio/feishin/default.nix b/pkgs/by-name/fe/feishin/package.nix similarity index 95% rename from pkgs/applications/audio/feishin/default.nix rename to pkgs/by-name/fe/feishin/package.nix index 98a0c5edebce..c506b2e3747b 100644 --- a/pkgs/applications/audio/feishin/default.nix +++ b/pkgs/by-name/fe/feishin/package.nix @@ -11,13 +11,13 @@ }: let pname = "feishin"; - version = "0.7.1"; + version = "0.7.3"; src = fetchFromGitHub { owner = "jeffvli"; repo = pname; rev = "v${version}"; - hash = "sha256-eNGHrSF/MgRHh0CVc0l8denZIbAnPXwFCZJZcvF+Xtc="; + hash = "sha256-UOY0wjWGK7sal/qQbbkHjFUIA49QtbO+Ei6hSTOyHWk="; }; electron = electron_30; @@ -26,7 +26,7 @@ buildNpmPackage { inherit pname version; inherit src; - npmDepsHash = "sha256-7oh5bl5APAvzb/TxHMUP/saRWLwuP9xqGvn7/RDhFk8="; + npmDepsHash = "sha256-FLo8FCpxvh2Iqd3pkpgwRZ4f2viX4iET64VAuXN362g="; npmFlags = [ "--legacy-peer-deps" ]; makeCacheWritable = true; @@ -60,7 +60,7 @@ buildNpmPackage { inherit version; src = "${src}/release/app"; - npmDepsHash = "sha256-NgWPr3mctn7f6X2JFsbdNNHkN84RRlLAywqfbyahCQw="; + npmDepsHash = "sha256-fQV2yqyNZCjeNUekBaXUsND2lIZYYz07YQ6TGoFxT9Q="; npmFlags = [ "--ignore-scripts" ]; dontNpmBuild = true; diff --git a/pkgs/by-name/qu/quba/package.nix b/pkgs/by-name/qu/quba/package.nix new file mode 100644 index 000000000000..cfd80c6bdbe8 --- /dev/null +++ b/pkgs/by-name/qu/quba/package.nix @@ -0,0 +1,39 @@ +{ + lib, + appimageTools, + fetchurl, +}: + +let + version = "1.4.0"; + pname = "quba"; + name = "${pname}-${version}"; + + src = fetchurl { + url = "https://github.com/ZUGFeRD/quba-viewer/releases/download/v${version}/Quba-${version}.AppImage"; + hash = "sha256-EsTF7W1np5qbQQh3pdqsFe32olvGK3AowGWjqHPEfoM="; + }; + + appimageContents = appimageTools.extractType1 { inherit name src; }; +in +appimageTools.wrapType1 { + inherit name src; + + extraInstallCommands = '' + mv $out/bin/${name} $out/bin/${pname} + install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications + substituteInPlace $out/share/applications/${pname}.desktop \ + --replace-fail 'Exec=AppRun' 'Exec=${pname}' + cp -r ${appimageContents}/usr/share/icons $out/share + ''; + + meta = { + description = "Viewer for electronic invoices"; + homepage = "https://github.com/ZUGFeRD/quba-viewer"; + downloadPage = "https://github.com/ZUGFeRD/quba-viewer/releases"; + license = lib.licenses.asl20; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + maintainers = with lib.maintainers; [ onny ]; + platforms = [ "x86_64-linux" ]; + }; +} diff --git a/pkgs/by-name/se/serie/package.nix b/pkgs/by-name/se/serie/package.nix index c3271e7ffee3..62937e9b1597 100644 --- a/pkgs/by-name/se/serie/package.nix +++ b/pkgs/by-name/se/serie/package.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "serie"; - version = "0.1.1"; + version = "0.1.2"; src = fetchFromGitHub { owner = "lusingander"; repo = "serie"; rev = "v${version}"; - hash = "sha256-PlWnkkrn+j6GyyBo6ehszXxDexyW4rjIfpCj1ZARBPc="; + hash = "sha256-sFxIGC9zg8D0qhHpT1fAzrU25AxBbJRPzD2c+H8Z/1Y="; }; - cargoHash = "sha256-kKOjLLpWmgtfIYWrlX/6SRUy7NOX6A/W/Oy3kMGR3eg="; + cargoHash = "sha256-JaR1BcKigMa27l8kdsRoClb3ifPtob3+sa2cqnpFeFs="; buildInputs = lib.optionals stdenv.isDarwin ( with darwin.apple_sdk.frameworks; diff --git a/pkgs/by-name/st/stalwart-mail/package.nix b/pkgs/by-name/st/stalwart-mail/package.nix index 2309acd9a9fc..7e25e8846f90 100644 --- a/pkgs/by-name/st/stalwart-mail/package.nix +++ b/pkgs/by-name/st/stalwart-mail/package.nix @@ -8,6 +8,7 @@ bzip2, openssl, sqlite, + foundationdb, zstd, stdenv, darwin, @@ -24,7 +25,7 @@ let # See upstream issue for rocksdb 9.X support # https://github.com/stalwartlabs/mail-server/issues/407 rocksdb = rocksdb_8_11; - version = "0.8.5"; + version = "0.9.0"; in rustPlatform.buildRustPackage { pname = "stalwart-mail"; @@ -33,12 +34,14 @@ rustPlatform.buildRustPackage { src = fetchFromGitHub { owner = "stalwartlabs"; repo = "mail-server"; - rev = "v${version}"; - hash = "sha256-Y28o4BIoGcakEY3ig4wNR0sI6YBoR6BQUhXWK7fA3qo="; + # XXX: We need to use a revisoin two commits after v0.9.0, which includes fixes for test cases. + # Can be reverted to "v${version}" next release. + rev = "2a12e251f2591b7785d7a921364f125d2e9c1e6e"; + hash = "sha256-qoU09tLpOlsy5lKv2GdCV23bd70hnNZ0r/O5APGVDyw="; fetchSubmodules = true; }; - cargoHash = "sha256-axLg7igmupGHU6xohDN+UIwaZB+vt02p9WIK+P9YkY8="; + cargoHash = "sha256-rGCu3J+hTxiIENDIQM/jPz1wUNJr0ouoa1IkwWKfOWM="; patches = [ # Remove "PermissionsStartOnly" from systemd service files, @@ -60,6 +63,7 @@ rustPlatform.buildRustPackage { bzip2 openssl sqlite + foundationdb zstd ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreFoundation @@ -121,6 +125,11 @@ rustPlatform.buildRustPackage { # error[E0432]: unresolved import `r2d2_sqlite` # use of undeclared crate or module `r2d2_sqlite` "--skip=backend::sqlite::pool::SqliteConnectionManager::with_init" + # thread 'smtp::reporting::analyze::report_analyze' panicked at tests/src/smtp/reporting/analyze.rs:88:5: + # assertion `left == right` failed + # left: 0 + # right: 12 + "--skip=smtp::reporting::analyze::report_analyze" ]; doCheck = !(stdenv.isLinux && stdenv.isAarch64); @@ -135,6 +144,6 @@ rustPlatform.buildRustPackage { homepage = "https://github.com/stalwartlabs/mail-server"; changelog = "https://github.com/stalwartlabs/mail-server/blob/${version}/CHANGELOG"; license = licenses.agpl3Only; - maintainers = with maintainers; [ happysalada onny ]; + maintainers = with maintainers; [ happysalada onny oddlama ]; }; } diff --git a/pkgs/by-name/tc/tclcurl/package.nix b/pkgs/by-name/tc/tclcurl/package.nix new file mode 100644 index 000000000000..48cd26a7d717 --- /dev/null +++ b/pkgs/by-name/tc/tclcurl/package.nix @@ -0,0 +1,33 @@ +{ + lib, + tcl, + fetchFromGitHub, + curl, +}: + +tcl.mkTclDerivation rec { + pname = "tclcurl"; + version = "7.22.0"; + + src = fetchFromGitHub { + owner = "flightaware"; + repo = "tclcurl-fa"; + rev = "refs/tags/v${version}"; + hash = "sha256-FQSzujHuP7vGJ51sdXh+31gRKqn98dV1kIqMKSoVB0M="; + }; + + buildInputs = [ curl ]; + + # Uses curl-config + strictDeps = false; + + makeFlags = [ "LDFLAGS=-lcurl" ]; + + meta = { + description = "Curl support in Tcl"; + homepage = "https://github.com/flightaware/tclcurl-fa"; + changelog = "https://github.com/flightaware/tclcurl-fa/blob/master/ChangeLog.txt"; + license = lib.licenses.tcltk; + maintainers = with lib.maintainers; [ fgaz ]; + }; +} diff --git a/pkgs/by-name/tc/tclmagick/package.nix b/pkgs/by-name/tc/tclmagick/package.nix new file mode 100644 index 000000000000..f5d0bc4b152f --- /dev/null +++ b/pkgs/by-name/tc/tclmagick/package.nix @@ -0,0 +1,38 @@ +{ + lib, + tcl, + fetchzip, + graphicsmagick, + tk, +}: + +tcl.mkTclDerivation rec { + pname = "tclmagick"; + version = "1.3.43"; + + src = fetchzip { + url = "mirror://sourceforge/graphicsmagick/GraphicsMagick-${version}.tar.xz"; + hash = "sha256-CpZztiBF0HqH4XWIAyE9IbZVpBcgrDzyASv47wTneQ0="; + }; + + sourceRoot = src.name + "/TclMagick"; + + buildInputs = [ + graphicsmagick + tk + ]; + + configureFlags = [ + "--with-tk=${lib.getLib tk}/lib" + "--with-tkinclude=${lib.getDev tk}/include" + ]; + + doInstallCheck = true; + + meta = { + description = "Tcl and Tk Interfaces to GraphicsMagick and ImageMagick"; + homepage = "http://www.graphicsmagick.org/TclMagick/doc/"; + license = lib.licenses.tcltk; + maintainers = with lib.maintainers; [ fgaz ]; + }; +} diff --git a/pkgs/by-name/ti/tile38/package.nix b/pkgs/by-name/ti/tile38/package.nix index 99d83ed7e5b4..83a763eafcf6 100644 --- a/pkgs/by-name/ti/tile38/package.nix +++ b/pkgs/by-name/ti/tile38/package.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "tile38"; - version = "1.33.1"; + version = "1.33.2"; src = fetchFromGitHub { owner = "tidwall"; repo = pname; rev = version; - sha256 = "sha256-Rr1TcZedC+dJDN/oZTbKXS1Z1QYMofVtMS4YLA1r27E="; + sha256 = "sha256-+HclPZOVBa5cEAuUr5R40+CHI58yZJ6uo8qM06IAgQw="; }; vendorHash = "sha256-nnamNwowRPWQBKUMg800bFgijv8iHbdh/wUwTfX0NcY="; diff --git a/pkgs/by-name/ty/typodermic-free-fonts/package.nix b/pkgs/by-name/ty/typodermic-free-fonts/package.nix index 1f67c6ee6b93..7be932eba9db 100644 --- a/pkgs/by-name/ty/typodermic-free-fonts/package.nix +++ b/pkgs/by-name/ty/typodermic-free-fonts/package.nix @@ -1,14 +1,20 @@ -{ lib, stdenvNoCC, fetchzip }: +{ + lib, + stdenvNoCC, + fetchzip, +}: stdenvNoCC.mkDerivation { pname = "typodermic-free-fonts"; - version = "2023a"; + version = "2024-04"; src = fetchzip { - url = - "https://typodermicfonts.com/wp-content/uploads/2023/01/typodermic-free-fonts-2023a.zip"; - hash = "sha256-+1TPZkeiMMV0Qmk7ERgJjVVNFar9bMISbAd23H8fwFo="; - curlOptsList = [ "--user-agent" "Mozilla/5.0" ]; # unbreak their wordpress + url = "https://typodermicfonts.com/wp-content/uploads/2024/04/typodermic-free-fonts-2024b.zip"; + hash = "sha256-EbK2wrYdIFmz/gdM+46CNb4Z21jrVYZMh+dtduwC8aI="; + curlOptsList = [ + "--user-agent" + "Mozilla/5.0" + ]; # unbreak their wordpress stripRoot = false; }; diff --git a/pkgs/by-name/ty/typodermic-public-domain/package.nix b/pkgs/by-name/ty/typodermic-public-domain/package.nix index fdbdfc0c1e6e..201dd0a64a75 100644 --- a/pkgs/by-name/ty/typodermic-public-domain/package.nix +++ b/pkgs/by-name/ty/typodermic-public-domain/package.nix @@ -1,14 +1,20 @@ -{ lib, stdenvNoCC, fetchzip }: +{ + lib, + stdenvNoCC, + fetchzip, +}: stdenvNoCC.mkDerivation { pname = "typodermic-public-domain"; - version = "2022-11"; + version = "2024-04"; src = fetchzip { - url = - "https://typodermicfonts.com/wp-content/uploads/2022/11/typodermic-public-domain-2022-11.zip"; - hash = "sha256-2hqpehQ4zxSvsw2dtom/fkMAayJKNvOdYs+c+rrvJKw="; - curlOptsList = [ "--user-agent" "Mozilla/5.0" ]; # unbreak their wordpress + url = "https://typodermicfonts.com/wp-content/uploads/2024/04/typodermic-public-domain-2024-04.zip"; + hash = "sha256-grAAU/yL/Q1EyZtrvcgrB6bcXMZoNs7suVYaKibqBOE="; + curlOptsList = [ + "--user-agent" + "Mozilla/5.0" + ]; # unbreak their wordpress stripRoot = false; }; @@ -26,5 +32,6 @@ stdenvNoCC.mkDerivation { description = "Vintage Typodermic fonts"; maintainers = with lib.maintainers; [ ehmry ]; license = lib.licenses.cc0; + platforms = lib.platforms.all; }; } diff --git a/pkgs/development/python-modules/aioymaps/default.nix b/pkgs/development/python-modules/aioymaps/default.nix index ad4db4e062ab..8567f23ee097 100644 --- a/pkgs/development/python-modules/aioymaps/default.nix +++ b/pkgs/development/python-modules/aioymaps/default.nix @@ -4,21 +4,24 @@ buildPythonPackage, fetchPypi, pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "aioymaps"; - version = "1.2.4"; - format = "setuptools"; + version = "1.2.5"; + pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-btBeYP+/ntWpWm5O6ERkRJlhpV8tLe9lrFLYOEB55cY="; + hash = "sha256-tEl2tX/mB8uYTYj1YFDs/2sPXiv6897jCEmsFCWBXYg="; }; - propagatedBuildInputs = [ aiohttp ]; + build-system = [ setuptools ]; + + dependencies = [ aiohttp ]; # Project has no tests doCheck = false; diff --git a/pkgs/development/python-modules/awkward-cpp/default.nix b/pkgs/development/python-modules/awkward-cpp/default.nix index 611454296cdf..eac1d662bb69 100644 --- a/pkgs/development/python-modules/awkward-cpp/default.nix +++ b/pkgs/development/python-modules/awkward-cpp/default.nix @@ -12,14 +12,15 @@ buildPythonPackage rec { pname = "awkward-cpp"; - version = "35"; + version = "37"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { - inherit pname version; - hash = "sha256-H4sRKll70kOHlOGnIaY6phhp+pWYoXrGvYEa1vZADQY="; + pname = "awkward_cpp"; + inherit version; + hash = "sha256-bf9fzkr8rbSSu/fLIJCFctmb3DKqK+qGgbrPtpsqqG0="; }; build-system = [ diff --git a/pkgs/development/python-modules/awkward/default.nix b/pkgs/development/python-modules/awkward/default.nix index 1bd2e6974214..4bcfc343458d 100644 --- a/pkgs/development/python-modules/awkward/default.nix +++ b/pkgs/development/python-modules/awkward/default.nix @@ -1,19 +1,22 @@ { lib, - fsspec, - stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, + + # build-system hatch-fancy-pypi-readme, hatchling, + + # dependencies awkward-cpp, - importlib-metadata, + fsspec, numpy, packaging, typing-extensions, - jax, - jaxlib, + importlib-metadata, + + # checks numba, setuptools, numexpr, @@ -21,11 +24,15 @@ pyarrow, pytest-xdist, pytestCheckHook, + jax, + jaxlib, + + stdenv, }: buildPythonPackage rec { pname = "awkward"; - version = "2.6.6"; + version = "2.6.7"; pyproject = true; disabled = pythonOlder "3.8"; @@ -34,7 +41,7 @@ buildPythonPackage rec { owner = "scikit-hep"; repo = "awkward"; rev = "refs/tags/v${version}"; - hash = "sha256-5Jg+Ki1vJ4Rz22TbqTvVtb5YLvkvP8EOQ7cmTmI6gQU="; + hash = "sha256-6Q2eXriMYmfrgv69ytxvyrxK9HPMX8AIZ3ZStZUMGIk="; }; build-system = [ @@ -46,7 +53,6 @@ buildPythonPackage rec { [ awkward-cpp fsspec - importlib-metadata numpy packaging ] diff --git a/pkgs/development/python-modules/bork/default.nix b/pkgs/development/python-modules/bork/default.nix index c0404e566de6..44a8564558e9 100644 --- a/pkgs/development/python-modules/bork/default.nix +++ b/pkgs/development/python-modules/bork/default.nix @@ -4,19 +4,20 @@ fetchFromGitHub, pytestCheckHook, pythonOlder, + setuptools, build, coloredlogs, + importlib-metadata, packaging, pip, - readme-renderer, toml, - twine, + urllib3, }: buildPythonPackage rec { pname = "bork"; - version = "8.0.0"; + version = "9.0.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -24,7 +25,7 @@ buildPythonPackage rec { owner = "duckinator"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-BDwVhKmZ/F8CvpT6dEI5moQZx8wHy1TwdOl889XogEo="; + hash = "sha256-YqvtOwd00TXD4I3fIQolvjHnjREvQgbdrEO9Z96v1Kk="; }; build-system = [ @@ -32,11 +33,7 @@ buildPythonPackage rec { ]; pythonRelaxDeps = [ - "build" "packaging" - "readme-renderer" - "twine" - "wheel" ]; dependencies = [ @@ -44,9 +41,10 @@ buildPythonPackage rec { coloredlogs packaging pip - readme-renderer - twine - ] ++ lib.optionals (pythonOlder "3.11") [ toml ]; + urllib3 + ] ++ lib.optionals (pythonOlder "3.11") [ toml ] + ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ] + ; pythonImportsCheck = [ "bork" @@ -67,7 +65,7 @@ buildPythonPackage rec { description = "Python build and release management tool"; mainProgram = "bork"; homepage = "https://github.com/duckinator/bork"; + license = licenses.mit; maintainers = with maintainers; [ nicoo ]; - platforms = platforms.all; }; } diff --git a/pkgs/development/python-modules/boto3-stubs/default.nix b/pkgs/development/python-modules/boto3-stubs/default.nix index eebac0072aac..4f04140104ee 100644 --- a/pkgs/development/python-modules/boto3-stubs/default.nix +++ b/pkgs/development/python-modules/boto3-stubs/default.nix @@ -366,7 +366,7 @@ buildPythonPackage rec { pname = "boto3-stubs"; - version = "1.34.151"; + version = "1.34.152"; pyproject = true; disabled = pythonOlder "3.7"; @@ -374,7 +374,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "boto3_stubs"; inherit version; - hash = "sha256-hCI2gTj7dK+3wRllZ3cmAAxNJLezuHLUFPXHBjcr+U8="; + hash = "sha256-8bOm1f224phhlkGaJEffhgnnmCawzBhHIPsxjTwSOw0="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/botocore-stubs/default.nix b/pkgs/development/python-modules/botocore-stubs/default.nix index 85f6b315ca74..b79a970aeeb9 100644 --- a/pkgs/development/python-modules/botocore-stubs/default.nix +++ b/pkgs/development/python-modules/botocore-stubs/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "botocore-stubs"; - version = "1.34.151"; + version = "1.34.152"; pyproject = true; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "botocore_stubs"; inherit version; - hash = "sha256-Z18h7+8NjFM3AedEn3Zf0SC2J+gKjO1BuvxDw04CG+U="; + hash = "sha256-sPMsUUPHiukPDg3LXMYG8YM/ReswUSABCMMMBV77P+s="; }; nativeBuildInputs = [ poetry-core ]; diff --git a/pkgs/development/python-modules/f90nml/default.nix b/pkgs/development/python-modules/f90nml/default.nix index 2657ae73d420..0a0f735e901a 100644 --- a/pkgs/development/python-modules/f90nml/default.nix +++ b/pkgs/development/python-modules/f90nml/default.nix @@ -2,14 +2,14 @@ lib, buildPythonPackage, fetchFromGitHub, - python, setuptools-scm, + unittestCheckHook, }: buildPythonPackage rec { pname = "f90nml"; version = "1.4.1"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "marshallward"; @@ -18,19 +18,17 @@ buildPythonPackage rec { hash = "sha256-nSpVBAS2VvXIQwYK/qVVzEc13bicAQ+ScXpO4Rn2O+8="; }; - nativeBuildInputs = [ setuptools-scm ]; + build-system = [ setuptools-scm ]; - checkPhase = '' - ${python.interpreter} setup.py test - ''; + nativeCheckInputs = [ unittestCheckHook ]; pythonImportsCheck = [ "f90nml" ]; - meta = with lib; { + meta = { description = "Python module for working with Fortran Namelists"; mainProgram = "f90nml"; homepage = "https://f90nml.readthedocs.io"; - license = licenses.asl20; - maintainers = with maintainers; [ loicreynier ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ loicreynier ]; }; } diff --git a/pkgs/development/python-modules/homf/default.nix b/pkgs/development/python-modules/homf/default.nix new file mode 100644 index 000000000000..2e411eedc7e8 --- /dev/null +++ b/pkgs/development/python-modules/homf/default.nix @@ -0,0 +1,49 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + # pytestCheckHook, + pythonOlder, + + hatchling, + packaging, +}: + +buildPythonPackage rec { + pname = "homf"; + version = "1.0.0"; + pyproject = true; + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "duckinator"; + repo = "homf"; + rev = "refs/tags/v${version}"; + hash = "sha256-PU5VjBIVSMupTBh/qvVuZSFWpBbJOylCR02lONn9/qw="; + }; + + build-system = [ hatchling ]; + + pythonRelaxDeps = [ "packaging" ]; + + dependencies = [ packaging ]; + + pythonImportsCheck = [ + "homf" + "homf.api" + "homf.api.github" + "homf.api.pypi" + ]; + + # There are currently no checks which do not require network access, which breaks the check hook somehow? + # nativeCheckInputs = [ pytestCheckHook ]; + # pytestFlagsArray = [ "-m 'not network'" ]; + + meta = with lib; { + description = "Asset download tool for GitHub Releases, PyPi, etc."; + mainProgram = "homf"; + homepage = "https://github.com/duckinator/homf"; + license = licenses.mit; + maintainers = with maintainers; [ nicoo ]; + }; +} diff --git a/pkgs/development/python-modules/pynvim-pp/default.nix b/pkgs/development/python-modules/pynvim-pp/default.nix index b22e0d372981..feb57706f7a5 100644 --- a/pkgs/development/python-modules/pynvim-pp/default.nix +++ b/pkgs/development/python-modules/pynvim-pp/default.nix @@ -8,24 +8,24 @@ buildPythonPackage { pname = "pynvim-pp"; - version = "unstable-2024-03-11"; + version = "unstable-2024-07-31"; pyproject = true; src = fetchFromGitHub { owner = "ms-jpq"; repo = "pynvim_pp"; - rev = "34e3a027c595981886d7efd1c91071f3eaa4715d"; - hash = "sha256-2+jDRJXlg9q4MN9vOhmeq4cWVJ0wp5r5xAh3G8lqgOg="; + rev = "6d3c298b7eb9543bce7ab515b0a39f256c1d37ca"; + hash = "sha256-W6YaxI/fa2HL6+FIBTTA+7K2Be02iuIfFFVO/hhYnpo="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ pynvim ]; + dependencies = [ pynvim ]; - meta = with lib; { + meta = { homepage = "https://github.com/ms-jpq/pynvim_pp"; description = "Dependency to chadtree and coq_nvim plugins"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ GaetanLepage ]; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ GaetanLepage ]; }; } diff --git a/pkgs/development/python-modules/python-nvd3/default.nix b/pkgs/development/python-modules/python-nvd3/default.nix index a293ee90d157..1ab84159b437 100644 --- a/pkgs/development/python-modules/python-nvd3/default.nix +++ b/pkgs/development/python-modules/python-nvd3/default.nix @@ -5,13 +5,13 @@ python-slugify, jinja2, setuptools, - coverage, + pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage { pname = "python-nvd3"; version = "0.15.0"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "areski"; @@ -20,22 +20,22 @@ buildPythonPackage rec { sha256 = "1vjnicszcc9j0rgb58104fk9sry5xad1xli64jana9bkx42c6x1v"; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ python-slugify jinja2 - setuptools ]; - nativeCheckInputs = [ coverage ]; - checkPhase = '' - coverage run --source=nvd3 setup.py test - ''; + nativeCheckInputs = [ pytestCheckHook ]; - meta = with lib; { + pytestFlagsArray = [ "tests.py" ]; + + meta = { homepage = "https://github.com/areski/python-nvd3"; description = "Python Wrapper for NVD3 - It's time for beautiful charts"; mainProgram = "nvd3"; - license = licenses.mit; - maintainers = [ maintainers.ivan-tkatchev ]; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.ivan-tkatchev ]; }; } diff --git a/pkgs/development/python-modules/sourmash/default.nix b/pkgs/development/python-modules/sourmash/default.nix index 0798bd32324e..aefb730b229d 100644 --- a/pkgs/development/python-modules/sourmash/default.nix +++ b/pkgs/development/python-modules/sourmash/default.nix @@ -2,7 +2,9 @@ lib, fetchPypi, buildPythonPackage, + stdenv, pythonOlder, + overrideSDK, rustPlatform, bitstring, cachetools, @@ -18,27 +20,32 @@ pyyaml, pytestCheckHook, }: - +let + stdenv' = if stdenv.isDarwin then overrideSDK stdenv { darwinMinVersion = "10.14"; } else stdenv; +in buildPythonPackage rec { pname = "sourmash"; - version = "4.8.4"; - format = "pyproject"; - disabled = pythonOlder "3.8"; + version = "4.8.11"; + pyproject = true; + disabled = pythonOlder "3.9"; + + stdenv = stdenv'; src = fetchPypi { inherit pname version; - hash = "sha256-Q1hMESwzEHGXcd4XW4nLqU8cLTCxrqRgAOr1qB77roo="; + hash = "sha256-GganbfRkuSaFd5qqpu0CpXe91zpKsyly6BNFgQNNNL8="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - hash = "sha256-HisWvJgx15OfYoMzzqYm1JyY1/jmGXBSZZmuNaKTDjI="; + hash = "sha256-im/TPxnT8c2QbWlzCY60wVwJFRIhSnVW7E4kv6bm0p4="; }; nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook + bindgenHook ]; buildInputs = [ iconv ]; diff --git a/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix b/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix index 9c909cad71c2..b46228068dd6 100644 --- a/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix +++ b/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "tencentcloud-sdk-python"; - version = "3.0.1201"; + version = "3.0.1203"; pyproject = true; disabled = pythonOlder "3.9"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "TencentCloud"; repo = "tencentcloud-sdk-python"; rev = "refs/tags/${version}"; - hash = "sha256-THxmQs6BCL08hvjonQoriw0hCYrJZwW5K0Y1syGSujg="; + hash = "sha256-XP932AG7k4nWJLzyth6E/02i83YRqQlgn5u6VKbxaYk="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/torchrl/default.nix b/pkgs/development/python-modules/torchrl/default.nix index e07569688110..638f1844eaba 100644 --- a/pkgs/development/python-modules/torchrl/default.nix +++ b/pkgs/development/python-modules/torchrl/default.nix @@ -154,14 +154,19 @@ buildPythonPackage rec { # undeterministic "test_distributed_collector_updatepolicy" "test_timeit" + + # On a 24 + # assert torch.get_num_threads() == max(1, init_threads - 3) + # AssertionError: assert 23 == 21 + "test_auto_num_threads" ]; - meta = with lib; { + meta = { description = "Modular, primitive-first, python-first PyTorch library for Reinforcement Learning"; homepage = "https://github.com/pytorch/rl"; changelog = "https://github.com/pytorch/rl/releases/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ GaetanLepage ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ GaetanLepage ]; # ~3k tests fail with: RuntimeError: internal error broken = stdenv.isLinux && stdenv.isAarch64; }; diff --git a/pkgs/development/tools/analysis/checkov/default.nix b/pkgs/development/tools/analysis/checkov/default.nix index 1ef243c87390..7a68413f2f27 100644 --- a/pkgs/development/tools/analysis/checkov/default.nix +++ b/pkgs/development/tools/analysis/checkov/default.nix @@ -6,14 +6,14 @@ python3.pkgs.buildPythonApplication rec { pname = "checkov"; - version = "3.2.216"; + version = "3.2.217"; pyproject = true; src = fetchFromGitHub { owner = "bridgecrewio"; repo = "checkov"; rev = "refs/tags/${version}"; - hash = "sha256-EsEx5pT4sgOhpaCuS1f4+wmSo4w3BX7JzKbDvrhw9Z0="; + hash = "sha256-+0RhgsiVs6Lz5kVigFK4chMepm6PdPRA4CckE1vov+c="; }; patches = [ ./flake8-compat-5.x.patch ]; diff --git a/pkgs/development/tools/ruff/Cargo.lock b/pkgs/development/tools/ruff/Cargo.lock index c072bcac5584..6f4fe43f9a43 100644 --- a/pkgs/development/tools/ruff/Cargo.lock +++ b/pkgs/development/tools/ruff/Cargo.lock @@ -141,9 +141,9 @@ checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" [[package]] name = "argfile" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7c5c8e418080ef8aa932039d12eda7b6f5043baf48f1523c166fbc32d004534" +checksum = "0a1cc0ba69de57db40674c66f7cf2caee3981ddef084388482c95c0e2133e5e8" dependencies = [ "fs-err", "os_str_bytes", @@ -189,10 +189,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] -name = "bstr" -version = "1.9.1" +name = "boomphf" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" +checksum = "617e2d952880a00583ddb9237ac3965732e8df6a92a8e7bcc054100ec467ec3b" +dependencies = [ + "crossbeam-utils", + "log", + "rayon", + "wyhash", +] + +[[package]] +name = "bstr" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c" dependencies = [ "memchr", "regex-automata 0.4.6", @@ -314,9 +326,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.9" +version = "4.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64acc1846d54c1fe936a78dc189c34e28d3f5afc348403f28ecf53660b9b8462" +checksum = "35723e6a11662c2afb578bcf0b88bf6ea8e21282a953428f240574fcc3a2b5b3" dependencies = [ "clap_builder", "clap_derive", @@ -324,9 +336,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.9" +version = "4.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8393d67ba2e7bfaf28a23458e4e2b543cc73a99595511eb207fdb8aede942" +checksum = "49eb96cbfa7cfa35017b7cd548c75b14c3118c98b423041d70562665e07fb0fa" dependencies = [ "anstream", "anstyle", @@ -367,9 +379,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.8" +version = "4.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" +checksum = "5d029b67f89d30bbb547c89fd5161293c0aec155fc691d7924b64550662db93e" dependencies = [ "heck", "proc-macro2", @@ -759,9 +771,9 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.11.3" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b35839ba51819680ba087cd351788c9a3c476841207e0b8cee0b04722343b9" +checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d" dependencies = [ "anstream", "anstyle", @@ -930,9 +942,9 @@ dependencies = [ [[package]] name = "hashlink" -version = "0.8.4" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" +checksum = "6ba4ff7128dee98c7dc9794b6a411377e1404dba1c97deb8d1a55297bd25d8af" dependencies = [ "hashbrown", ] @@ -1021,9 +1033,9 @@ dependencies = [ [[package]] name = "imara-diff" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af13c8ceb376860ff0c6a66d83a8cdd4ecd9e464da24621bbffcd02b49619434" +checksum = "fc9da1a252bd44cd341657203722352efc9bc0c847d06ea6d2dc1cd1135e0a01" dependencies = [ "ahash", "hashbrown", @@ -1031,9 +1043,9 @@ dependencies = [ [[package]] name = "imperative" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b70798296d538cdaa6d652941fcc795963f8b9878b9e300c9fab7a522bd2fc0" +checksum = "29a1f6526af721f9aec9ceed7ab8ebfca47f3399d08b80056c2acca3fcb694a9" dependencies = [ "phf", "rust-stemmers", @@ -1526,10 +1538,84 @@ dependencies = [ ] [[package]] -name = "os_str_bytes" -version = "6.6.1" +name = "orx-concurrent-ordered-bag" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" +checksum = "9aa866e2be4aa03927eddb481e7c479d5109fe3121324fb7db6d97f91adf9876" +dependencies = [ + "orx-fixed-vec", + "orx-pinned-concurrent-col", + "orx-pinned-vec", + "orx-pseudo-default", + "orx-split-vec", +] + +[[package]] +name = "orx-concurrent-vec" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5912426ffb660f8b61e8f0812a1d07400803cd5513969d2c7af4d69602ba8a1" +dependencies = [ + "orx-concurrent-ordered-bag", + "orx-fixed-vec", + "orx-pinned-concurrent-col", + "orx-pinned-vec", + "orx-pseudo-default", + "orx-split-vec", +] + +[[package]] +name = "orx-fixed-vec" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f69466c7c1fc2e1f00b58e39059b78c438b9fad144d1937ef177ecfc413e997" +dependencies = [ + "orx-pinned-vec", + "orx-pseudo-default", +] + +[[package]] +name = "orx-pinned-concurrent-col" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdbcb1fa05dc1676f1c9cf19f443b3d2d2ca5835911477d22fa77cad8b79208d" +dependencies = [ + "orx-fixed-vec", + "orx-pinned-vec", + "orx-pseudo-default", + "orx-split-vec", +] + +[[package]] +name = "orx-pinned-vec" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1071baf586de45722668234bddf56c52c1ece6a6153d16541bbb0505f0ac055" +dependencies = [ + "orx-pseudo-default", +] + +[[package]] +name = "orx-pseudo-default" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2f627c439e723fa78e410a0faba89047a8a47d0dc013da5c0e05806e8a6cddb" + +[[package]] +name = "orx-split-vec" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52b9dbfa8c7069ae73a890870d3aa9097a897d616751d3d0278f2b42d5214730" +dependencies = [ + "orx-pinned-vec", + "orx-pseudo-default", +] + +[[package]] +name = "os_str_bytes" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ac44c994af577c799b1b4bd80dc214701e349873ad894d6cdf96f4f7526e0b9" dependencies = [ "memchr", ] @@ -1858,13 +1944,11 @@ dependencies = [ "countme", "crossbeam", "ctrlc", - "notify", + "filetime", "rayon", "red_knot_module_resolver", - "red_knot_python_semantic", + "red_knot_workspace", "ruff_db", - "ruff_python_ast", - "rustc-hash 2.0.0", "salsa", "tempfile", "tracing", @@ -1912,6 +1996,22 @@ dependencies = [ "tracing", ] +[[package]] +name = "red_knot_workspace" +version = "0.0.0" +dependencies = [ + "anyhow", + "crossbeam", + "notify", + "red_knot_module_resolver", + "red_knot_python_semantic", + "ruff_db", + "ruff_python_ast", + "rustc-hash 2.0.0", + "salsa", + "tracing", +] + [[package]] name = "redox_syscall" version = "0.4.1" @@ -1993,7 +2093,7 @@ dependencies = [ [[package]] name = "ruff" -version = "0.5.5" +version = "0.5.6" dependencies = [ "anyhow", "argfile", @@ -2048,10 +2148,9 @@ name = "ruff_benchmark" version = "0.0.0" dependencies = [ "codspeed-criterion-compat", - "criterion", "mimalloc", "once_cell", - "red_knot", + "red_knot_workspace", "ruff_db", "ruff_linter", "ruff_python_ast", @@ -2088,6 +2187,8 @@ dependencies = [ "filetime", "ignore", "insta", + "matchit", + "path-slash", "ruff_cache", "ruff_notebook", "ruff_python_ast", @@ -2178,7 +2279,7 @@ dependencies = [ [[package]] name = "ruff_linter" -version = "0.5.5" +version = "0.5.6" dependencies = [ "aho-corasick", "annotate-snippets 0.9.2", @@ -2232,6 +2333,7 @@ dependencies = [ "thiserror", "toml", "typed-arena", + "unicode-normalization", "unicode-width", "unicode_names2", "url", @@ -2401,13 +2503,17 @@ version = "0.0.0" dependencies = [ "bitflags 2.6.0", "is-macro", + "ruff_cache", "ruff_index", + "ruff_macros", "ruff_python_ast", "ruff_python_parser", "ruff_python_stdlib", "ruff_source_file", "ruff_text_size", "rustc-hash 2.0.0", + "schemars", + "serde", ] [[package]] @@ -2493,7 +2599,7 @@ dependencies = [ [[package]] name = "ruff_wasm" -version = "0.5.5" +version = "0.5.6" dependencies = [ "console_error_panic_hook", "console_log", @@ -2540,6 +2646,7 @@ dependencies = [ "ruff_macros", "ruff_python_ast", "ruff_python_formatter", + "ruff_python_semantic", "ruff_source_file", "rustc-hash 2.0.0", "schemars", @@ -2632,25 +2739,34 @@ checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" [[package]] name = "salsa" version = "0.18.0" -source = "git+https://github.com/salsa-rs/salsa.git?rev=a1bf3a613f451af7fc0a59411c56abc47fe8e8e1#a1bf3a613f451af7fc0a59411c56abc47fe8e8e1" +source = "git+https://github.com/MichaReiser/salsa.git?rev=0cae5c52a3240172ef0be5c9d19e63448c53397c#0cae5c52a3240172ef0be5c9d19e63448c53397c" dependencies = [ "arc-swap", + "boomphf", "crossbeam", - "dashmap 5.5.3", + "dashmap 6.0.1", "hashlink", "indexmap", - "log", + "orx-concurrent-vec", "parking_lot", - "rustc-hash 1.1.0", + "rustc-hash 2.0.0", + "salsa-macro-rules", "salsa-macros", "smallvec", + "tracing", ] +[[package]] +name = "salsa-macro-rules" +version = "0.1.0" +source = "git+https://github.com/MichaReiser/salsa.git?rev=0cae5c52a3240172ef0be5c9d19e63448c53397c#0cae5c52a3240172ef0be5c9d19e63448c53397c" + [[package]] name = "salsa-macros" version = "0.18.0" -source = "git+https://github.com/salsa-rs/salsa.git?rev=a1bf3a613f451af7fc0a59411c56abc47fe8e8e1#a1bf3a613f451af7fc0a59411c56abc47fe8e8e1" +source = "git+https://github.com/MichaReiser/salsa.git?rev=0cae5c52a3240172ef0be5c9d19e63448c53397c#0cae5c52a3240172ef0be5c9d19e63448c53397c" dependencies = [ + "heck", "proc-macro2", "quote", "syn", @@ -2752,11 +2868,12 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.120" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" +checksum = "4ab380d7d9f22ef3f21ad3e6c1ebe8e4fc7a2000ccba2e4d71fc96f15b2cb609" dependencies = [ "itoa", + "memchr", "ryu", "serde", ] @@ -2774,9 +2891,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.6" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" +checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" dependencies = [ "serde", ] @@ -3077,9 +3194,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "toml" -version = "0.8.15" +version = "0.8.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac2caab0bf757388c6c0ae23b3293fdb463fee59434529014f85e3263b995c28" +checksum = "81967dd0dd2c1ab0bc3468bd7caecc32b8a4aa47d0c8c695d8c2b2108168d62c" dependencies = [ "serde", "serde_spanned", @@ -3089,18 +3206,18 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.6" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" +checksum = "f8fb9f64314842840f1d940ac544da178732128f1c78c21772e876579e0da1db" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.22.16" +version = "0.22.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "278f3d518e152219c994ce877758516bca5e118eaed6996192a774fb9fbf0788" +checksum = "8d9f8729f5aea9562aac1cc0441f5d6de3cff1ee0c5d67293eeca5eb36ee7c16" dependencies = [ "indexmap", "serde", @@ -3747,6 +3864,15 @@ version = "0.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904" +[[package]] +name = "wyhash" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf6e163c25e3fac820b4b453185ea2dea3b6a3e0a721d4d23d75bd33734c295" +dependencies = [ + "rand_core", +] + [[package]] name = "yansi" version = "0.5.1" diff --git a/pkgs/development/tools/ruff/default.nix b/pkgs/development/tools/ruff/default.nix index 499c3c8819c2..03146b089d8c 100644 --- a/pkgs/development/tools/ruff/default.nix +++ b/pkgs/development/tools/ruff/default.nix @@ -13,20 +13,20 @@ rustPlatform.buildRustPackage rec { pname = "ruff"; - version = "0.5.5"; + version = "0.5.6"; src = fetchFromGitHub { owner = "astral-sh"; repo = "ruff"; rev = "refs/tags/${version}"; - hash = "sha256-dqfK6YdAV4cdUYB8bPE9I5FduBJ90RxUA7TMvcVq6Zw="; + hash = "sha256-70EEdr6gjdE8kjgMXYzHpqCzt4E73/Gr7ksNEbLlBoA="; }; cargoLock = { lockFile = ./Cargo.lock; outputHashes = { "lsp-types-0.95.1" = "sha256-8Oh299exWXVi6A39pALOISNfp8XBya8z+KT/Z7suRxQ="; - "salsa-0.18.0" = "sha256-gcaAsrrJXrWOIHUnfBwwuTBG1Mb+lUEmIxSGIVLhXaM="; + "salsa-0.18.0" = "sha256-y5PuGeQNUHLhU8YY9wPbGk71eNZ0aM0Xpvwfyf+UZwM="; }; }; @@ -64,12 +64,15 @@ rustPlatform.buildRustPackage rec { "--skip=directory_moved_to_trash" "--skip=directory_moved_to_workspace" "--skip=directory_renamed" + "--skip=hard_links_in_workspace" + "--skip=hard_links_to_target_outside_workspace" "--skip=move_file_to_trash" "--skip=move_file_to_workspace" "--skip=new_file" "--skip=new_ignored_file" "--skip=rename_file" "--skip=search_path" + "--skip=unix::symlink_inside_workspace" ]; meta = { diff --git a/pkgs/servers/asterisk/versions.json b/pkgs/servers/asterisk/versions.json index e11a27cf5544..43087f71406e 100644 --- a/pkgs/servers/asterisk/versions.json +++ b/pkgs/servers/asterisk/versions.json @@ -1,14 +1,14 @@ { "asterisk_18": { - "sha256": "a46a85f676ea820f9c3c550c7caa8d9515e7754512740768a1336a82e8cf6162", - "version": "18.23.1" + "sha256": "ddbaf55c222503fa393f3ff3e3d3d193c644e8eddcfba3e6d1d3c597869d9fed", + "version": "18.24.0" }, "asterisk_20": { - "sha256": "fa498b6224e8c262de6840a67e00e3747e178fcefd9fb2595885d402ca3248f5", - "version": "20.8.1" + "sha256": "1a783adbd7c3d96439ee1ca0ca5b1421ee809be5948ac6960021c0ad8c19679c", + "version": "20.9.0" }, "asterisk_21": { - "sha256": "cf59196b94851fbfdbcc63d1d6a8d2b83a4ae093c89c3d37b5d460b3a3d20f15", - "version": "21.3.1" + "sha256": "dfa4f8262461d40480cbd6cc4f7abf5f61fcfdf358f360fed18bcd1f61a16880", + "version": "21.4.0" } } diff --git a/pkgs/servers/nextcloud/packages/28.json b/pkgs/servers/nextcloud/packages/28.json index 8d9c791ebce7..c0da5361f55c 100644 --- a/pkgs/servers/nextcloud/packages/28.json +++ b/pkgs/servers/nextcloud/packages/28.json @@ -10,9 +10,9 @@ ] }, "calendar": { - "hash": "sha256-BcAlsrM9AExRau8ub6+V5ctSWTDmzWHekbNlTf+AZxc=", - "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.13/calendar-v4.7.13.tar.gz", - "version": "4.7.13", + "hash": "sha256-qToUgtGGwr8h5me95TxxCk3o/rsYD0yasqV4Kz/pbCA=", + "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.14/calendar-v4.7.14.tar.gz", + "version": "4.7.14", "description": "The Calendar app is a user interface for Nextcloud's CalDAV server. Easily sync events from various devices with your Nextcloud and edit them online.\n\n* πŸš€ **Integration with other Nextcloud apps!** Currently Contacts - more to come.\n* 🌐 **WebCal Support!** Want to see your favorite team’s matchdays in your calendar? No problem!\n* πŸ™‹ **Attendees!** Invite people to your events\n* ⌚️ **Free/Busy!** See when your attendees are available to meet\n* ⏰ **Reminders!** Get alarms for events inside your browser and via email\n* πŸ” Search! Find your events at ease\n* β˜‘οΈ Tasks! See tasks with a due date directly in the calendar\n* πŸ™ˆ **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.", "homepage": "https://github.com/nextcloud/calendar/", "licenses": [ @@ -250,9 +250,9 @@ ] }, "richdocuments": { - "hash": "sha256-GtjSEiYrZPYq7fPfKuilxPvScONAPI83cqdAor6/+oo=", - "url": "https://github.com/nextcloud-releases/richdocuments/releases/download/v8.3.8/richdocuments-v8.3.8.tar.gz", - "version": "8.3.8", + "hash": "sha256-OrlbwMjoB8MGemB85xHa4otfB1PpriUxjYp+wbswR7s=", + "url": "https://github.com/nextcloud-releases/richdocuments/releases/download/v8.3.9/richdocuments-v8.3.9.tar.gz", + "version": "8.3.9", "description": "This application can connect to a Collabora Online (or other) server (WOPI-like Client). Nextcloud is the WOPI Host. Please read the documentation to learn more about that.\n\nYou can also edit your documents off-line with the Collabora Office app from the **[Android](https://play.google.com/store/apps/details?id=com.collabora.libreoffice)** and **[iOS](https://apps.apple.com/us/app/collabora-office/id1440482071)** store.", "homepage": "https://collaboraoffice.com/", "licenses": [ diff --git a/pkgs/servers/nextcloud/packages/29.json b/pkgs/servers/nextcloud/packages/29.json index 5eea43b2d1e5..e37484a84d60 100644 --- a/pkgs/servers/nextcloud/packages/29.json +++ b/pkgs/servers/nextcloud/packages/29.json @@ -10,9 +10,9 @@ ] }, "calendar": { - "hash": "sha256-BcAlsrM9AExRau8ub6+V5ctSWTDmzWHekbNlTf+AZxc=", - "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.13/calendar-v4.7.13.tar.gz", - "version": "4.7.13", + "hash": "sha256-qToUgtGGwr8h5me95TxxCk3o/rsYD0yasqV4Kz/pbCA=", + "url": "https://github.com/nextcloud-releases/calendar/releases/download/v4.7.14/calendar-v4.7.14.tar.gz", + "version": "4.7.14", "description": "The Calendar app is a user interface for Nextcloud's CalDAV server. Easily sync events from various devices with your Nextcloud and edit them online.\n\n* πŸš€ **Integration with other Nextcloud apps!** Currently Contacts - more to come.\n* 🌐 **WebCal Support!** Want to see your favorite team’s matchdays in your calendar? No problem!\n* πŸ™‹ **Attendees!** Invite people to your events\n* ⌚️ **Free/Busy!** See when your attendees are available to meet\n* ⏰ **Reminders!** Get alarms for events inside your browser and via email\n* πŸ” Search! Find your events at ease\n* β˜‘οΈ Tasks! See tasks with a due date directly in the calendar\n* πŸ™ˆ **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.", "homepage": "https://github.com/nextcloud/calendar/", "licenses": [ @@ -140,8 +140,8 @@ ] }, "maps": { - "hash": "sha256-BmXs6Oepwnm+Cviy4awm3S8P9AiJTt1BnAQNb4TxVYE=", - "url": "https://github.com/nextcloud/maps/releases/download/v1.4.0/maps-1.4.0.tar.gz", + "hash": "sha256-FmRhpPRpMnCHkJFaVvQuR6Y7Pd7vpP+tUVih919g/fQ=", + "url": "https://github.com/nextcloud/maps/releases/download/v1.4.0-1-nightly/maps-1.4.0-1-nightly.tar.gz", "version": "1.4.0", "description": "**The whole world fits inside your cloud!**\n\n- **πŸ—Ί Beautiful map:** Using [OpenStreetMap](https://www.openstreetmap.org) and [Leaflet](https://leafletjs.com), you can choose between standard map, satellite, topographical, dark mode or even watercolor! 🎨\n- **⭐ Favorites:** Save your favorite places, privately! Sync with [GNOME Maps](https://github.com/nextcloud/maps/issues/30) and mobile apps is planned.\n- **🧭 Routing:** Possible using either [OSRM](http://project-osrm.org), [GraphHopper](https://www.graphhopper.com) or [Mapbox](https://www.mapbox.com).\n- **πŸ–Ό Photos on the map:** No more boring slideshows, just show directly where you were!\n- **πŸ™‹ Contacts on the map:** See where your friends live and plan your next visit.\n- **πŸ“± Devices:** Lost your phone? Check the map!\n- **γ€° Tracks:** Load GPS tracks or past trips. Recording with [PhoneTrack](https://f-droid.org/en/packages/net.eneiluj.nextcloud.phonetrack/) or [OwnTracks](https://owntracks.org) is planned.", "homepage": "https://github.com/nextcloud/maps", @@ -250,9 +250,9 @@ ] }, "richdocuments": { - "hash": "sha256-ErJ5Hi2aDQATE6dUasfgbxxYzvsk8Unlz3vT92vPcUg=", - "url": "https://github.com/nextcloud-releases/richdocuments/releases/download/v8.4.3/richdocuments-v8.4.3.tar.gz", - "version": "8.4.3", + "hash": "sha256-uTY8li9cIBd/0/k9UAcoTboPNnvb66+6vB3nlplLY1E=", + "url": "https://github.com/nextcloud-releases/richdocuments/releases/download/v8.4.4/richdocuments-v8.4.4.tar.gz", + "version": "8.4.4", "description": "This application can connect to a Collabora Online (or other) server (WOPI-like Client). Nextcloud is the WOPI Host. Please read the documentation to learn more about that.\n\nYou can also edit your documents off-line with the Collabora Office app from the **[Android](https://play.google.com/store/apps/details?id=com.collabora.libreoffice)** and **[iOS](https://apps.apple.com/us/app/collabora-office/id1440482071)** store.", "homepage": "https://collaboraoffice.com/", "licenses": [ diff --git a/pkgs/servers/teleport/generic.nix b/pkgs/servers/teleport/generic.nix index 003f0b79320f..caf345d944b3 100644 --- a/pkgs/servers/teleport/generic.nix +++ b/pkgs/servers/teleport/generic.nix @@ -181,12 +181,6 @@ buildGoModule rec { platforms = platforms.unix; # go-libfido2 is broken on platforms with less than 64-bit because it defines an array # which occupies more than 31 bits of address space. - broken = stdenv.hostPlatform.parsed.cpu.bits < 64 || - # See comment about wasm32-unknown-unknown in rustc.nix. - # version 15 is the first that starts to use wasm - (lib.versionAtLeast version "15") && ( - lib.any (a: lib.hasAttr a stdenv.hostPlatform.gcc) [ "cpu" "float-abi" "fpu" ] || - !stdenv.hostPlatform.gcc.thumb or true - ); + broken = stdenv.hostPlatform.parsed.cpu.bits < 64; }; } diff --git a/pkgs/tools/admin/qovery-cli/default.nix b/pkgs/tools/admin/qovery-cli/default.nix index 309dd8184ee8..e6bbc47d42b3 100644 --- a/pkgs/tools/admin/qovery-cli/default.nix +++ b/pkgs/tools/admin/qovery-cli/default.nix @@ -9,16 +9,16 @@ buildGoModule rec { pname = "qovery-cli"; - version = "0.97.0"; + version = "1.1.0"; src = fetchFromGitHub { owner = "Qovery"; repo = "qovery-cli"; rev = "refs/tags/v${version}"; - hash = "sha256-DfRZU3hOgVM1J5m2Kqgofm/mERqc13c31J9wbTyV67Y="; + hash = "sha256-4ltABwLWP/KfJ+xApshVz+U4tbAlXf0SLrK84xe76zo="; }; - vendorHash = "sha256-maeoEs6He4Qb4EOYCx44Ly8713NFn/5qWgNjb1s2ajw="; + vendorHash = "sha256-z7O0IAXGCXV63WjaRG+7c7q/rlqkV12XWNLhsduvk6s="; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/tools/archivers/undmg/default.nix b/pkgs/tools/archivers/undmg/default.nix index 9fe61d594416..a2b0bf006c83 100644 --- a/pkgs/tools/archivers/undmg/default.nix +++ b/pkgs/tools/archivers/undmg/default.nix @@ -1,30 +1,47 @@ -{ lib, stdenv, fetchFromGitHub, zlib, bzip2, lzfse, pkg-config }: +{ + lib, + stdenv, + fetchFromGitHub, + zlib, + bzip2, + lzfse, + xz, + pkg-config, +}: -stdenv.mkDerivation rec { - version = "1.1.0"; +stdenv.mkDerivation { pname = "undmg"; + version = "1.1.0-unstable-2024-08-02"; src = fetchFromGitHub { owner = "matthewbauer"; repo = "undmg"; - rev = "v${version}"; - sha256 = "0rb4h89jrl04vwf6p679ipa4mp95hzmc1ca11wqbanv3xd1kcpxm"; + rev = "0d92602b694f810fa4b137d87c743f345b303a14"; + hash = "sha256-eLxI3enf8EAgQePXvWxw8kOMr7KP2Q1Rsxy++v16zQI="; }; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ zlib bzip2 lzfse ]; + buildInputs = [ + zlib + bzip2 + lzfse + xz + ]; setupHook = ./setup-hook.sh; makeFlags = [ "PREFIX=$(out)" ]; - meta = with lib; { - homepage = "https://github.com/matthewbauer/undmg"; + meta = { description = "Extract a DMG file"; - license = licenses.gpl3; - platforms = platforms.all; - maintainers = with maintainers; [ matthewbauer lnl7 ]; + homepage = "https://github.com/matthewbauer/undmg"; + license = lib.licenses.gpl3; mainProgram = "undmg"; + maintainers = with lib.maintainers; [ + matthewbauer + lnl7 + ]; + platforms = lib.platforms.all; }; } diff --git a/pkgs/tools/misc/timetagger_cli/default.nix b/pkgs/tools/misc/timetagger_cli/default.nix index cea0a53c79de..576b0b55e57c 100644 --- a/pkgs/tools/misc/timetagger_cli/default.nix +++ b/pkgs/tools/misc/timetagger_cli/default.nix @@ -5,14 +5,14 @@ python3.pkgs.buildPythonApplication rec { pname = "timetagger_cli"; - version = "23.8.3"; + version = "24.7.1"; format = "setuptools"; src = fetchFromGitHub { owner = "almarklein"; repo = "timetagger_cli"; rev = "refs/tags/v${version}"; - hash = "sha256-vOpwMR7/EGf/l5KvlHn7mQ1vGGZ1Whd5x2uxLV9nCbk="; + hash = "sha256-PEuSFDkBqDegZD0Nh8jRJ/zm/6vT2lq7/llbXBvojkc="; }; propagatedBuildInputs = with python3.pkgs; [ diff --git a/pkgs/tools/security/httpx/default.nix b/pkgs/tools/security/httpx/default.nix index 78baf6fc0556..d7f6ca141def 100644 --- a/pkgs/tools/security/httpx/default.nix +++ b/pkgs/tools/security/httpx/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "httpx"; - version = "1.6.6"; + version = "1.6.7"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = "httpx"; rev = "refs/tags/v${version}"; - hash = "sha256-8sJ1Slbgh3P+KYAnnvqHFDQqYt1xhzEV0hnzQN62fFE="; + hash = "sha256-u62stmQsTtWziuCAsFkG4a3c6eWI9sYgDiwHmoHU2y4="; }; - vendorHash = "sha256-RDP3dstIxqOEgHqvcakQYtuRQblMEK/Kq+p7a5/kQdI="; + vendorHash = "sha256-EIX7fs2nr6OsVvRxLxO0QjGjEPXqzl861KoxAvPB4VY="; subPackages = [ "cmd/httpx" ]; diff --git a/pkgs/tools/text/difftastic/Cargo.lock b/pkgs/tools/text/difftastic/Cargo.lock index efbd4ceb3605..2620b6b0993b 100644 --- a/pkgs/tools/text/difftastic/Cargo.lock +++ b/pkgs/tools/text/difftastic/Cargo.lock @@ -211,7 +211,7 @@ checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" [[package]] name = "difftastic" -version = "0.59.0" +version = "0.60.0" dependencies = [ "assert_cmd", "bumpalo", diff --git a/pkgs/tools/text/difftastic/default.nix b/pkgs/tools/text/difftastic/default.nix index 119b2cefb304..e8e333cc6539 100644 --- a/pkgs/tools/text/difftastic/default.nix +++ b/pkgs/tools/text/difftastic/default.nix @@ -17,13 +17,13 @@ let in rustPlatform.buildRustPackage rec { pname = "difftastic"; - version = "0.59.0"; + version = "0.60.0"; src = fetchFromGitHub { owner = "wilfred"; repo = pname; rev = version; - hash = "sha256-cy5IBovU/TDYK6UGlSn3s7MQ9LnX/d0eUJlNdaibG44="; + hash = "sha256-eIHwmSCAY9Fn9Du7DJxZyGqJ3SUEyZ6VEtwxphGnSHw="; }; cargoLock = { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 553bb6794a9d..a529941abd26 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30466,8 +30466,6 @@ with pkgs; imlib2 = imlib2Full; }; - feishin = callPackage ../applications/audio/feishin { }; - feishu = callPackage ../applications/networking/instant-messengers/feishu { }; filezilla = darwin.apple_sdk_11_0.callPackage ../applications/networking/ftp/filezilla { diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e03d18b47b2f..a97bd5fd53d9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5605,6 +5605,8 @@ self: super: with self; { homepluscontrol = callPackage ../development/python-modules/homepluscontrol { }; + homf = callPackage ../development/python-modules/homf { }; + hoomd-blue = callPackage ../development/python-modules/hoomd-blue { }; hopcroftkarp = callPackage ../development/python-modules/hopcroftkarp { };