Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-02-07 06:01:02 +00:00 committed by GitHub
commit 966fd30804
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
22 changed files with 4557 additions and 35 deletions

4
.github/CODEOWNERS vendored
View File

@ -67,8 +67,8 @@
/nixos/lib/make-disk-image.nix @raitobezarius
# Nix, the package manager
pkgs/tools/package-management/nix/ @raitobezarius
nixos/modules/installer/tools/nix-fallback-paths.nix @raitobezarius
pkgs/tools/package-management/nix/ @raitobezarius @ma27
nixos/modules/installer/tools/nix-fallback-paths.nix @raitobezarius @ma27
# Nixpkgs documentation
/maintainers/scripts/db-to-md.sh @jtojnar @ryantm

View File

@ -2329,6 +2329,12 @@
fingerprint = "D35E C9CE E631 638F F1D8 B401 6F0E 410D C3EE D02";
}];
};
benhiemer = {
name = "Benedikt Hiemer";
email = "ben.email@posteo.de";
github = "benhiemer";
githubId = 16649926;
};
benjaminedwardwebb = {
name = "Ben Webb";
email = "benjaminedwardwebb@gmail.com";
@ -14499,6 +14505,12 @@
githubId = 72527881;
name = "PassiveLemon";
};
patka = {
email = "patka@patka.dev";
github = "patka-123";
githubId = 69802930;
name = "patka";
};
patricksjackson = {
email = "patrick@jackson.dev";
github = "patricksjackson";

View File

@ -9,11 +9,11 @@
stdenvNoCC.mkDerivation rec {
pname = "camunda-modeler";
version = "5.18.0";
version = "5.19.0";
src = fetchurl {
url = "https://github.com/camunda/camunda-modeler/releases/download/v${version}/camunda-modeler-${version}-linux-x64.tar.gz";
hash = "sha256-f7XYcFleEe1f6Uh6mOqfakzfWzOiQtBPhowTJUZU1MU=";
hash = "sha256-EKtdja55KFF394sHIh1C/cXxdjedBPbmHzicDVrbXCA=";
};
sourceRoot = "camunda-modeler-${version}-linux-x64";

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "last";
version = "1519";
version = "1540";
src = fetchFromGitLab {
owner = "mcfrith";
repo = "last";
rev = "refs/tags/${version}";
hash = "sha256-659YiC7NA6ottOR41jo3ayh4lwReWj46NKMhMPuebF4=";
hash = "sha256-oGGpPWWQ5EVK9n5BLQwt1Wch2Xn24B+NrKg6+VrsUMY=";
};
nativeBuildInputs = [

View File

@ -1,6 +1,7 @@
{ lib
, buildNpmPackage
, fetchurl
, git
, installShellFiles
}:
@ -20,6 +21,7 @@ buildNpmPackage rec {
'';
nativeBuildInputs = [
git
installShellFiles
];
@ -28,6 +30,7 @@ buildNpmPackage rec {
postInstall = ''
installShellCompletion --cmd gt \
--bash <($out/bin/gt completion) \
--fish <(GT_PAGER= $out/bin/gt fish) \
--zsh <(ZSH_NAME=zsh $out/bin/gt completion)
'';

4280
pkgs/by-name/pe/pest/composer.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,25 @@
{ lib, fetchFromGitHub, php }:
php.buildComposerProject (finalAttrs: {
pname = "pest";
version = "2.33.4";
src = fetchFromGitHub {
owner = "pestphp";
repo = "pest";
rev = "v${finalAttrs.version}";
hash = "sha256-9AJww0mynlacBsQvqb++vWn0vsapxFeXsA/tJJEQGFI=";
};
composerLock = ./composer.lock;
vendorHash = "sha256-Z3vmHqySLU0zRqnDoVTt6FURxtJjVOyUXlURSsO6XE8=";
meta = {
changelog = "https://github.com/pestphp/pest/releases/tag/v${finalAttrs.version}";
description = "PHP testing framework";
homepage = "https://pestphp.com";
license = lib.licenses.mit;
mainProgram = "pest";
maintainers = with lib.maintainers; [ patka ];
};
})

View File

@ -46,11 +46,11 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "go";
version = "1.22rc2";
version = "1.22.0";
src = fetchurl {
url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz";
hash = "sha256-0ZOofbgiOCHh7oke3+42yOrJugz4PkLt5keVp96Kfyc=";
hash = "sha256-TRlsPUGg1sHfxk0E48wfYIsMQ2vYe3Bgzj4jI04fTVw=";
};
strictDeps = true;

View File

@ -1,22 +1,69 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
{ lib
, stdenv
, fetchFromGitHub
, cmake
, testers
stdenv.mkDerivation rec {
, static ? stdenv.hostPlatform.isStatic
, lz4
, zlib
, zstd
}:
stdenv.mkDerivation (finalAttrs: {
pname = "c-blosc";
version = "1.21.1";
version = "1.21.5";
src = fetchFromGitHub {
owner = "Blosc";
repo = "c-blosc";
rev = "v${version}";
sha256 = "sha256-6SKEyciwDOxcbO8chvmxrLCxLkc93zxo6eH0c/lRyT8=";
rev = "v${finalAttrs.version}";
sha256 = "sha256-bz922lWiap3vMy8qS9dmXa8zUg5NJlg0bx3+/xz7QAk=";
};
# https://github.com/NixOS/nixpkgs/issues/144170
postPatch = ''
sed -i -E \
-e '/^libdir[=]/clibdir=@CMAKE_INSTALL_FULL_LIBDIR@' \
-e '/^includedir[=]/cincludedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@' \
blosc.pc.in
'';
nativeBuildInputs = [ cmake ];
buildInputs = [
lz4
zlib
zstd
];
cmakeFlags = [
"-DBUILD_STATIC=${if static then "ON" else "OFF"}"
"-DBUILD_SHARED=${if static then "OFF" else "ON"}"
"-DPREFER_EXTERNAL_LZ4=ON"
"-DPREFER_EXTERNAL_ZLIB=ON"
"-DPREFER_EXTERNAL_ZSTD=ON"
"-DBUILD_EXAMPLES=OFF"
"-DBUILD_BENCHMARKS=OFF"
"-DBUILD_TESTS=${if finalAttrs.finalPackage.doCheck then "ON" else "OFF"}"
];
doCheck = !static;
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "A blocking, shuffling and loss-less compression library";
homepage = "https://www.blosc.org";
changelog = "https://github.com/Blosc/c-blosc/releases/tag/v${version}";
pkgConfigModules = [
"blosc"
];
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ ris ];
};
}
})

View File

@ -17,7 +17,6 @@
, booleanoperations
, ufoprocessor
, ufonormalizer
, psautohint
, tqdm
, setuptools-scm
, scikit-build
@ -33,7 +32,7 @@
buildPythonPackage rec {
pname = "afdko";
version = "4.0.0+unstable-2023-11-07";
version = "4.0.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -41,8 +40,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "adobe-type-tools";
repo = pname;
rev = "6c832edbd81ecf689dbe66e840bf18ae61cf4bca";
hash = "sha256-XXkksHggUIs2O0/OSGsft8ofogcbtAa3w5JdldIAJAI=";
rev = "refs/tags/${version}";
hash = "sha256-I5GKPkbyQX8QNSZgNB3wPKdWwpx8Xkklesu1M7nhgp8=";
};
nativeBuildInputs = [
@ -93,7 +92,6 @@ buildPythonPackage rec {
mutatormath
ufoprocessor
ufonormalizer
psautohint
tqdm
];

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, aiohttp
, semver
, deepmerge
@ -11,8 +12,8 @@
buildPythonPackage rec {
pname = "blebox-uniapi";
version = "2.2.1";
format = "setuptools";
version = "2.2.2";
pyproject = true;
disabled = pythonOlder "3.9";
@ -20,14 +21,18 @@ buildPythonPackage rec {
owner = "blebox";
repo = "blebox_uniapi";
rev = "refs/tags/v${version}";
hash = "sha256-aVYk/N8dH0jc9BLQ2nZXulMCUqwEWpSX/JTiAxdn2sM=";
hash = "sha256-q1plIIcPY94zRD17srz5vMJzkk6K/xbbNIRB6zLlUo0=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" ""
--replace-fail "pytest-runner" ""
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
semver

View File

@ -0,0 +1,54 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, pythonRelaxDepsHook
, setuptools
, pytz
, websockets
, pytest-asyncio
, pytest-mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "bluecurrent-api";
version = "1.0.6";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-XHVdtkiG0ff/OY8g+W5iur7OAyhhk1UGA+XUfB2L8/o=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools
];
pythonRemoveDeps = [
"asyncio"
];
propagatedBuildInputs = [
pytz
websockets
];
pythonImportsCheck = [ "bluecurrent_api" ];
nativeCheckInputs = [
pytest-asyncio
pytest-mock
pytestCheckHook
];
meta = {
description = "Wrapper for the Blue Current websocket api";
homepage = "https://github.com/bluecurrent/HomeAssistantAPI";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "django";
version = "3.2.23";
version = "3.2.24";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Django";
inherit version;
hash = "sha256-gpaPNkDinvSnc68sKESPX3oI0AHGrAWzLQKu7mUJUIs=";
hash = "sha256-qu6fsPtOvUMRUgiHrS4zMT02iEZgf4KpoO1GHNTDWxg=";
};
patches = [

View File

@ -42,14 +42,14 @@
buildPythonPackage rec {
pname = "Django";
version = "5.0.1";
version = "5.0.2";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchPypi {
inherit pname version;
hash = "sha256-jIZZZlvG46RP7+GrCikeWj+zl5+agjC+Kd6XXlfo+FQ=";
hash = "sha256-tbsdEbJRil+RNyooLyRmL1j2Z0lmawooarBXAp9ygIA=";
};
patches = [

View File

@ -0,0 +1,47 @@
{ lib
, beautifulsoup4
, buildPythonPackage
, fetchFromGitHub
, mkdocs
, mkdocs-material
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "mkdocs-redoc-tag";
version = "0.1.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Blueswen";
repo = "mkdocs-redoc-tag";
rev = "refs/tags/v${version}";
hash = "sha256-TOGFch+Uto3qeVMaHqK8SEy0v0cKtHofoGE8T1mnBOk=";
};
propagatedBuildInputs = [
mkdocs
beautifulsoup4
];
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
mkdocs-material
pytestCheckHook
];
meta = with lib; {
description = "A MkDocs plugin supports for add Redoc UI in page";
homepage = "https://github.com/blueswen/mkdocs-redoc-tag";
changelog = "https://github.com/blueswen/mkdocs-redoc-tag/blob/v${version}/CHANGELOG";
license = licenses.mit;
maintainers = with maintainers; [ benhiemer ];
};
}

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "oci";
version = "2.118.0";
version = "2.120.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "oracle";
repo = "oci-python-sdk";
rev = "refs/tags/v${version}";
hash = "sha256-bmV2IFMh/lp7+7MMqlg9zm8VkdZE48zqf8N3+/sSkTc=";
hash = "sha256-KUiv0cNkkvaouhR2UgdMVBwrZoqCxVif71/eiyjpskI=";
};
pythonRelaxDeps = [

View File

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, aiohttp
}:
buildPythonPackage rec {
pname = "py-aosmith";
version = "1.0.6";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "bdr99";
repo = "py-aosmith";
rev = "refs/tags/${version}";
hash = "sha256-4KODe+urqYMbN0+tNwQnvO3A9Zc/Xdo4uhJErn3BYS4=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
];
pythonImportsCheck = [ "py_aosmith" ];
# upstream has no tests
doCheck = false;
meta = {
description = "Python client library for A. O. Smith water heaters";
homepage = "https://github.com/bdr99/py-aosmith";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -44,14 +44,14 @@ let
in
buildPythonPackage rec {
pname = "pymdown-extensions";
version = "10.5";
version = "10.7";
format = "pyproject";
src = fetchFromGitHub {
owner = "facelessuser";
repo = "pymdown-extensions";
rev = "refs/tags/${version}";
hash = "sha256-S9xnGzX9VHRWDfrlIVcywiyuyyxIFYitwTMdGZ2NEqo=";
hash = "sha256-jeU3mXaARToN1NZ+pcogCu70foGc5xAmijLUSfd9k9U=";
};
nativeBuildInputs = [ hatchling ];

View File

@ -183,7 +183,8 @@
"anwb_energie" = ps: with ps; [
];
"aosmith" = ps: with ps; [
]; # missing inputs: py-aosmith
py-aosmith
];
"apache_kafka" = ps: with ps; [
aiokafka
];
@ -419,7 +420,8 @@
"bloomsky" = ps: with ps; [
];
"blue_current" = ps: with ps; [
]; # missing inputs: bluecurrent-api
bluecurrent-api
];
"bluemaestro" = ps: with ps; [
aioesphomeapi
aiohttp-cors
@ -5752,6 +5754,7 @@
"androidtv_remote"
"anova"
"anthemav"
"aosmith"
"apache_kafka"
"apcupsd"
"api"
@ -5784,6 +5787,7 @@
"blackbird"
"blebox"
"blink"
"blue_current"
"bluemaestro"
"blueprint"
"bluetooth"

View File

@ -81,7 +81,7 @@ python.pkgs.buildPythonApplication rec {
# git is used in esphome/writer.py
# inetutils is used in esphome/dashboard/status/ping.py
"--prefix PATH : ${lib.makeBinPath [ platformio esptool git inetutils ]}"
"--prefix PYTHONPATH : $PYTHONPATH" # will show better error messages
"--prefix PYTHONPATH : ${python.pkgs.makePythonPath propagatedBuildInputs}" # will show better error messages
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}"
"--set ESPHOME_USE_SUBPROCESS ''"
];

View File

@ -5,7 +5,7 @@
, hash ? null
, src ? fetchFromGitHub { owner = "NixOS"; repo = "nix"; rev = version; inherit hash; }
, patches ? [ ]
, maintainers ? with lib.maintainers; [ eelco lovesegfault artturin ]
, maintainers ? with lib.maintainers; [ eelco lovesegfault artturin ma27 ]
}@args:
assert (hash == null) -> (src != null);
let

View File

@ -1575,6 +1575,8 @@ self: super: with self; {
blosc2 = callPackage ../development/python-modules/blosc2 { };
bluecurrent-api = callPackage ../development/python-modules/bluecurrent-api { };
bluemaestro-ble = callPackage ../development/python-modules/bluemaestro-ble { };
bluepy = callPackage ../development/python-modules/bluepy { };
@ -7145,6 +7147,7 @@ self: super: with self; {
mkdocs-material-extensions = callPackage ../development/python-modules/mkdocs-material/mkdocs-material-extensions.nix { };
mkdocs-minify-plugin = callPackage ../development/python-modules/mkdocs-minify-plugin { };
mkdocs-redirects = callPackage ../development/python-modules/mkdocs-redirects { };
mkdocs-redoc-tag = callPackage ../development/python-modules/mkdocs-redoc-tag { };
mkdocs-simple-hooks = callPackage ../development/python-modules/mkdocs-simple-hooks { };
mkdocs-swagger-ui-tag = callPackage ../development/python-modules/mkdocs-swagger-ui-tag { };
@ -8565,6 +8568,8 @@ self: super: with self; {
python-youtube = callPackage ../development/python-modules/python-youtube { };
py-aosmith = callPackage ../development/python-modules/py-aosmith { };
py-deprecate = callPackage ../development/python-modules/py-deprecate { };
py-ecc = callPackage ../development/python-modules/py-ecc { };