Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-04-06 18:01:06 +00:00 committed by GitHub
commit 99ff1bee7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
109 changed files with 1083 additions and 594 deletions

View File

@ -4371,6 +4371,13 @@
fingerprint = "4779 D1D5 3C97 2EAE 34A5 ED3D D8AF C4BF 0567 0F9D"; fingerprint = "4779 D1D5 3C97 2EAE 34A5 ED3D D8AF C4BF 0567 0F9D";
}]; }];
}; };
dan-theriault = {
email = "nix@theriault.codes";
github = "Dan-Theriault";
githubId = 13945563;
matrix = "@dan:matrix.org";
name = "Daniel Theriault";
};
dariof4 = { dariof4 = {
name = "dariof4"; name = "dariof4";
email = "dazedtank@gmail.com"; email = "dazedtank@gmail.com";
@ -4517,6 +4524,12 @@
githubId = 11422515; githubId = 11422515;
name = "David Sánchez"; name = "David Sánchez";
}; };
dav-wolff = {
email = "dav-wolff@outlook.com";
github = "dav-wolff";
githubId = 130931508;
name = "David Wolff";
};
dawidd6 = { dawidd6 = {
email = "dawidd0811@gmail.com"; email = "dawidd0811@gmail.com";
github = "dawidd6"; github = "dawidd6";
@ -12199,6 +12212,12 @@
githubId = 26470037; githubId = 26470037;
name = "Markus Kowalewski"; name = "Markus Kowalewski";
}; };
marmolak = {
email = "hack.robin@gmail.com";
github = "marmolak";
githubId = 1709273;
name = "Robin Hack";
};
marsam = { marsam = {
github = "marsam"; github = "marsam";
githubId = 65531; githubId = 65531;

View File

@ -381,12 +381,14 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
This means that configuration now has to be done using [environment variables](https://hexdocs.pm/livebook/readme.html#environment-variables) instead of command line arguments. This means that configuration now has to be done using [environment variables](https://hexdocs.pm/livebook/readme.html#environment-variables) instead of command line arguments.
This has the further implication that the `livebook` service configuration has changed: This has the further implication that the `livebook` service configuration has changed:
- The `erlang_node_short_name`, `erlang_node_name`, `port` and `options` configuration parameters are gone, and have been replaced with an `environment` parameter. - The `erlang_node_short_name`, `erlang_node_name`, `port` and `options` configuration parameters are gone, and have been replaced with an `environment` parameter.
Use the appropriate [environment variables](https://hexdocs.pm/livebook/readme.html#environment-variables) inside `environment` to configure the service instead. Use the appropriate [environment variables](https://hexdocs.pm/livebook/readme.html#environment-variables) inside `environment` to configure the service instead.
- The `crystal` package has been updated to 1.11.x, which has some breaking changes. - The `crystal` package has been updated to 1.11.x, which has some breaking changes.
Refer to crystal's changelog for more information. ([v1.10](https://github.com/crystal-lang/crystal/blob/master/CHANGELOG.md#1100-2023-10-09), [v1.11](https://github.com/crystal-lang/crystal/blob/master/CHANGELOG.md#1110-2024-01-08)) Refer to crystal's changelog for more information. ([v1.10](https://github.com/crystal-lang/crystal/blob/master/CHANGELOG.md#1100-2023-10-09), [v1.11](https://github.com/crystal-lang/crystal/blob/master/CHANGELOG.md#1110-2024-01-08))
- The `erlang-ls` package no longer ships the `els_dap` binary as of v0.51.0.
## Other Notable Changes {#sec-release-24.05-notable-changes} ## Other Notable Changes {#sec-release-24.05-notable-changes}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->

View File

@ -147,6 +147,9 @@ let
let let
settings = { inherit (cfg) user group; }; settings = { inherit (cfg) user group; };
in lib.nameValuePair "borgbackup-job-${name}" ({ in lib.nameValuePair "borgbackup-job-${name}" ({
# Create parent dirs separately, to ensure correct ownership.
"${config.users.users."${cfg.user}".home}/.config".d = settings;
"${config.users.users."${cfg.user}".home}/.cache".d = settings;
"${config.users.users."${cfg.user}".home}/.config/borg".d = settings; "${config.users.users."${cfg.user}".home}/.config/borg".d = settings;
"${config.users.users."${cfg.user}".home}/.cache/borg".d = settings; "${config.users.users."${cfg.user}".home}/.cache/borg".d = settings;
} // optionalAttrs (isLocalPath cfg.repo && !cfg.removableDevice) { } // optionalAttrs (isLocalPath cfg.repo && !cfg.removableDevice) {

View File

@ -16,13 +16,13 @@ let
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "psst"; pname = "psst";
version = "unstable-2024-02-11"; version = "unstable-2024-04-01";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jpochyla"; owner = "jpochyla";
repo = pname; repo = pname;
rev = "0cb4f6964b5ba771182ccfe005260a86a494ef92"; rev = "37d8da11774c6eff3d1c2902ac883dace178e832";
hash = "sha256-W+MFToyvYDQuC/8DqigvENxzJ6QGQOAeAdmdWG6+qZk="; hash = "sha256-BGIbf7jtrspFqURyy2AIYKSSkcirLgj0oUBq0CHl+2s=";
}; };
cargoLock = { cargoLock = {

View File

@ -51,7 +51,7 @@ index fcbd491..2d71ee3 100644
-pub const GIT_VERSION: &str = git_version!(); -pub const GIT_VERSION: &str = git_version!();
-pub const BUILD_TIME: &str = include!(concat!(env!("OUT_DIR"), "/build-time.txt")); -pub const BUILD_TIME: &str = include!(concat!(env!("OUT_DIR"), "/build-time.txt"));
-pub const REMOTE_URL: &str = include!(concat!(env!("OUT_DIR"), "/remote-url.txt")); -pub const REMOTE_URL: &str = include!(concat!(env!("OUT_DIR"), "/remote-url.txt"));
+pub const GIT_VERSION: &str = "0cb4f6964b5ba771182ccfe005260a86a494ef92"; +pub const GIT_VERSION: &str = "37d8da11774c6eff3d1c2902ac883dace178e832";
+pub const BUILD_TIME: &str = "1970-01-01 00:00:00"; +pub const BUILD_TIME: &str = "1970-01-01 00:00:00";
+pub const REMOTE_URL: &str = "https://github.com/jpochyla/psst"; +pub const REMOTE_URL: &str = "https://github.com/jpochyla/psst";

View File

@ -26,6 +26,7 @@ let
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-IWTo/P9JRxBQlhtcH3JMJZZrwAA8EALF4dtHajWUc4w="; hash = "sha256-IWTo/P9JRxBQlhtcH3JMJZZrwAA8EALF4dtHajWUc4w=";
}; };
doCheck = false; # no tests
}); });
dataclasses-json = super.dataclasses-json.overridePythonAttrs (oldAttrs: rec { dataclasses-json = super.dataclasses-json.overridePythonAttrs (oldAttrs: rec {

View File

@ -22,11 +22,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "clightning"; pname = "clightning";
version = "24.02.1"; version = "24.02.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip"; url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip";
sha256 = "sha256-cz4rQUEaWILZMxmIP4V15pWf4zow5PDeWJzn5FEaUSs="; sha256 = "sha256-KQS/4VmUxJkNpvPcxL5Up9f25leiPzvi2AiKuzRQmDo=";
}; };
# when building on darwin we need dawin.cctools to provide the correct libtool # when building on darwin we need dawin.cctools to provide the correct libtool

View File

@ -14,13 +14,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "monero-gui"; pname = "monero-gui";
version = "0.18.3.2"; version = "0.18.3.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "monero-project"; owner = "monero-project";
repo = "monero-gui"; repo = "monero-gui";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-7/pJcEWc7zujegBnlRDMOfYpVuUDMGsQO805nYgN5PY="; hash = "sha256-6qadBm4bPui11OVY1tLFcHsfswXWBFiJvutIsF6EfX8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -2,12 +2,12 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "fluidd"; pname = "fluidd";
version = "1.29.0"; version = "1.29.1";
src = fetchurl { src = fetchurl {
name = "fluidd-v${version}.zip"; name = "fluidd-v${version}.zip";
url = "https://github.com/cadriel/fluidd/releases/download/v${version}/fluidd.zip"; url = "https://github.com/cadriel/fluidd/releases/download/v${version}/fluidd.zip";
sha256 = "sha256-MVrvuVt7HDutxb6c4BpRWH+cEeszc7wenuFtGThcU0Y="; sha256 = "sha256-Zh/H1XAUcFl20yPLt9uIqBLDvUH8ATL9g6oFwvyhkzw=";
}; };
nativeBuildInputs = [ unzip ]; nativeBuildInputs = [ unzip ];

View File

@ -15,14 +15,14 @@
buildGoModule rec { buildGoModule rec {
inherit pname; inherit pname;
version = "2.6.3"; version = "2.6.4";
tags = lib.optionals enableGateway [ "gateway" ]; tags = lib.optionals enableGateway [ "gateway" ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kumahq"; owner = "kumahq";
repo = "kuma"; repo = "kuma";
rev = version; rev = version;
hash = "sha256-m/mCnX/VFUPd3+DY+7znes55myIiJ8+T51NPcgWOiZc="; hash = "sha256-SkZXrYw6Svd9RAu8CI+p+6qm2OHhEjpNiD/Xvse9jVU=";
}; };
vendorHash = "sha256-otrm8avM35/8WqjSO8V8hMAzsh51unyrMVDv4321xoY="; vendorHash = "sha256-otrm8avM35/8WqjSO8V8hMAzsh51unyrMVDv4321xoY=";

View File

@ -5,13 +5,13 @@
buildGoModule rec { buildGoModule rec {
pname = "terragrunt"; pname = "terragrunt";
version = "0.55.20"; version = "0.56.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gruntwork-io"; owner = "gruntwork-io";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-F1+V99MxwPmtF4QHQ6/T1d8ss33R5qZOOP0B+xnGgzI="; hash = "sha256-FbuXdng2pGd1Wi4GdFzQjk4quP5yz3APNXm6dcfGO7U=";
}; };
vendorHash = "sha256-ijAg0Y/dfNxDS/Jov7QYjlTZ4N4/jDMH/zCV0jdVXRc="; vendorHash = "sha256-ijAg0Y/dfNxDS/Jov7QYjlTZ4N4/jDMH/zCV0jdVXRc=";

View File

@ -20,13 +20,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "abaddon"; pname = "abaddon";
version = "0.2.0"; version = "0.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "uowuo"; owner = "uowuo";
repo = "abaddon"; repo = "abaddon";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Gl4BI+bkYuc5RtClfTth+WQ4EVYCWn0xnFOaQpS7yq0="; hash = "sha256-FPhHy+4BmaoGrHGsc5o79Au9JcH5C+iWTYQYwnTLaUY=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View File

@ -1,4 +1,4 @@
{ lib, mkFranzDerivation, fetchurl, xorg, nix-update-script, stdenv }: { lib, mkFranzDerivation, fetchurl, xorg, stdenv }:
let let
arch = { arch = {
@ -6,13 +6,14 @@ let
aarch64-linux = "arm64"; aarch64-linux = "arm64";
}."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); }."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
hash = { hash = {
amd64-linux_hash = "sha256-ERAMFb69Y2kWiHIBn4ITEZJlx+YIpzqDye80vchOXl0="; amd64-linux_hash = "sha256-RH8iHqJ0Nd3wkXmv/ZGX5JeWtxyJtVLVb0tz6tnkjrw=";
arm64-linux_hash = "sha256-B3zlhxJQaDoZ69nu/dXUbY2qxJ6FAp4CqU8+TLoNwsg="; arm64-linux_hash = "sha256-0gvkabuxRqkMeyZiOSyT6C7v767+uCrsXE8qk0y0mYM=";
}."${arch}-linux_hash"; }."${arch}-linux_hash";
in mkFranzDerivation rec { in
mkFranzDerivation rec {
pname = "ferdium"; pname = "ferdium";
name = "Ferdium"; name = "Ferdium";
version = "6.7.1"; version = "6.7.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/ferdium/ferdium-app/releases/download/v${version}/Ferdium-linux-${version}-${arch}.deb"; url = "https://github.com/ferdium/ferdium-app/releases/download/v${version}/Ferdium-linux-${version}-${arch}.deb";
inherit hash; inherit hash;

View File

@ -5,11 +5,11 @@
appimageTools.wrapType2 rec { appimageTools.wrapType2 rec {
pname = "tutanota-desktop"; pname = "tutanota-desktop";
version = "220.240319.1"; version = "220.240321.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/tutao/tutanota/releases/download/tutanota-desktop-release-${version}/tutanota-desktop-linux.AppImage"; url = "https://github.com/tutao/tutanota/releases/download/tutanota-desktop-release-${version}/tutanota-desktop-linux.AppImage";
hash = "sha256-eKxCgc8i2arjtFRaSMHxnTaTnbN8a0e8ORmIf/bUFwU="; hash = "sha256-LbvldnhvKHvBEaOwkxA2acuUKMcYi16ceYPuMW73qLs=";
}; };
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.libsecret ]; extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.libsecret ];

View File

@ -5,16 +5,16 @@
buildNpmPackage rec { buildNpmPackage rec {
pname = "ungit"; pname = "ungit";
version = "1.5.25"; version = "1.5.26";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FredrikNoren"; owner = "FredrikNoren";
repo = "ungit"; repo = "ungit";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-mVBE8HW5dhi00BbVX00rgvc4JtyrTsbina18EzSUcuM="; hash = "sha256-HTo0z/y7thUrDm6ofHiUtv1UDuqGN+kpMFLuIvxyxZQ=";
}; };
npmDepsHash = "sha256-DftAovQPKi4hLeqAGCVN8u/9eC4mkTxTJ2WxxOHbkgM="; npmDepsHash = "sha256-f/CtNYoy5ZOgdVTG2ZdBpXOSNUKSG5wCy0eIl4ov80U=";
env = { env = {
ELECTRON_SKIP_BINARY_DOWNLOAD = true; ELECTRON_SKIP_BINARY_DOWNLOAD = true;

View File

@ -6,14 +6,14 @@
}: }:
buildLua (finalAttrs: { buildLua (finalAttrs: {
pname = "modernx-zydezu"; pname = "modernx-zydezu";
version = "0.2.8"; version = "0.2.9";
scriptPath = "modernx.lua"; scriptPath = "modernx.lua";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zydezu"; owner = "zydezu";
repo = "ModernX"; repo = "ModernX";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-rruscDutFyQCl5sTtQfmtYPcXKWU51/QFbghSOyMC9o="; hash = "sha256-Tq/v8EbojvOSSwbu8kdbLVxZWZNi1UH6zAPTcsUcgog";
}; };
postInstall = '' postInstall = ''

View File

@ -36,12 +36,12 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "phosh"; pname = "phosh";
version = "0.37.0"; version = "0.37.1";
src = fetchurl { src = fetchurl {
# Release tarball which includes subprojects gvc and libcall-ui # Release tarball which includes subprojects gvc and libcall-ui
url = with finalAttrs; "https://sources.phosh.mobi/releases/${pname}/${pname}-${version}.tar.xz"; url = with finalAttrs; "https://sources.phosh.mobi/releases/${pname}/${pname}-${version}.tar.xz";
hash = "sha256-kmZX2pPOYSh2hiMrRLH6744Q8rHHhE9jmG+SksepUYk="; hash = "sha256-74H4GLFIIs97iVE8IWPxS9hALkBGkcKmrMe6/uxtPuM=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -7,16 +7,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "clipcat"; pname = "clipcat";
version = "0.16.4"; version = "0.16.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "xrelkd"; owner = "xrelkd";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-gYg1czSwUm1zJUkw5SMk6C4yDfHcwjWnnHJftDLNvfs="; hash = "sha256-/YoEUZ6/aFqlIPAWi95yZHVwLXHf/vsx8L3NdmZfiVk=";
}; };
cargoHash = "sha256-e32DGV7/ueT25Lx318aGZEHRnUGxCn0J5/K3dgT02Ug="; cargoHash = "sha256-O1jL2ett8aI8lEwnhAELAP5zphjqf9CFrdCn00V5ImQ=";
nativeBuildInputs = [ nativeBuildInputs = [
protobuf protobuf

View File

@ -120,7 +120,7 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "fwupd"; pname = "fwupd";
version = "1.9.15"; version = "1.9.16";
# libfwupd goes to lib # libfwupd goes to lib
# daemon, plug-ins and libfwupdplugin go to out # daemon, plug-ins and libfwupdplugin go to out
@ -131,7 +131,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "fwupd"; owner = "fwupd";
repo = "fwupd"; repo = "fwupd";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-w0egw5FKNAOnIYjp2RUx74taivnClQmRfhaFHdKOGZc="; hash = "sha256-mM8HSSQD5znjpl9q/f+u0RzZEkFA1tnh+BPB2qdcWvI=";
}; };
patches = [ patches = [

View File

@ -0,0 +1,41 @@
{ lib, stdenv, fetchFromGitHub, nasm, unixtools }:
let
version = "10";
in
stdenv.mkDerivation {
pname = "gordonflashtool";
inherit version;
src = fetchFromGitHub {
owner = "marmolak";
repo = "GordonFlashTool";
rev = "release-${version}";
hash = "sha256-/zpw7kVdQeR7QcRsP1+qcu8+hlEQTGwOKClJkwVcBPg=";
};
nativeBuildInputs = [ nasm unixtools.xxd ];
buildPhase = ''
runHook preBuild
# build the gordon binary
make all-boot-code
runHook postBuild
'';
installPhase = ''
runHook preInstall
install -Dm755 gordon $out/bin/gordon
runHook postInstall
'';
meta = {
homepage = "https://github.com/marmolak/GordonFlashTool";
description = "Toolset for Gotek SFR1M44-U100 formatted usb flash drives.";
maintainers = with lib.maintainers; [ marmolak ];
license = lib.licenses.bsd3;
platforms = lib.platforms.all;
mainProgram = "gordon";
};
}

View File

@ -0,0 +1,29 @@
{ lib, buildGoModule, fetchFromGitHub }:
let
inherit (lib) licenses maintainers;
in
buildGoModule {
pname = "hujsonfmt";
version = "0-unstable-2022-12-23";
src = fetchFromGitHub {
owner = "tailscale";
repo = "hujson";
rev = "20486734a56a3455c47994bf4942974d6f9969a0";
hash = "sha256-j2HRs5zZ0jTIqWIRhHheO9eaGzMMkNuKXuhboq9KpB4=";
};
proxyVendor = true;
vendorHash = "sha256-cvoj85BNnm/ZX1UnXKU2HjvjQkRZ9uN3U0BnD3DmiTE=";
subPackages = [ "cmd/hujsonfmt" ];
meta = {
homepage = "https://tailscale.com";
description = "Automatic formatter for HuJSON / JSON With Comments and trailing Commas (JWCC)";
license = licenses.bsd3;
mainProgram = "hujsonfmt";
maintainers = with maintainers; [ dan-theriault ];
};
}

View File

@ -32,10 +32,10 @@
let let
# Keep these separate so the update script can regex them # Keep these separate so the update script can regex them
rpcs3GitVersion = "15726-ebf48800e"; rpcs3GitVersion = "16271-4ecf8ecd0";
rpcs3Version = "0.0.29-15726-ebf48800e"; rpcs3Version = "0.0.31-16271-4ecf8ecd0";
rpcs3Revision = "ebf48800e6bf2569fa0a59974ab2daaeb3a92f23"; rpcs3Revision = "4ecf8ecd06c15f0557e1d9243f31e4c2d7baebe2";
rpcs3Hash = "sha256-HJQ+DCZy8lwMCfq0N9StKD8bP1hCBxGMAucbQ9esy/I="; rpcs3Hash = "sha256-y7XLYo1qYYiNE4TXVxfUTCmyGkthpj3IU1gdKTgb8KY=";
inherit (qt6Packages) qtbase qtmultimedia wrapQtAppsHook qtwayland; inherit (qt6Packages) qtbase qtmultimedia wrapQtAppsHook qtwayland;
in in

View File

@ -4,7 +4,7 @@
set -eou pipefail set -eou pipefail
ROOT="$(dirname "$(readlink -f "$0")")" ROOT="$(dirname "$(readlink -f "$0")")"
if [[ ! "$(basename $ROOT)" == "rpcs3" || ! -f "$ROOT/default.nix" ]]; then if [[ ! "$(basename $ROOT)" == "rpcs3" || ! -f "$ROOT/package.nix" ]]; then
echo "ERROR: Not in the rpcs3 folder" echo "ERROR: Not in the rpcs3 folder"
exit 1 exit 1
fi fi

View File

@ -12,16 +12,16 @@
buildGoModule rec { buildGoModule rec {
pname = "stackit-cli"; pname = "stackit-cli";
version = "0.1.0-prerelease.2"; version = "0.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "stackitcloud"; owner = "stackitcloud";
repo = "stackit-cli"; repo = "stackit-cli";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-GS3ZXarhXs1xuVmiLPMrrzXnO79R1+2va0x7N7CKNjQ="; hash = "sha256-EozgdlxCfWciFg7XPDbn2vztwoAKnuQBwyg/ufGRZQ0=";
}; };
vendorHash = "sha256-Cill5hq8KVeKGRX2u9oIudi/s8XHIW5C8sgbTshrLY4="; vendorHash = "sha256-6WbY8t7Qjxq8oBF+r2rZVgAa6ZNzjHs7Nh16zJQBRdg=";
subPackages = [ "." ]; subPackages = [ "." ];

View File

@ -0,0 +1,24 @@
{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "stylance-cli";
version = "0.3.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-YQYYZxLypD5Nz8kllIaBFDoV8L2c9wzJwmszqPpjpmg=";
};
cargoHash = "sha256-ZzdLbsHRBgprdzmPVzywJx+wMMqRBsLeT84UIDMJbQM=";
meta = with lib; {
description = "A library and cli tool for working with scoped CSS in rust";
mainProgram = "stylance";
homepage = "https://github.com/basro/stylance-rs";
changelog = "https://github.com/basro/stylance-rs/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ];
maintainers = with maintainers; [ dav-wolff ];
};
}

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "VictoriaMetrics"; pname = "VictoriaMetrics";
version = "1.99.0"; version = "1.100.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-IHUmxdCOzvA2JL06k/ei6/OTVWHTL1TiKKYZB1hgqyA="; hash = "sha256-jrKTic80y8r/1wOR8Prqe9PG57yo8qQIGsobu0I4kTY=";
}; };
vendorHash = null; vendorHash = null;

View File

@ -1,34 +1,91 @@
let
artifacts = [ "shell" "lua" "font" ];
in
{ lib { lib
, stdenvNoCC , stdenvNoCC
, fetchurl , fetchurl
, common-updater-scripts
, curl
, jq
, writeShellScript
, artifactList ? artifacts
}: }:
lib.checkListOfEnum "sketchybar-app-font: artifacts" artifacts artifactList
stdenvNoCC.mkDerivation
(finalAttrs:
let
selectedSources = map (artifact: builtins.getAttr artifact finalAttrs.passthru.sources) artifactList;
in
{
pname = "sketchybar-app-font";
version = "2.0.16";
stdenvNoCC.mkDerivation (finalAttrs: { srcs = selectedSources;
pname = "sketchybar-app-font";
version = "2.0.12";
src = fetchurl { unpackPhase = ''
url = "https://github.com/kvndrsslr/sketchybar-app-font/releases/download/v${finalAttrs.version}/sketchybar-app-font.ttf"; runHook preUnpack
hash = "sha256-qACf4eWDeubBmJV0ApWidp2ESLREi5qiLliWCXoMBKY=";
};
dontUnpack = true; for s in $selectedSources; do
b=$(basename $s)
cp $s ''${b#*-}
done
installPhase = '' runHook postUnpack
runHook preInstall
install -Dm644 $src $out/share/fonts/truetype/sketchybar-app-font.ttf
runHook postInstall
'';
meta = {
description = "A ligature-based symbol font and a mapping function for sketchybar";
longDescription = ''
A ligature-based symbol font and a mapping function for sketchybar, inspired by simple-bar's usage of community-contributed minimalistic app icons.
''; '';
homepage = "https://github.com/kvndrsslr/sketchybar-app-font";
license = lib.licenses.cc0; installPhase = ''
maintainers = with lib.maintainers; [ khaneliman ]; runHook preInstall
};
}) '' + lib.optionalString (lib.elem "font" artifactList) ''
install -Dm644 ${finalAttrs.passthru.sources.font} "$out/share/fonts/truetype/sketchybar-app-font.ttf"
'' + lib.optionalString (lib.elem "shell" artifactList) ''
install -Dm755 ${finalAttrs.passthru.sources.shell} "$out/bin/icon_map.sh"
'' + lib.optionalString (lib.elem "lua" artifactList) ''
install -Dm644 ${finalAttrs.passthru.sources.lua} "$out/lib/sketchybar-app-font/icon_map.lua"
runHook postInstall
'';
passthru = {
sources = {
font = fetchurl {
url = "https://github.com/kvndrsslr/sketchybar-app-font/releases/download/v${finalAttrs.version}/sketchybar-app-font.ttf";
hash = "sha256-mZ3LmkL54NNQzXuCyWVNlAIod3T5/aGKvnLZjZ/GYdw=";
};
lua = fetchurl {
url = "https://github.com/kvndrsslr/sketchybar-app-font/releases/download/v${finalAttrs.version}/icon_map.lua";
hash = "sha256-8daDECZ8hsoyh4Rp3xbkYgPSamCylrzf8zzyu/iwZEc=";
};
shell = fetchurl {
url = "https://github.com/kvndrsslr/sketchybar-app-font/releases/download/v${finalAttrs.version}/icon_map.sh";
hash = "sha256-h0rGkzy1smDL2guvvgeUVUD0q4n9LDKDLQJahbWHgWA=";
};
};
updateScript = writeShellScript "update-sketchybar-app-font" ''
set -o errexit
export PATH="${lib.makeBinPath [ curl jq common-updater-scripts ]}"
NEW_VERSION=$(curl --silent https://api.github.com/repos/kvndrsslr/sketchybar-app-font/releases/latest | jq '.tag_name | ltrimstr("v")' --raw-output)
if [[ "${finalAttrs.version}" = "$NEW_VERSION" ]]; then
echo "The new version same as the old version."
exit 0
fi
for artifact in ${lib.escapeShellArgs (lib.mapAttrsToList(a: _: a) finalAttrs.passthru.sources)}; do
update-source-version "sketchybar-app-font" "0" "${lib.fakeHash}" --source-key="sources.$artifact"
update-source-version "sketchybar-app-font" "$NEW_VERSION" --source-key="sources.$artifact"
done
'';
};
meta = {
description = "A ligature-based symbol font and a mapping function for sketchybar";
longDescription = ''
A ligature-based symbol font and a mapping function for sketchybar, inspired by simple-bar's usage of community-contributed minimalistic app icons.
'';
homepage = "https://github.com/kvndrsslr/sketchybar-app-font";
license = lib.licenses.cc0;
maintainers = with lib.maintainers; [ khaneliman ];
};
})

View File

@ -1,6 +1,7 @@
{ lib { lib
, stdenvNoCC , stdenvNoCC
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, gtk3 , gtk3
, colloid-gtk-theme , colloid-gtk-theme
, gnome-themes-extra , gnome-themes-extra
@ -29,19 +30,27 @@ lib.checkListOfEnum "${pname}: tweaks" validTweaks tweaks
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
inherit pname; inherit pname;
version = "0.7.1"; version = "0.7.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "catppuccin"; owner = "catppuccin";
repo = "gtk"; repo = "gtk";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-V3JasiHaATbVDQJeJPeFq5sjbkQnSMbDRWsaRzGccXU="; hash = "sha256-7EvKcyh9gH/QbiXKlyAKMSBXMF3DmbHD+wJD3Sq39DE=";
}; };
nativeBuildInputs = [ gtk3 sassc ]; nativeBuildInputs = [ gtk3 sassc ];
patches = [ patches = [
./colloid-src-git-reset.patch ./colloid-src-git-reset.patch
# Can be removed next release
# Adds compatibility with the 2.x.x versions of the catppuccin python package
(fetchpatch {
name = "catppuccin-python-compatibility.patch";
url = "https://github.com/catppuccin/gtk/commit/355e12387f73b27cf4734a6a3eb431554fabb74f.patch";
hash = "sha256-4vgZbNeGMtsQEitIWDCVb5o4fAjhVu3iIUttUYqtHPc=";
})
]; ];
buildInputs = [ buildInputs = [

View File

@ -42,6 +42,8 @@ stdenv.mkDerivation {
]; ];
env = lib.optionalAttrs stdenv.isDarwin { env = lib.optionalAttrs stdenv.isDarwin {
# Ensure that there is enough space for the `fixDarwinDylibNames` hook to
# update the install names of the output dylibs.
NIX_LDFLAGS = "-headerpad_max_install_names"; NIX_LDFLAGS = "-headerpad_max_install_names";
}; };

View File

@ -1,7 +1,7 @@
{ fetchFromGitHub, fetchgit, fetchHex, rebar3Relx, buildRebar3, rebar3-proper { fetchFromGitHub, fetchgit, fetchHex, rebar3Relx, buildRebar3, rebar3-proper
, stdenv, writeScript, lib, erlang }: , stdenv, writeScript, lib, erlang }:
let let
version = "0.48.0"; version = "0.51.0";
owner = "erlang-ls"; owner = "erlang-ls";
repo = "erlang_ls"; repo = "erlang_ls";
deps = import ./rebar-deps.nix { deps = import ./rebar-deps.nix {
@ -24,7 +24,7 @@ rebar3Relx {
inherit version; inherit version;
src = fetchFromGitHub { src = fetchFromGitHub {
inherit owner repo; inherit owner repo;
sha256 = "sha256-QwsN/P2FBuhIS/vRlrdvokQS6G77kkZ2Rg5rwNc36Jg="; hash = "sha256-2gSDfYGm7XVeEn0xEwuvk8y1z8P2/q86hmNCkK6w2C0=";
rev = version; rev = version;
}; };
releaseType = "escript"; releaseType = "escript";
@ -46,11 +46,7 @@ rebar3Relx {
''; '';
# tests seem to be a bit flaky on darwin, skip them for now # tests seem to be a bit flaky on darwin, skip them for now
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
installPhase = '' installFlags = [ "PREFIX=$(out)" ];
mkdir -p $out/bin
cp _build/default/bin/erlang_ls $out/bin/
cp _build/dap/bin/els_dap $out/bin/
'';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/erlang-ls/erlang_ls"; homepage = "https://github.com/erlang-ls/erlang_ls";
description = "The Erlang Language Server"; description = "The Erlang Language Server";

View File

@ -138,12 +138,12 @@ let
}; };
erlfmt = builder { erlfmt = builder {
name = "erlfmt"; name = "erlfmt";
version = "git"; version = "1.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gomoripeti"; owner = "WhatsApp";
repo = "erlfmt"; repo = "erlfmt";
rev = "d4422d1fd79a73ef534c2bcbe5b5da4da5338833"; sha256 = "sha256-fVjEVmCnoofnfcxwBk0HI4adO0M6QOshP3uZrecZ9vM=";
sha256 = "07jp4g6a41w7318lh8ndsvgivkj0ahz3spnrsnx4cqkdb97yjaid"; rev = "v1.3.0";
}; };
beamDeps = [ ]; beamDeps = [ ];
}; };

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cista"; pname = "cista";
version = "0.14"; version = "0.15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "felixguendling"; owner = "felixguendling";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-E2B+dNFk0ssKhT9dULNFzpa8auRQ9Q0czuUjX6hxWPw="; sha256 = "sha256-+DcxnckoXVSc+gXt21fxKkx4J1khLsQPuxYH9CBRrfE=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -2,13 +2,13 @@
buildDunePackage rec { buildDunePackage rec {
pname = "metadata"; pname = "metadata";
version = "0.2.0"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "savonet"; owner = "savonet";
repo = "ocaml-metadata"; repo = "ocaml-metadata";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-sSekkyJ8D6mCCmxIyd+pBk/khaehA3BcpUQl2Gln+Ic="; sha256 = "sha256-SQ8fNl62fvoCgbIt0axQyE3Eqwl8EOtYiz3xN96al+g=";
}; };
minimalOCamlVersion = "4.14"; minimalOCamlVersion = "4.14";

View File

@ -13,13 +13,13 @@
buildDunePackage rec { buildDunePackage rec {
pname = "wayland"; pname = "wayland";
version = "2.0"; version = "2.1";
minimalOCamlVersion = "5.0"; minimalOCamlVersion = "5.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/talex5/ocaml-wayland/releases/download/v${version}/wayland-${version}.tbz"; url = "https://github.com/talex5/ocaml-wayland/releases/download/v${version}/wayland-${version}.tbz";
hash = "sha256-iCG1zk1tA7gdGGt78c3sQi0NN9Fh3HsCP4cy7Y3pg0s="; hash = "sha256-D/tTlYlU8e1O+HShIsBxqc8953rjQblj63tRPYAo88E=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -1,6 +1,5 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, buildPythonPackage , buildPythonPackage
, packaging , packaging
, setuptools , setuptools
@ -14,24 +13,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aggdraw"; pname = "aggdraw";
version = "1.3.16"; version = "1.3.18";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pytroll"; owner = "pytroll";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-2yajhuRyQ7BqghbSgPClW3inpw4TW2DhgQbomcRFx94="; hash = "sha256-dM6yLR6xsZerpqY+BMxIjrJ3fQty9CFUWhxl2zkTgRA=";
}; };
patches = [
# Removes `register` storage class specifier, which is not allowed in C++17.
(fetchpatch {
url = "https://github.com/pytroll/aggdraw/commit/157ed49803567e8c3eeb7dfeff4c116db35747f7.patch";
hash = "sha256-QSzpO90u5oSBWUzehRFbXgZ1ApEfLlfp11MUx6w11aI=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
packaging packaging
setuptools setuptools

View File

@ -2,6 +2,7 @@
, aiohttp , aiohttp
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, freezegun
, mashumaro , mashumaro
, poetry-core , poetry-core
, pyjwt , pyjwt
@ -14,7 +15,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aioautomower"; pname = "aioautomower";
version = "2024.3.3"; version = "2024.4.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -23,7 +24,7 @@ buildPythonPackage rec {
owner = "Thomas55555"; owner = "Thomas55555";
repo = "aioautomower"; repo = "aioautomower";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-ZJRc5nzp1P3X93PxGVB55VgN1HZ2kvn43LT2wYEPxSo="; hash = "sha256-W6aZdvg+EZKv0pmIaPOBaJaWipq3AENTVAVon/lFuI4=";
}; };
postPatch = '' postPatch = ''
@ -44,6 +45,7 @@ buildPythonPackage rec {
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
freezegun
pytest-asyncio pytest-asyncio
pytestCheckHook pytestCheckHook
syrupy syrupy

View File

@ -15,14 +15,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiodhcpwatcher"; pname = "aiodhcpwatcher";
version = "0.8.2"; version = "1.0.1";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bdraco"; owner = "bdraco";
repo = "aiodhcpwatcher"; repo = "aiodhcpwatcher";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-yvmCp8luR26yFYun/YY/tt+peaAL4nOR9cC6lpMiJhk="; hash = "sha256-0of+no92s9SEKG1tc9lFlWR8f5Jnf3C723goQViB6+A=";
}; };
postPatch = '' postPatch = ''

View File

@ -0,0 +1,46 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "aionut";
version = "4.3.2";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "bdraco";
repo = "aionut";
rev = "refs/tags/v${version}";
hash = "sha256-QehVC/6RbWp8KnOuVtLFkK8/STTgHXkXmFbSmzu9z7w=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail " --cov=aionut --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [ poetry-core ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aionut" ];
meta = with lib; {
description = "Asyncio Network UPS Tools";
homepage = "https://github.com/bdraco/aionut";
changelog = "https://github.com/bdraco/aionut/blob/${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1,15 +1,16 @@
{ lib {
, aiohttp lib,
, buildPythonPackage aiohttp,
, fetchFromGitHub buildPythonPackage,
, pytestCheckHook fetchFromGitHub,
, pythonOlder pytestCheckHook,
, setuptools pythonOlder,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiopvapi"; pname = "aiopvapi";
version = "3.1.0"; version = "3.1.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -18,23 +19,20 @@ buildPythonPackage rec {
owner = "sander76"; owner = "sander76";
repo = "aio-powerview-api"; repo = "aio-powerview-api";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-nJjYGPxpnbq/8XFmLKbMU71buFdaNUj7PQES5FnlN3o="; hash = "sha256-WtTqtVr1oL86dpsAIK55pbXWU4X/cajVLlggd6hfM4c=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = [ dependencies = [ aiohttp ];
aiohttp
];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "aiopvapi" ];
"aiopvapi"
disabledTests = [
# AssertionError
"test_remove_shade_from_scene"
]; ];
meta = with lib; { meta = with lib; {

View File

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "axis"; pname = "axis";
version = "58"; version = "60";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "Kane610"; owner = "Kane610";
repo = "axis"; repo = "axis";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-6Mxthf37PtJSWsi+Ok0zBezTJLPwVoc8S1ZdQE57BEI="; hash = "sha256-MBiifETNfWq3TYCGPETDreiMZsrUdb79QvTG5wbVMJU=";
}; };
postPatch = '' postPatch = ''

View File

@ -1,4 +1,5 @@
{ lib { lib
, async-timeout
, buildPythonPackage , buildPythonPackage
, click , click
, click-log , click-log
@ -30,21 +31,23 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace '"setuptools-git-versioning<2"' "" \ --replace-fail '"setuptools-git-versioning<2"' "" \
--replace 'dynamic = ["version"]' 'version = "${version}"' --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
''; '';
nativeBuildInputs = [ build-system = [
setuptools setuptools
]; ];
propagatedBuildInputs = [ dependencies = [
click click
click-log click-log
pure-pcapy3 pure-pcapy3
pyserial-asyncio pyserial-asyncio
voluptuous voluptuous
zigpy zigpy
] ++ lib.optionals (pythonOlder "3.11") [
async-timeout
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
@ -59,10 +62,10 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python module to implement EZSP for EmberZNet devices"; description = "Python module to implement EZSP for EmberZNet devices";
mainProgram = "bellows";
homepage = "https://github.com/zigpy/bellows"; homepage = "https://github.com/zigpy/bellows";
changelog = "https://github.com/zigpy/bellows/releases/tag/${version}"; changelog = "https://github.com/zigpy/bellows/releases/tag/${version}";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ mvnetbiz ]; maintainers = with maintainers; [ mvnetbiz ];
mainProgram = "bellows";
}; };
} }

View File

@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "brother"; pname = "brother";
version = "4.0.2"; version = "4.1.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "bieniu"; owner = "bieniu";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-n1CIozKuF0+N8Vg3QA2jy5xNLDBJPdnhVT/xg1R+t90="; hash = "sha256-W7bakj/94l0pL5fOb+CK+Z6k1cbv/CY9XjXGYZfLFY4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -10,10 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "catppuccin"; pname = "catppuccin";
version = "1.3.2"; version = "2.2.0";
# Note: updating to later versions breaks catppuccin-gtk
# It would be ideal to only update this after catppuccin-gtk
# gets support for the newer version
pyproject = true; pyproject = true;
@ -21,7 +18,7 @@ buildPythonPackage rec {
owner = "catppuccin"; owner = "catppuccin";
repo = "python"; repo = "python";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-spPZdQ+x3isyeBXZ/J2QE6zNhyHRfyRQGiHreuXzzik="; hash = "sha256-+V1rln3FlFvs1FEIANIch7k/b2EsI9xBxhg3Bwg99+I=";
}; };
build-system = [ build-system = [
@ -38,11 +35,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
] ++ lib.flatten (lib.attrValues optional-dependencies); ] ++ lib.flatten (lib.attrValues optional-dependencies);
# can be removed next version
disabledTestPaths = [
"tests/test_flavour.py" # would download a json to check correctness of flavours
];
pythonImportsCheck = [ "catppuccin" ]; pythonImportsCheck = [ "catppuccin" ];
meta = { meta = {

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, setuptools-scm
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "eval-type-backport";
version = "0.1.3";
src = fetchFromGitHub {
owner = "alexmojaki";
repo = "eval_type_backport";
rev = "refs/tags/v${version}";
hash = "sha256-EiYJQUnK10lqjyJ89KacbZ+ZZuOmkRQ9bqTFQFN2iMA=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
description = "Like `typing._eval_type`, but lets older Python versions use newer typing features.";
homepage = "https://github.com/alexmojaki/eval_type_backport";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ perchun ];
};
}

View File

@ -0,0 +1,40 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pythonOlder,
}:
buildPythonPackage rec {
pname = "fyta-cli";
version = "0.3.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "dontinelli";
repo = "fyta_cli";
rev = "refs/tags/v${version}";
hash = "sha256-DqJR8xzR9vBowztji39UtX7UYA8hK+QYKUygPA+v33k=";
};
build-system = [ hatchling ];
dependencies = [ aiohttp ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "fyta_cli" ];
meta = with lib; {
description = "Module to access the FYTA API";
homepage = "https://github.com/dontinelli/fyta_cli";
changelog = "https://github.com/dontinelli/fyta_cli/releases/tag/v${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1,16 +1,17 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, garth fetchFromGitHub,
, pdm-backend garth,
, pythonOlder pdm-backend,
, requests pythonOlder,
, withings-sync requests,
withings-sync,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "garminconnect"; pname = "garminconnect";
version = "0.2.15"; version = "0.2.16";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.10";
@ -19,14 +20,12 @@ buildPythonPackage rec {
owner = "cyberjunky"; owner = "cyberjunky";
repo = "python-garminconnect"; repo = "python-garminconnect";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-N6PJLsT8BnjGaOLeohDo3ACOyVb/iOCw3LAXZMjwoyw="; hash = "sha256-mjFDM59fF9HpkO0a8fVW+dXYmjFxu7gn+rOrnTgN39s=";
}; };
nativeBuildInputs = [ build-system = [ pdm-backend ];
pdm-backend
];
propagatedBuildInputs = [ dependencies = [
garth garth
requests requests
withings-sync withings-sync
@ -35,9 +34,7 @@ buildPythonPackage rec {
# Tests require a token # Tests require a token
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "garminconnect" ];
"garminconnect"
];
meta = with lib; { meta = with lib; {
description = "Garmin Connect Python API wrapper"; description = "Garmin Connect Python API wrapper";

View File

@ -6,13 +6,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "memory-allocator"; pname = "memory-allocator";
version = "0.1.3"; version = "0.1.4";
format = "setuptools"; format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
pname = "memory_allocator"; pname = "memory_allocator";
hash = "sha256-E4BcKuHAG3SJ+rXo6sk2FmK08sAkEuNlLuzkj/aVMWI="; hash = "sha256-1gkhawMDGWfitFqASxL/kClXj07AGf3kLPau1soJ7+Q=";
}; };
propagatedBuildInputs = [ cython_3 ]; propagatedBuildInputs = [ cython_3 ];

View File

@ -32,7 +32,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mkdocs-material"; pname = "mkdocs-material";
version = "9.5.15"; version = "9.5.17";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -41,7 +41,7 @@ buildPythonPackage rec {
owner = "squidfunk"; owner = "squidfunk";
repo = "mkdocs-material"; repo = "mkdocs-material";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-u5XRLAh1X/Y6p6HcKMeCEeDe98tCieGdF9oxqh69ris="; hash = "sha256-r+w3Nf7mAfWiDUeOelO+ykizeqxRiKWBnbUjakXov3U=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -21,7 +21,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "moderngl-window"; pname = "moderngl-window";
version = "2.4.5"; version = "2.4.6";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = "moderngl"; owner = "moderngl";
repo = "moderngl_window"; repo = "moderngl_window";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-OfvIxezeZyuv5LLbe+4o1X2UCGnXT2DNvAF7t2Isw6Y="; hash = "sha256-zTygSXU/vQZaFCuHbRBpO9/BYYA2UOid+wvhyc2bWMI=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [

View File

@ -1,16 +1,17 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, jsonschema fetchFromGitHub,
, pytestCheckHook jsonschema,
, pythonOlder pytestCheckHook,
, requests pythonOlder,
, setuptools requests,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "oras"; pname = "oras";
version = "0.1.28"; version = "0.1.29";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -19,25 +20,19 @@ buildPythonPackage rec {
owner = "oras-project"; owner = "oras-project";
repo = "oras-py"; repo = "oras-py";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-yka4TypKqGczW+NugmCGa8PgtaSJeaQ4sPphPsIPLow="; hash = "sha256-ZV+J5zqRBRIddWdmLzzjpZi3M5E/HfkG8lWK9xzy5tw=";
}; };
nativeBuildInputs = [ build-system = [ setuptools ];
setuptools
];
propagatedBuildInputs = [ dependencies = [
jsonschema jsonschema
requests requests
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "oras" ];
"oras"
];
disabledTests = [ disabledTests = [
# Test requires network access # Test requires network access

View File

@ -13,12 +13,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pplpy"; pname = "pplpy";
version = "0.8.9"; version = "0.8.10";
format = "setuptools"; format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-23o7Vx1u8FP3UTeXXpR8OhweRaMLq5Dq8hW05cwVeX4="; sha256 = "sha256-1CohbIKRTc9NfAAN68mLsza4+D4Ca6XZUszNn4B07/0=";
}; };
buildInputs = [ buildInputs = [

View File

@ -10,8 +10,9 @@
, numpy , numpy
, aggdraw , aggdraw
, pytestCheckHook , pytestCheckHook
, pytest-cov
, ipython , ipython
, cython , cython_3
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -29,7 +30,7 @@ buildPythonPackage rec {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
cython cython_3
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -45,6 +46,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
pytest-cov
]; ];
pythonImportsCheck = [ pythonImportsCheck = [

View File

@ -23,6 +23,7 @@
, faker , faker
, pytestCheckHook , pytestCheckHook
, pytest-mock , pytest-mock
, eval-type-backport
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -45,7 +46,7 @@ buildPythonPackage rec {
name = "fix-pytest8-compatibility.patch"; name = "fix-pytest8-compatibility.patch";
url = "https://github.com/pydantic/pydantic/commit/825a6920e177a3b65836c13c7f37d82b810ce482.patch"; url = "https://github.com/pydantic/pydantic/commit/825a6920e177a3b65836c13c7f37d82b810ce482.patch";
hash = "sha256-Dap5DtDzHw0jS/QUo5CRI9sLDJ719GRyC4ZNDWEdzus="; hash = "sha256-Dap5DtDzHw0jS/QUo5CRI9sLDJ719GRyC4ZNDWEdzus=";
}) })
]; ];
buildInputs = lib.optionals (pythonOlder "3.9") [ buildInputs = lib.optionals (pythonOlder "3.9") [
@ -69,13 +70,16 @@ buildPythonPackage rec {
]; ];
}; };
nativeCheckInputs = [ nativeCheckInputs =
cloudpickle [
dirty-equals cloudpickle
faker dirty-equals
pytest-mock faker
pytestCheckHook pytest-mock
] ++ lib.flatten (lib.attrValues passthru.optional-dependencies); pytestCheckHook
]
++ lib.flatten (lib.attrValues passthru.optional-dependencies)
++ lib.optionals (pythonOlder "3.10") [ eval-type-backport ];
preCheck = '' preCheck = ''
export HOME=$(mktemp -d) export HOME=$(mktemp -d)

View File

@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyrisco"; pname = "pyrisco";
version = "0.5.10"; version = "0.6.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "OnFreund"; owner = "OnFreund";
repo = "pyrisco"; repo = "pyrisco";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-3wa6hayyjWdDVqbLPCqIZ4lgcy1/EdFH4ZVggSRizZU="; hash = "sha256-+qnwJzf4nKio4IJo7NNA19B3tbOd+jhnGryiRMcdi6o=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-homewizard-energy"; pname = "python-homewizard-energy";
version = "4.3.1"; version = "5.0.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "DCSBL"; owner = "DCSBL";
repo = "python-homewizard-energy"; repo = "python-homewizard-energy";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-LpxXTzUb+N15lGno3pAhRSEJCb4NmwBcGQ/PshI9gYA="; hash = "sha256-z9JJHS7w/lugV23xJjWHBWVQp38J3CKtj4IuDvpPQJw=";
}; };
postPatch = '' postPatch = ''

View File

@ -31,17 +31,17 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "quart"; pname = "quart";
version = "0.19.4"; version = "0.19.5";
format = "pyproject"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pallets"; owner = "pallets";
repo = "quart"; repo = "quart";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-EgCZ0AXK2vGxo55BWAcDVv6zNUrWNbAYNnEXEBJk+84="; hash = "sha256-T2+76AVvXrads7AbjNAExV0i4doQ2xIUEwekVB2JXAo=";
}; };
nativeBuildInputs = [ build-system = [
poetry-core poetry-core
]; ];
@ -50,7 +50,7 @@ buildPythonPackage rec {
--replace "--no-cov-on-fail " "" --replace "--no-cov-on-fail " ""
''; '';
propagatedBuildInputs = [ dependencies = [
aiofiles aiofiles
blinker blinker
click click
@ -79,11 +79,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
pytestFlagsArray = [
# pytest.PytestRemovedIn8Warning: Passing None has been deprecated.
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
meta = with lib; { meta = with lib; {
description = "An async Python micro framework for building web applications"; description = "An async Python micro framework for building web applications";
mainProgram = "quart"; mainProgram = "quart";

View File

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "riscv-config"; pname = "riscv-config";
version = "3.17.1"; version = "3.18.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "riscv-software-src"; owner = "riscv-software-src";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-M36xS9rBnCPHWmHvAA6qC9J21K/zIjgsqEyhApJDKrE="; hash = "sha256-3QjPJRFb7X23jZICRx4ZJlnuhe+RN6GcKeypoKtK2bk=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -1,20 +1,22 @@
{ lib { lib
, amqtt , amqtt
, buildPythonPackage , buildPythonPackage
, click
, fetchFromGitHub , fetchFromGitHub
, mashumaro
, orjson , orjson
, paho-mqtt , paho-mqtt
, poetry-core , poetry-core
, pydantic
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, pythonRelaxDepsHook , pythonRelaxDepsHook
, tabulate
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "roombapy"; pname = "roombapy";
version = "1.7.0"; version = "1.8.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.10";
@ -23,7 +25,7 @@ buildPythonPackage rec {
owner = "pschmitt"; owner = "pschmitt";
repo = "roombapy"; repo = "roombapy";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-vB6+cGqeHFthCbz4q75EwsHb8w1H2vPSaKdtvquh5Kc="; hash = "sha256-1yfmaTzZ7cZW2+Yb3Zbo8+5TfD+H1sA0+SzC1c9MdsQ=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -36,9 +38,14 @@ buildPythonPackage rec {
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
mashumaro
orjson orjson
paho-mqtt paho-mqtt
pydantic ];
optional-dependencies.cli = [
click
tabulate
]; ];
nativeCheckInputs = [ nativeCheckInputs = [

View File

@ -1,16 +1,17 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, pytestCheckHook fetchFromGitHub,
, pythonOlder pytestCheckHook,
, setuptools pythonOlder,
, setuptools-scm setuptools,
setuptools-scm,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "semver"; pname = "semver";
version = "3.0.2"; version = "3.0.2";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -21,35 +22,31 @@ buildPythonPackage rec {
hash = "sha256-772PSUq1dqtn9aOol+Bo0S0OItBmoiCNP8q/YCBvKU4="; hash = "sha256-772PSUq1dqtn9aOol+Bo0S0OItBmoiCNP8q/YCBvKU4=";
}; };
nativeBuildInputs = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
];
postPatch = '' postPatch = ''
sed -i "/--cov/d" setup.cfg sed -i "/--cov/d" setup.cfg
sed -i "/--no-cov-on-fail/d" setup.cfg sed -i "/--no-cov-on-fail/d" setup.cfg
''; '';
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [ disabledTestPaths = [
# Don't test the documentation # Don't test the documentation
"docs/*.rst" "docs/*.rst"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "semver" ];
"semver"
];
meta = with lib; { meta = with lib; {
description = "Python package to work with Semantic Versioning (http://semver.org/)"; description = "Python package to work with Semantic Versioning (http://semver.org/)";
mainProgram = "pysemver";
homepage = "https://python-semver.readthedocs.io/"; homepage = "https://python-semver.readthedocs.io/";
changelog = "https://github.com/python-semver/python-semver/releases/tag/3.0.0"; changelog = "https://github.com/python-semver/python-semver/releases/tag/3.0.0";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ np ]; maintainers = with maintainers; [ np ];
mainProgram = "pysemver";
}; };
} }

View File

@ -1,70 +1,55 @@
{ lib {
, asn1crypto lib,
, buildPythonPackage asn1crypto,
, pythonRelaxDepsHook buildPythonPackage,
, certifi certifi,
, cffi cffi,
, charset-normalizer charset-normalizer,
, fetchPypi cython,
, filelock fetchPypi,
, idna filelock,
, keyring idna,
, oscrypto keyring,
, packaging oscrypto,
, platformdirs packaging,
, pycryptodomex pandas,
, pyjwt platformdirs,
, pyopenssl pyarrow,
, pythonOlder pycryptodomex,
, pytz pyjwt,
, requests pyopenssl,
, setuptools pythonOlder,
, sortedcontainers pythonRelaxDepsHook,
, tomlkit pytz,
, typing-extensions requests,
, wheel setuptools,
sortedcontainers,
tomlkit,
typing-extensions,
wheel,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "snowflake-connector-python"; pname = "snowflake-connector-python";
version = "3.7.1"; version = "3.8.0";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-3GmC9lOGDt7xYUowR6FrywfiJ3Xm4JCAi79PdinEGR0="; hash = "sha256-tbXoXQK0NIofLWxn30gpqjOHlnsBM9K3+jHRkNBgnDE=";
}; };
# snowflake-connector-python requires arrow 10.0.1, which we don't have in build-system = [
# nixpkgs, so we cannot build the C extensions that use it. thus, patch out cython
# cython and pyarrow from the build dependencies
#
# keep an eye on following issue for improvements to this situation:
#
# https://github.com/snowflakedb/snowflake-connector-python/issues/1144
#
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"cython",' "" \
--replace '"pyarrow>=10.0.1,<10.1.0",' ""
'';
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools setuptools
wheel wheel
]; ];
pythonRelaxDeps = [ nativeBuildInputs = [ pythonRelaxDepsHook ];
"pyOpenSSL"
"charset-normalizer"
"cryptography"
"platformdirs"
];
propagatedBuildInputs = [ dependencies = [
asn1crypto asn1crypto
certifi certifi
cffi cffi
@ -85,6 +70,10 @@ buildPythonPackage rec {
]; ];
passthru.optional-dependencies = { passthru.optional-dependencies = {
pandas = [
pandas
pyarrow
];
secure-local-storage = [ keyring ]; secure-local-storage = [ keyring ];
}; };
@ -98,9 +87,9 @@ buildPythonPackage rec {
]; ];
meta = with lib; { meta = with lib; {
changelog = "https://github.com/snowflakedb/snowflake-connector-python/blob/v${version}/DESCRIPTION.md";
description = "Snowflake Connector for Python"; description = "Snowflake Connector for Python";
homepage = "https://github.com/snowflakedb/snowflake-connector-python"; homepage = "https://github.com/snowflakedb/snowflake-connector-python";
changelog = "https://github.com/snowflakedb/snowflake-connector-python/blob/v${version}/DESCRIPTION.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
}; };

View File

@ -10,13 +10,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "sphinxcontrib-confluencebuilder"; pname = "sphinxcontrib-confluencebuilder";
version = "2.4.0"; version = "2.5.0";
format = "pyproject"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
pname = "sphinxcontrib_confluencebuilder"; pname = "sphinxcontrib_confluencebuilder";
inherit version; inherit version;
hash = "sha256-q3+GwMVWMRu4eWwbdXcbPQzpBhBXcZEMFTpbEO+teLk="; hash = "sha256-rE9tWUie9ZaeWnKR+ojwS9A6BHEtsgVpwzXAuWoxknQ=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,22 +1,24 @@
{ lib {
, anyio lib,
, asgi-lifespan anyio,
, buildPythonPackage asgi-lifespan,
, fastapi buildPythonPackage,
, fetchFromGitHub fastapi,
, httpx fetchFromGitHub,
, pdm-backend httpx,
, psutil pdm-backend,
, pytest-asyncio psutil,
, pytestCheckHook pytest-asyncio,
, pythonOlder pytestCheckHook,
, starlette pythonOlder,
, uvicorn requests,
starlette,
uvicorn,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sse-starlette"; pname = "sse-starlette";
version = "2.0.0"; version = "2.1.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -25,12 +27,10 @@ buildPythonPackage rec {
owner = "sysid"; owner = "sysid";
repo = "sse-starlette"; repo = "sse-starlette";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-kDcSG/3foP7fMZKYrkKx6FHvT9c9rSzxyv2EHjQ2WSA="; hash = "sha256-gBkEs1jSKIOme2rbLf+pM3jFDgJkxyU92q+GsUsp8Eo=";
}; };
build-system = [ build-system = [ pdm-backend ];
pdm-backend
];
dependencies = [ dependencies = [
anyio anyio
@ -45,11 +45,10 @@ buildPythonPackage rec {
psutil psutil
pytest-asyncio pytest-asyncio
pytestCheckHook pytestCheckHook
requests
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "sse_starlette" ];
"sse_starlette"
];
disabledTests = [ disabledTests = [
# AssertionError # AssertionError

View File

@ -1,15 +1,16 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, pytestCheckHook fetchFromGitHub,
, pythonOlder pytestCheckHook,
, requests pythonOlder,
, setuptools requests,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "tencentcloud-sdk-python"; pname = "tencentcloud-sdk-python";
version = "3.0.1122"; version = "3.0.1123";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -18,24 +19,16 @@ buildPythonPackage rec {
owner = "TencentCloud"; owner = "TencentCloud";
repo = "tencentcloud-sdk-python"; repo = "tencentcloud-sdk-python";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-rJpgtyBVJn6jURSSEVlT4BadDTr9npeISgKtQdQdgnM="; hash = "sha256-Kki/rFtxWbRmLnrV+sDQebj7Zo5dKhmlTXL/u4Ez3fI=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = [ dependencies = [ requests ];
requests
];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "tencentcloud" ];
"tencentcloud"
];
pytestFlagsArray = [ pytestFlagsArray = [
# Other tests require credentials # Other tests require credentials

View File

@ -9,16 +9,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "tololib"; pname = "tololib";
version = "0.1.0b4"; version = "1.1.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "MatthiasLohr"; owner = "MatthiasLohr";
repo = pname; repo = "tololib";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-2OQaJR70bx8qWs1IPErF+B3X1iRvHW74axTqtdvum3U="; hash = "sha256-TxWKV2nrnCxZmj6+wBDMSdJRvKV+MsPFbOyIlUJYJ3Q=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -29,6 +29,10 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
preCheck = ''
export PATH="$PATH:$out/bin";
'';
disabledTests = [ disabledTests = [
# Test requires network access # Test requires network access
"test_discovery" "test_discovery"

View File

@ -1,25 +1,26 @@
{ lib {
, aiohttp lib,
, aiohttp-retry aiohttp,
, aiounittest aiohttp-retry,
, buildPythonPackage aiounittest,
, cryptography buildPythonPackage,
, django cryptography,
, fetchFromGitHub django,
, mock fetchFromGitHub,
, multidict mock,
, pyngrok multidict,
, pyjwt pyngrok,
, pytestCheckHook pyjwt,
, pythonOlder pytestCheckHook,
, pytz pythonOlder,
, requests pytz,
, setuptools requests,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "twilio"; pname = "twilio";
version = "9.0.3"; version = "9.0.4";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -28,12 +29,10 @@ buildPythonPackage rec {
owner = "twilio"; owner = "twilio";
repo = "twilio-python"; repo = "twilio-python";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-MyK5ICGNR3BEJtVhFM3A6azceU5HjSDep4tpuQ8D4Rs="; hash = "sha256-3014wT7DXRlWvRxfqx/wIR9v9uX9QROQICDHXcgtOHs=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = [ dependencies = [
aiohttp aiohttp
@ -68,9 +67,7 @@ buildPythonPackage rec {
"tests/cluster/test_cluster.py" "tests/cluster/test_cluster.py"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "twilio" ];
"twilio"
];
meta = with lib; { meta = with lib; {
description = "Twilio API client and TwiML generator"; description = "Twilio API client and TwiML generator";

View File

@ -9,12 +9,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "types-requests"; pname = "types-requests";
version = "2.31.0.20240403"; version = "2.31.0.20240406";
pyproject = true; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-4eDNC2VTNPOdn4craKExDw40Nkdoi/LO6TLsTCsE3lk="; hash = "sha256-RCjfM8VQOUXHSz9C6CsYHobse3JGIEGaKWbi3mBM4aE=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View File

@ -6,7 +6,6 @@
# build-system # build-system
, setuptools , setuptools
, setuptools-git-versioning
# dependencies # dependencies
, async-timeout , async-timeout
@ -37,10 +36,18 @@ buildPythonPackage rec {
hash = "sha256-VoO9B27CNY2Cnt/Q2HsU6DVYkukQMgbIHc6xqfN0P7w="; hash = "sha256-VoO9B27CNY2Cnt/Q2HsU6DVYkukQMgbIHc6xqfN0P7w=";
}; };
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '"setuptools-git-versioning<2"' "" \
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
'';
nativeBuildInputs = [ nativeBuildInputs = [
pythonRelaxDepsHook pythonRelaxDepsHook
];
build-system = [
setuptools setuptools
setuptools-git-versioning
]; ];
pythonRelaxDeps = [ pythonRelaxDeps = [

View File

@ -11,14 +11,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "vilfo-api-client"; pname = "vilfo-api-client";
version = "0.4.1"; version = "0.5.0";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ManneW"; owner = "ManneW";
repo = "vilfo-api-client-python"; repo = "vilfo-api-client-python";
rev = version; rev = "refs/tags/${version}";
hash = "sha256-j06Bbv0hWSmrlCv8RfgvfGTyOF+vSX+zZnX3AvG5Hys="; hash = "sha256-ZlmriBd+M+54ux/UNYa355mkz808/NxSz7IzmWouA0c=";
}; };
postPatch = '' postPatch = ''

View File

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "whirlpool-sixth-sense"; pname = "whirlpool-sixth-sense";
version = "0.18.5"; version = "0.18.7";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "abmantis"; owner = "abmantis";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-0NJsZex054CWfKX2wyJRd6Cnxa89mNrZN59VqIV2MD8="; hash = "sha256-M4qOdxR97VhquB85IgimYKZqix2WoRIZcLSIlVK1xDY=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -14,30 +14,30 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zeroconf"; pname = "zeroconf";
version = "0.131.0"; version = "0.132.0";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jstasiak"; owner = "jstasiak";
repo = "python-zeroconf"; repo = "python-zeroconf";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-l+uz+wj+tgptxEjEN8ZlmxH8I4Nhrg8qAY3yCcOgBfE="; hash = "sha256-eHB+SkJU5aTQPF7QqRhYHMBJgN7EYZkwtk7gjxWxIno=";
}; };
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace "Cython>=3.0.5" "Cython" --replace-fail "Cython>=3.0.8" "Cython"
''; '';
nativeBuildInputs = [ build-system = [
cython_3 cython_3
poetry-core poetry-core
setuptools setuptools
]; ];
propagatedBuildInputs = [ dependencies = [
ifaddr ifaddr
] ++ lib.optionals (pythonOlder "3.11") [ ] ++ lib.optionals (pythonOlder "3.11") [
async-timeout async-timeout
@ -70,9 +70,9 @@ buildPythonPackage rec {
]; ];
meta = with lib; { meta = with lib; {
changelog = "https://github.com/python-zeroconf/python-zeroconf/releases/tag/${version}";
description = "Python implementation of multicast DNS service discovery"; description = "Python implementation of multicast DNS service discovery";
homepage = "https://github.com/python-zeroconf/python-zeroconf"; homepage = "https://github.com/python-zeroconf/python-zeroconf";
changelog = "https://github.com/python-zeroconf/python-zeroconf/releases/tag/${version}";
license = licenses.lgpl21Only; license = licenses.lgpl21Only;
maintainers = with maintainers; [ abbradar ]; maintainers = with maintainers; [ abbradar ];
}; };

View File

@ -11,29 +11,29 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zha-quirks"; pname = "zha-quirks";
version = "0.0.112"; version = "0.0.113";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zigpy"; owner = "zigpy";
repo = "zha-device-handlers"; repo = "zha-device-handlers";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-wI7mpX6oFV/RrxH/UP1X9Odago0CxJ5dhjKAsDS+Sq4="; hash = "sha256-Th0JF7sauDhFIZH7BY4STgJZ2o+zqQmtUqNLNeaB6As=";
}; };
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace ', "setuptools-git-versioning<2"' "" \ --replace-fail ', "setuptools-git-versioning<2"' "" \
--replace 'dynamic = ["version"]' 'version = "${version}"' --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
''; '';
nativeBuildInputs = [ build-system = [
setuptools setuptools
]; ];
propagatedBuildInputs = [ dependencies = [
aiohttp aiohttp
zigpy zigpy
]; ];

View File

@ -0,0 +1,126 @@
{ lib
, awesomeversion
, bellows
, buildPythonPackage
, fetchFromGitHub
, pyserial
, pyserial-asyncio
, pyserial-asyncio-fast
, pytest-asyncio
, pytest-timeout
, pytest-xdist
, pytestCheckHook
, python-slugify
, pythonOlder
, pythonRelaxDepsHook
, setuptools
, universal-silabs-flasher
, wheel
, zha-quirks
, zigpy
, zigpy-deconz
, zigpy-xbee
, zigpy-zigate
, zigpy-znp
}:
buildPythonPackage rec {
pname = "zha";
version = "0.0.5";
pyproject = true;
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "zigpy";
repo = "zha";
rev = "refs/tags/${version}";
hash = "sha256-47dlWMzY1vPmHIDCy8a0xzk2G+OPq6vEK5OpP1c8vw4=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '"setuptools-git-versioning<2"' "" \
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
'';
pythonRelaxDeps = [
"universal-silabs-flasher"
"zha-quirks"
];
nativeBuildInputs = [
pythonRelaxDepsHook
];
build-system = [
setuptools
wheel
];
dependencies = [
awesomeversion
bellows
pyserial
pyserial-asyncio
pyserial-asyncio-fast
python-slugify
universal-silabs-flasher
zha-quirks
zigpy
zigpy-deconz
zigpy-xbee
zigpy-zigate
zigpy-znp
];
nativeCheckInputs = [
pytest-asyncio
pytest-timeout
pytest-xdist
pytestCheckHook
];
pythonImportsCheck = [
"zha"
];
disabledTests = [
# Tests are long-running and often keep hanging
"test_check_available_no_basic_cluster_handler"
"test_check_available_success"
"test_check_available_unsuccessful"
"test_device_counter_sensors"
"test_device_tracker"
"test_elec_measurement_sensor_polling"
"test_electrical_measurement_init"
"test_group_member_assume_state"
"test_light_refresh"
"test_light"
"test_light"
"test_light"
"test_pollers_skip"
"test_sinope_time"
"test_siren_timed_off"
"test_zha_group_light_entity"
];
disabledTestPaths = [
"tests/test_cluster_handlers.py"
];
pytestFlagsArray = [
"-v"
"--timeout=5"
];
meta = with lib; {
description = "Zigbee Home Automation";
homepage = "https://github.com/zigpy/zha";
changelog = "https://github.com/zigpy/zha/releases/tag/${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1,12 +1,16 @@
{ lib { lib
, aiohttp , aiohttp
, aiosqlite
, aioresponses , aioresponses
, aiosqlite
, async-timeout
, attrs
, buildPythonPackage , buildPythonPackage
, crccheck , crccheck
, cryptography , cryptography
, freezegun
, fetchFromGitHub , fetchFromGitHub
, freezegun
, importlib-resources
, jsonschema
, pycryptodome , pycryptodome
, pyserial-asyncio , pyserial-asyncio
, pytest-asyncio , pytest-asyncio
@ -14,12 +18,13 @@
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, setuptools , setuptools
, typing-extensions
, voluptuous , voluptuous
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "zigpy"; pname = "zigpy";
version = "0.63.4"; version = "0.63.5";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -28,27 +33,34 @@ buildPythonPackage rec {
owner = "zigpy"; owner = "zigpy";
repo = "zigpy"; repo = "zigpy";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-0wenUUkhgodsBID+ZT9JRoJeGDTqAChAIpj+9/Q3FMM="; hash = "sha256-iZxHXxheyoA5vo0Pxojs7QE8rSyTpsYpJ6/OzDSZJ20=";
}; };
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace '"setuptools-git-versioning<2"' "" \ --replace-fail '"setuptools-git-versioning<2"' "" \
--replace 'dynamic = ["version"]' 'version = "${version}"' --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
''; '';
nativeBuildInputs = [ build-system = [
setuptools setuptools
]; ];
propagatedBuildInputs = [ dependencies = [
attrs
aiohttp aiohttp
aiosqlite aiosqlite
crccheck crccheck
cryptography cryptography
jsonschema
pyserial-asyncio pyserial-asyncio
typing-extensions
pycryptodome pycryptodome
voluptuous voluptuous
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources
] ++ lib.optionals (pythonOlder "3.11") [
async-timeout
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
@ -66,6 +78,11 @@ buildPythonPackage rec {
"test_periodic_scan_priority" "test_periodic_scan_priority"
]; ];
disabledTestPaths = [
# Tests require network access
"tests/ota/test_ota_providers.py"
];
pythonImportsCheck = [ pythonImportsCheck = [
"zigpy.application" "zigpy.application"
"zigpy.config" "zigpy.config"

View File

@ -38,6 +38,8 @@ let
license = licenses.asl20; license = licenses.asl20;
maintainers = [ maintainers.terlar ]; maintainers = [ maintainers.terlar ];
mainProgram = "qldb"; mainProgram = "qldb";
# See https://hydra.nixos.org/build/255146098/log.
broken = true; # Added 2024-04-06
}; };
}; };
in in

View File

@ -1,7 +1,7 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
rake (13.2.0) rake (13.2.1)
PLATFORMS PLATFORMS
ruby ruby

View File

@ -4,9 +4,9 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0lwv4rniry7k9dvz1n462d7j0dq9mrl6a95y6cvs6139h0ksxhgn"; sha256 = "17850wcwkgi30p7yqh60960ypn7yibacjjha0av78zaxwvd3ijs6";
type = "gem"; type = "gem";
}; };
version = "13.2.0"; version = "13.2.1";
}; };
} }

View File

@ -2,14 +2,14 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "pg_activity"; pname = "pg_activity";
version = "3.5.0"; version = "3.5.1";
disabled = python3Packages.pythonOlder "3.8"; disabled = python3Packages.pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dalibo"; owner = "dalibo";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-raEQbpADSkJZu+ULxzJg9GqFQ4/qmONDHGqoc7quMjI="; sha256 = "sha256-fqRECReeXjdoCieCYIsIumIjcMGN7UUbWHxxAfzm9co=";
}; };
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [

View File

@ -7,13 +7,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "neil"; pname = "neil";
version = "0.2.63"; version = "0.3.65";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "babashka"; owner = "babashka";
repo = "neil"; repo = "neil";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-mcygDOx5yzOW80bv54cPOKl1t443DXFRq4Hb4KYD5e8="; sha256 = "sha256-QhWoCEoM04/MlUgCFCeAR7kF6QSg0joz/i9ZbXRQtDs=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View File

@ -1,13 +1,13 @@
{ lib, buildGoModule, fetchFromGitHub }: { lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec { buildGoModule rec {
pname = "protolint"; pname = "protolint";
version = "0.49.3"; version = "0.49.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "yoheimuta"; owner = "yoheimuta";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-V3xsjaqW5PaEmvEAn85c+eMRzb2DHpsPd9rUyzXDe9o="; hash = "sha256-5z9R2LHwwb7aFMvJDYmMRny7lHG4JUSNhU1Hfm0Z1Mc=";
}; };
vendorHash = "sha256-8yV/YyNSn6O2UjAQlzM90fOoi3TdxO+v4YPtmSQMFC0="; vendorHash = "sha256-8yV/YyNSn6O2UjAQlzM90fOoi3TdxO+v4YPtmSQMFC0=";

View File

@ -2,15 +2,15 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "refinery-cli"; pname = "refinery-cli";
version = "0.8.13"; version = "0.8.14";
src = fetchCrate { src = fetchCrate {
pname = "refinery_cli"; pname = "refinery_cli";
inherit version; inherit version;
sha256 = "sha256-5PncxxJ63WGwJk4MexqOJZQEhdoe4WMz8gsHZgjxBPM="; sha256 = "sha256-gHW+5WWzk1H2O5B2sWdl6QcOeUbNvbdZZBD10SmE1GA=";
}; };
cargoHash = "sha256-C0/11Ky5mXcEFPxa72jkJLg/DDxPz/Jmmfa2oHpHF6k="; cargoHash = "sha256-Go7+LZSze/IrNwEl+11Dm5O9RcREyPSkHPjlE9SPO70=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View File

@ -13,14 +13,14 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "dioxus-cli"; pname = "dioxus-cli";
version = "0.5.0"; version = "0.5.4";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit pname version;
hash = "sha256-iNlJLDxb8v7x19q0iaAnGmtmoPjMW8YXzbx5Fcf8Yws="; hash = "sha256-rfftCJW3MRDg7a2WUDXZWGx1lYmOkqVRcJTEGMObars=";
}; };
cargoHash = "sha256-6XKNBLDNWYd5+O7buHupXzVss2jCdh3wu9mXVLivH44="; cargoHash = "sha256-cpgjs8ZxpJrnA5UtoVoP97VFfmQ7CS1H74D19x0bzAA=";
nativeBuildInputs = [ pkg-config cacert ]; nativeBuildInputs = [ pkg-config cacert ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [

View File

@ -13,13 +13,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ksmbd-tools"; pname = "ksmbd-tools";
version = "3.5.1"; version = "3.5.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cifsd-team"; owner = "cifsd-team";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-1Htky39oggDqPYSbF4it2UMIxuoLp0aK+IjGojPgaiU="; sha256 = "sha256-QE/Pnba4zgeInlVqOEjT3EqV6NPkQTp6xeYU3dsIl4M=";
}; };
buildInputs = [ glib libnl ] ++ lib.optional withKerberos libkrb5; buildInputs = [ glib libnl ] ++ lib.optional withKerberos libkrb5;

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
inherit (vdo); inherit (vdo);
pname = "kvdo"; pname = "kvdo";
version = "8.2.1.6"; # bump this version with vdo version = "8.2.3.3"; # bump this version with vdo
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dm-vdo"; owner = "dm-vdo";
repo = "kvdo"; repo = "kvdo";
rev = version; rev = version;
hash = "sha256-S5r2Rgx5pWk4IsdIwmfZkuGL/oEQ3prquyVqxjR3cO0="; hash = "sha256-y7uVgWFV6uWRoRqfiu0arG9731mgWijXjcp9KSaZ5X0=";
}; };
nativeBuildInputs = kernel.moduleBuildDependencies; nativeBuildInputs = kernel.moduleBuildDependencies;

View File

@ -5,7 +5,7 @@
libuuid, systemd, nspr, check, cmocka, uid_wrapper, p11-kit, libuuid, systemd, nspr, check, cmocka, uid_wrapper, p11-kit,
nss_wrapper, ncurses, Po4a, http-parser, jansson, jose, nss_wrapper, ncurses, Po4a, http-parser, jansson, jose,
docbook_xsl, docbook_xml_dtd_44, docbook_xsl, docbook_xml_dtd_44,
testers, nix-update-script, nixosTests, testers, nix-update-script, nixosTests, fetchpatch,
withSudo ? false }: withSudo ? false }:
let let
@ -22,6 +22,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-VJXZndbmC6mAVxzvv5Wjb4adrQkP16Rt4cgjl4qGDIc="; hash = "sha256-VJXZndbmC6mAVxzvv5Wjb4adrQkP16Rt4cgjl4qGDIc=";
}; };
patches = [
# Fix the build with Samba 4.20
(fetchpatch {
url = "https://github.com/SSSD/sssd/commit/1bf51929a48b84d62ac54f2a42f17e7fbffe1612.patch";
hash = "sha256-VLx04APEipp860iOJNIwTGywxZ7rIDdyh3te6m7Ymlo=";
})
];
postPatch = '' postPatch = ''
patchShebangs ./sbus_generate.sh.in patchShebangs ./sbus_generate.sh.in
''; '';

View File

@ -2,7 +2,7 @@
# Do not edit! # Do not edit!
{ {
version = "2024.3.3"; version = "2024.4.0";
components = { components = {
"3_day_blinds" = ps: with ps; [ "3_day_blinds" = ps: with ps; [
]; ];
@ -283,7 +283,6 @@
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
janus
paho-mqtt paho-mqtt
]; ];
"aseko_pool_live" = ps: with ps; [ "aseko_pool_live" = ps: with ps; [
@ -362,7 +361,6 @@
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
axis axis
janus
paho-mqtt paho-mqtt
]; ];
"azure_devops" = ps: with ps; [ "azure_devops" = ps: with ps; [
@ -856,7 +854,6 @@
home-assistant-frontend home-assistant-frontend
home-assistant-intents home-assistant-intents
ifaddr ifaddr
janus
mutagen mutagen
numpy numpy
pillow pillow
@ -1056,7 +1053,6 @@
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
dropmqttapi dropmqttapi
janus
paho-mqtt paho-mqtt
]; ];
"dsmr" = ps: with ps; [ "dsmr" = ps: with ps; [
@ -1066,7 +1062,6 @@
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
janus
paho-mqtt paho-mqtt
]; ];
"dte_energy_bridge" = ps: with ps; [ "dte_energy_bridge" = ps: with ps; [
@ -1096,7 +1091,6 @@
dynalite-panel dynalite-panel
fnv-hash-fast fnv-hash-fast
home-assistant-frontend home-assistant-frontend
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -1183,6 +1177,9 @@
pypca pypca
]; ];
"elvia" = ps: with ps; [ "elvia" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -1386,11 +1383,13 @@
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
janus
]; ];
"filesize" = ps: with ps; [ "filesize" = ps: with ps; [
]; ];
"filter" = ps: with ps; [ "filter" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -1560,7 +1559,6 @@
aiohttp-zlib-ng aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
home-assistant-frontend home-assistant-frontend
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -1574,13 +1572,15 @@
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
janus
paho-mqtt paho-mqtt
python-fullykiosk python-fullykiosk
]; ];
"futurenow" = ps: with ps; [ "futurenow" = ps: with ps; [
pyfnip pyfnip
]; ];
"fyta" = ps: with ps; [
fyta-cli
];
"garadget" = ps: with ps; [ "garadget" = ps: with ps; [
]; ];
"garages_amsterdam" = ps: with ps; [ "garages_amsterdam" = ps: with ps; [
@ -1633,6 +1633,9 @@
"generic_hygrostat" = ps: with ps; [ "generic_hygrostat" = ps: with ps; [
]; ];
"generic_thermostat" = ps: with ps; [ "generic_thermostat" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -1917,6 +1920,9 @@
sqlalchemy sqlalchemy
]; ];
"history_stats" = ps: with ps; [ "history_stats" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -1956,7 +1962,6 @@
aiohttp-zlib-ng aiohttp-zlib-ng
bellows bellows
fnv-hash-fast fnv-hash-fast
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
pyserial pyserial
@ -1978,7 +1983,6 @@
aiohttp-zlib-ng aiohttp-zlib-ng
bellows bellows
fnv-hash-fast fnv-hash-fast
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
pyserial pyserial
@ -2000,7 +2004,6 @@
aiohttp-zlib-ng aiohttp-zlib-ng
bellows bellows
fnv-hash-fast fnv-hash-fast
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
pyserial pyserial
@ -2022,7 +2025,6 @@
aiohttp-zlib-ng aiohttp-zlib-ng
bellows bellows
fnv-hash-fast fnv-hash-fast
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
pyserial pyserial
@ -2355,7 +2357,6 @@
fnv-hash-fast fnv-hash-fast
home-assistant-frontend home-assistant-frontend
insteon-frontend-home-assistant insteon-frontend-home-assistant
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
pyinsteon pyinsteon
@ -2526,6 +2527,9 @@
pykira pykira
]; ];
"kitchen_sink" = ps: with ps; [ "kitchen_sink" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -2542,7 +2546,6 @@
aiohttp-zlib-ng aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
home-assistant-frontend home-assistant-frontend
janus
knx-frontend knx-frontend
pillow pillow
psutil-home-assistant psutil-home-assistant
@ -2583,7 +2586,34 @@
"lacrosse_view" = ps: with ps; [ "lacrosse_view" = ps: with ps; [
]; # missing inputs: lacrosse-view ]; # missing inputs: lacrosse-view
"lamarzocco" = ps: with ps; [ "lamarzocco" = ps: with ps; [
aioesphomeapi
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
aioruuvigateway
aioshelly
bleak
bleak-esphome
bleak-retry-connector
bluetooth-adapters
bluetooth-auto-recovery
bluetooth-data-tools
dbus-fast
esphome-dashboard-api
fnv-hash-fast
ha-ffmpeg
habluetooth
hassil
home-assistant-intents
ifaddr
lmcloud lmcloud
mutagen
psutil-home-assistant
pyserial
pyudev
sqlalchemy
webrtc-noise-gain
zeroconf
]; ];
"lametric" = ps: with ps; [ "lametric" = ps: with ps; [
aiohttp-cors aiohttp-cors
@ -2798,7 +2828,6 @@
aiohttp-zlib-ng aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
home-assistant-frontend home-assistant-frontend
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -2839,6 +2868,10 @@
webrtc-noise-gain webrtc-noise-gain
]; ];
"lovelace" = ps: with ps; [ "lovelace" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
pillow
]; ];
"luci" = ps: with ps; [ "luci" = ps: with ps; [
openwrt-luci-rpc openwrt-luci-rpc
@ -2887,7 +2920,6 @@
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
janus
paho-mqtt paho-mqtt
]; ];
"map" = ps: with ps; [ "map" = ps: with ps; [
@ -2896,7 +2928,6 @@
aiohttp-zlib-ng aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
home-assistant-frontend home-assistant-frontend
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -3205,6 +3236,35 @@
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
]; ];
"motionblinds_ble" = ps: with ps; [
aioesphomeapi
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
aioruuvigateway
aioshelly
bleak
bleak-esphome
bleak-retry-connector
bluetooth-adapters
bluetooth-auto-recovery
bluetooth-data-tools
dbus-fast
esphome-dashboard-api
fnv-hash-fast
ha-ffmpeg
habluetooth
hassil
home-assistant-intents
ifaddr
mutagen
psutil-home-assistant
pyserial
pyudev
sqlalchemy
webrtc-noise-gain
zeroconf
]; # missing inputs: motionblindsble
"motioneye" = ps: with ps; [ "motioneye" = ps: with ps; [
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
@ -3221,35 +3281,30 @@
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
janus
paho-mqtt paho-mqtt
]; ];
"mqtt_eventstream" = ps: with ps; [ "mqtt_eventstream" = ps: with ps; [
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
janus
paho-mqtt paho-mqtt
]; ];
"mqtt_json" = ps: with ps; [ "mqtt_json" = ps: with ps; [
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
janus
paho-mqtt paho-mqtt
]; ];
"mqtt_room" = ps: with ps; [ "mqtt_room" = ps: with ps; [
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
janus
paho-mqtt paho-mqtt
]; ];
"mqtt_statestream" = ps: with ps; [ "mqtt_statestream" = ps: with ps; [
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
janus
paho-mqtt paho-mqtt
]; ];
"msteams" = ps: with ps; [ "msteams" = ps: with ps; [
@ -3270,7 +3325,6 @@
aiohttp-zlib-ng aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
home-assistant-frontend home-assistant-frontend
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -3281,7 +3335,6 @@
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
janus
paho-mqtt paho-mqtt
pymysensors pymysensors
]; ];
@ -3468,7 +3521,7 @@
"number" = ps: with ps; [ "number" = ps: with ps; [
]; ];
"nut" = ps: with ps; [ "nut" = ps: with ps; [
pynut2 aionut
]; ];
"nutrichef" = ps: with ps; [ "nutrichef" = ps: with ps; [
]; ];
@ -3495,6 +3548,13 @@
"ohmconnect" = ps: with ps; [ "ohmconnect" = ps: with ps; [
defusedxml defusedxml
]; ];
"ollama" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
hassil
home-assistant-intents
]; # missing inputs: ollama-hass
"ombi" = ps: with ps; [ "ombi" = ps: with ps; [
pyombi pyombi
]; ];
@ -3505,10 +3565,7 @@
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
fnv-hash-fast
pillow pillow
psutil-home-assistant
sqlalchemy
]; ];
"oncue" = ps: with ps; [ "oncue" = ps: with ps; [
aiooncue aiooncue
@ -3543,9 +3600,6 @@
]; ];
"openalpr_cloud" = ps: with ps; [ "openalpr_cloud" = ps: with ps; [
]; ];
"opencv" = ps: with ps; [
numpy
]; # missing inputs: opencv-python-headless
"openerz" = ps: with ps; [ "openerz" = ps: with ps; [
openerz-api openerz-api
]; ];
@ -3582,6 +3636,9 @@
pyopnsense pyopnsense
]; ];
"opower" = ps: with ps; [ "opower" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
opower opower
psutil-home-assistant psutil-home-assistant
@ -3637,7 +3694,6 @@
bellows bellows
fnv-hash-fast fnv-hash-fast
ifaddr ifaddr
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
pyroute2 pyroute2
@ -3676,7 +3732,6 @@
hass-nabucasa hass-nabucasa
hassil hassil
home-assistant-intents home-assistant-intents
janus
mutagen mutagen
paho-mqtt paho-mqtt
psutil-home-assistant psutil-home-assistant
@ -3704,7 +3759,6 @@
aiohttp-zlib-ng aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
home-assistant-frontend home-assistant-frontend
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -3715,7 +3769,6 @@
aiohttp-zlib-ng aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
home-assistant-frontend home-assistant-frontend
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -3787,6 +3840,9 @@
webrtc-noise-gain webrtc-noise-gain
]; ];
"plant" = ps: with ps; [ "plant" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -4086,6 +4142,9 @@
aiorecollect aiorecollect
]; ];
"recorder" = ps: with ps; [ "recorder" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -4100,7 +4159,6 @@
hassil hassil
home-assistant-frontend home-assistant-frontend
home-assistant-intents home-assistant-intents
janus
mutagen mutagen
pillow pillow
psutil-home-assistant psutil-home-assistant
@ -4390,6 +4448,9 @@
zeroconf zeroconf
]; ];
"sensor" = ps: with ps; [ "sensor" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -4503,6 +4564,7 @@
dbus-fast dbus-fast
fnv-hash-fast fnv-hash-fast
habluetooth habluetooth
ifaddr
psutil-home-assistant psutil-home-assistant
pyserial pyserial
pyudev pyudev
@ -4619,6 +4681,8 @@
]; ];
"smtp" = ps: with ps; [ "smtp" = ps: with ps; [
]; ];
"smud" = ps: with ps; [
];
"snapcast" = ps: with ps; [ "snapcast" = ps: with ps; [
snapcast snapcast
]; ];
@ -4626,7 +4690,6 @@
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
janus
paho-mqtt paho-mqtt
]; ];
"snmp" = ps: with ps; [ "snmp" = ps: with ps; [
@ -4767,6 +4830,9 @@
xmltodict xmltodict
]; ];
"statistics" = ps: with ps; [ "statistics" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -4954,7 +5020,6 @@
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
hatasmota hatasmota
janus
paho-mqtt paho-mqtt
]; ];
"tautulli" = ps: with ps; [ "tautulli" = ps: with ps; [
@ -4978,16 +5043,14 @@
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
pysocks
python-telegram-bot python-telegram-bot
]; ]; # missing inputs: python-telegram-bot.optional-dependencies.socks
"telegram_bot" = ps: with ps; [ "telegram_bot" = ps: with ps; [
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
pysocks
python-telegram-bot python-telegram-bot
]; ]; # missing inputs: python-telegram-bot.optional-dependencies.socks
"tellduslive" = ps: with ps; [ "tellduslive" = ps: with ps; [
tellduslive tellduslive
]; ];
@ -5106,6 +5169,9 @@
"threshold" = ps: with ps; [ "threshold" = ps: with ps; [
]; ];
"tibber" = ps: with ps; [ "tibber" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast fnv-hash-fast
psutil-home-assistant psutil-home-assistant
pytibber pytibber
@ -5805,7 +5871,6 @@
aiohttp-zlib-ng aiohttp-zlib-ng
bellows bellows
fnv-hash-fast fnv-hash-fast
janus
pillow pillow
psutil-home-assistant psutil-home-assistant
pyserial pyserial
@ -6000,6 +6065,7 @@
"dnsip" "dnsip"
"doorbird" "doorbird"
"dormakaba_dkey" "dormakaba_dkey"
"downloader"
"dremel_3d_printer" "dremel_3d_printer"
"drop_connect" "drop_connect"
"dsmr" "dsmr"
@ -6080,6 +6146,7 @@
"frontend" "frontend"
"frontier_silicon" "frontier_silicon"
"fully_kiosk" "fully_kiosk"
"fyta"
"garages_amsterdam" "garages_amsterdam"
"gardena_bluetooth" "gardena_bluetooth"
"gdacs" "gdacs"
@ -6148,6 +6215,7 @@
"homematic" "homematic"
"homematicip_cloud" "homematicip_cloud"
"homewizard" "homewizard"
"homeworks"
"honeywell" "honeywell"
"html5" "html5"
"http" "http"
@ -6249,6 +6317,7 @@
"mailgun" "mailgun"
"manual" "manual"
"manual_mqtt" "manual_mqtt"
"map"
"matrix" "matrix"
"matter" "matter"
"maxcube" "maxcube"
@ -6430,6 +6499,7 @@
"romy" "romy"
"roomba" "roomba"
"roon" "roon"
"rova"
"rpi_power" "rpi_power"
"rss_feed_template" "rss_feed_template"
"rtsp_to_webrtc" "rtsp_to_webrtc"
@ -6541,8 +6611,6 @@
"tcp" "tcp"
"technove" "technove"
"tedee" "tedee"
"telegram"
"telegram_bot"
"tellduslive" "tellduslive"
"temper" "temper"
"template" "template"

View File

@ -134,19 +134,6 @@ let
]; ];
}); });
bluecurrent-api = super.bluecurrent-api.overridePythonAttrs (oldAttrs: rec {
version = "1.0.6";
src = fetchPypi {
pname = "bluecurrent-api";
inherit version;
hash = "sha256-XHVdtkiG0ff/OY8g+W5iur7OAyhhk1UGA+XUfB2L8/o=";
};
build-system = oldAttrs.build-system ++ (with self; [
pythonRelaxDepsHook
]);
pythonRemoveDeps = [ "asyncio" ];
});
debugpy = super.debugpy.overridePythonAttrs (oldAttrs: { debugpy = super.debugpy.overridePythonAttrs (oldAttrs: {
# tests are deadlocking too often # tests are deadlocking too often
# https://github.com/NixOS/nixpkgs/issues/262000 # https://github.com/NixOS/nixpkgs/issues/262000
@ -424,26 +411,6 @@ let
}; };
}); });
pywaze = super.pywaze.overridePythonAttrs (oldAttrs: rec {
version = "0.5.1";
src = fetchFromGitHub {
owner = "eifinger";
repo = "pywaze";
rev = "refs/tags/v${version}";
hash = "sha256-r7ROEdgHdjXkveVUbuALHtwCX4IO0lwx9Zo3u6R9I58=";
};
});
sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec {
version = "2.0.27";
src = fetchFromGitHub {
owner = "sqlalchemy";
repo = "sqlalchemy";
rev = "refs/tags/rel_${lib.replaceStrings [ "." ] [ "_" ] version}";
hash = "sha256-6R+A7rVq1olRXj1wMolHhEq418bpr5rsmH8RjxajmmQ=";
};
});
tesla-powerwall = super.tesla-powerwall.overridePythonAttrs (oldAttrs: rec { tesla-powerwall = super.tesla-powerwall.overridePythonAttrs (oldAttrs: rec {
version = "0.5.1"; version = "0.5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -541,7 +508,7 @@ let
extraBuildInputs = extraPackages python.pkgs; extraBuildInputs = extraPackages python.pkgs;
# Don't forget to run parse-requirements.py after updating # Don't forget to run parse-requirements.py after updating
hassVersion = "2024.3.3"; hassVersion = "2024.4.0";
in python.pkgs.buildPythonApplication rec { in python.pkgs.buildPythonApplication rec {
pname = "homeassistant"; pname = "homeassistant";
@ -559,13 +526,13 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant"; owner = "home-assistant";
repo = "core"; repo = "core";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-EutnNqENt1MTmbMe9vtSM+bM5PzvjsfMhpkwXdxWoeI="; hash = "sha256-Qca6BHeId/fHhIViU7BJhYXxoMxRSeaJQ7CJLmIBmuU=";
}; };
# Secondary source is pypi sdist for translations # Secondary source is pypi sdist for translations
sdist = fetchPypi { sdist = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-9i8snvozDKgvcEQfk9KTYfqHxQbDBluvArXYVVnNvnA="; hash = "sha256-SGXqDjt2wzC/rTAGlV8DSFxauUvIrG3RgOxPCUsAJQ0=";
}; };
nativeBuildInputs = with python.pkgs; [ nativeBuildInputs = with python.pkgs; [

View File

@ -4,7 +4,7 @@ buildPythonPackage rec {
# the frontend version corresponding to a specific home-assistant version can be found here # the frontend version corresponding to a specific home-assistant version can be found here
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend"; pname = "home-assistant-frontend";
version = "20240307.0"; version = "20240403.1";
format = "wheel"; format = "wheel";
src = fetchPypi { src = fetchPypi {
@ -12,7 +12,7 @@ buildPythonPackage rec {
pname = "home_assistant_frontend"; pname = "home_assistant_frontend";
dist = "py3"; dist = "py3";
python = "py3"; python = "py3";
hash = "sha256-Wy5TzJ6+Dbkk51TMt9zGIfjI7gMrT4mK0IIRnl4byVE="; hash = "sha256-kvgyecLgp5KFhwKl4AGhbJeq1mwhR0UVcjeZqaB+6nQ=";
}; };
# there is nothing to strip in this package # there is nothing to strip in this package

View File

@ -9,27 +9,24 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "home-assistant-intents"; pname = "home-assistant-intents";
version = "2024.3.12"; version = "2024.4.3";
format = "pyproject"; format = "wheel";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit version format;
hash = "sha256-9oMn5ogHcuopAnXgATu9xlBBBMeWJ9RT5C//xJ5FOBI="; pname = "home_assistant_intents";
dist = "py3";
python = "py3";
hash = "sha256-GraYVtioKIoKlPRBhhhzlbBfI6heXAaA1MQpUqAgEDQ=";
}; };
postPatch = '' build-system = [
substituteInPlace pyproject.toml --replace-fail \
'requires = ["setuptools~=62.3", "wheel~=0.37.1"]' \
'requires = ["setuptools"]'
'';
nativeBuildInputs = [
setuptools setuptools
]; ];
# sdist does not ship tests # sdist/wheel do not ship tests
doCheck = false; doCheck = false;
pytestFlagsArray = [ pytestFlagsArray = [

View File

@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "homeassistant-stubs"; pname = "homeassistant-stubs";
version = "2024.3.3"; version = "2024.4.0";
format = "pyproject"; format = "pyproject";
disabled = python.version != home-assistant.python.version; disabled = python.version != home-assistant.python.version;
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "KapJI"; owner = "KapJI";
repo = "homeassistant-stubs"; repo = "homeassistant-stubs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-Qc+pwG87R57wGyCujMQ6qygDOhRh/FoDf1HTRZS3M6s="; hash = "sha256-5igsxs0/1S0sYlaNxFSsTAo9HkIAqn3XZ031VjAkEQg=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -6,16 +6,16 @@
buildGoModule rec { buildGoModule rec {
pname = "exportarr"; pname = "exportarr";
version = "2.0.0"; version = "2.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "onedr0p"; owner = "onedr0p";
repo = "exportarr"; repo = "exportarr";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-hUgi50BFmtJfp/rNUA8QGYSflfSMANbelPndL7zV7v8="; hash = "sha256-A6G1b9hTGp35ZHsDaMAZdH0LkkEyXCWoV6e5Bo3UqI4=";
}; };
vendorHash = "sha256-Hy8OXFmGTxNlwbRjH05npD2p3avQfWk9k29R5sFKlNI="; vendorHash = "sha256-8MrS/BMSjyWbBM8jVQYDsvLLaolgbP22Vp2PRX33Kfw=";
subPackages = [ "cmd/exportarr" ]; subPackages = [ "cmd/exportarr" ];

View File

@ -1,17 +1,17 @@
{ {
"version": "0.25.2", "version": "26.0",
"platforms": { "platforms": {
"aarch64-linux": { "aarch64-linux": {
"arch": "linux-arm64", "arch": "linux-arm64",
"hash": "sha256-cSKOSy31mwRn8hw4fSm3w7+8Y4MeQs4+ZN+/pOX15jM=" "hash": "sha256-ZexCxgBkscKTij0lfvAv4WI8bjpR29QGZhBav8C8TmQ="
}, },
"x86_64-linux": { "x86_64-linux": {
"arch": "linux-amd64", "arch": "linux-amd64",
"hash": "sha256-CuCKFAGgGhq4gKinjZn8bRz0BCJG5GbvW7rSaAXOhJo=" "hash": "sha256-YFkr5iynq7q6w0oXlDGr/CnreBxvi7WVOtu6fKLtW2I="
}, },
"x86_64-darwin": { "x86_64-darwin": {
"arch": "darwin-amd64", "arch": "darwin-amd64",
"hash": "sha256-xNvsP6yIH8GI5RLH+jRgZC08Mch2Z1WFsEHIwfcI77A=" "hash": "sha256-FkWie6DgIhgojrn48rt9/GT0Lmu7jt74q2rzw1MI2Ws="
} }
} }
} }

View File

@ -5,13 +5,13 @@
buildGoModule rec { buildGoModule rec {
pname = "weaviate"; pname = "weaviate";
version = "1.24.6"; version = "1.24.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "weaviate"; owner = "weaviate";
repo = "weaviate"; repo = "weaviate";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-1IwLHSQxCSGLnva37JNIfaSzVBRAPNw/RYvx6ksFEFU="; hash = "sha256-KLKzHB+MzaLifMNdMCziFNawFBMUWJ75Xozu53yvJFU=";
}; };
vendorHash = "sha256-DMzwIxtF267C2OLyVdZ6CrCz44sy6ZeKL2qh8AkhS2I="; vendorHash = "sha256-DMzwIxtF267C2OLyVdZ6CrCz44sy6ZeKL2qh8AkhS2I=";

View File

@ -7,11 +7,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "snappymail"; pname = "snappymail";
version = "2.35.4"; version = "2.36.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/the-djmaze/snappymail/releases/download/v${version}/snappymail-${version}.tar.gz"; url = "https://github.com/the-djmaze/snappymail/releases/download/v${version}/snappymail-${version}.tar.gz";
sha256 = "sha256-l75s2ntZM/eqoFqw8bMkmxwPBvOFwf2Y8TpSsyzu3cU="; sha256 = "sha256-UTzWGwvlRtflpvMNbEg9XM2wllfa41EGLri9GcDzP4c=";
}; };
sourceRoot = "snappymail"; sourceRoot = "snappymail";

View File

@ -9,16 +9,16 @@
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "nu-plugin-net"; pname = "nu-plugin-net";
version = "unstable-2023-11-15"; version = "unstable-2024-04-05";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fennewald"; owner = "fennewald";
repo = "nu_plugin_net"; repo = "nu_plugin_net";
rev = "20a0a18be0e11650f453d6f186d99d3691a1cd6a"; rev = "a84d72290f513397a359581b9447a4e638ce60c9";
hash = "sha256-GHUis38mz9sI5s+E/eLyA0XPyuNpPoS1TyhU3pMEsvs="; hash = "sha256-uKLYTRR2tThSvwWbvEePOLZ9ehNPfCYruZxTKSIxpEA=";
}; };
cargoHash = "sha256-T5kUVtJty8pfPihtkJqCgF3AUFcBuu2cwX4cVGM8n5U="; cargoHash = "sha256-2A9RalZhXigLq/6w738G6PnkV3FyK+3HHXPDQRHTIm0=";
nativeBuildInputs = [ nativeBuildInputs = [
rustPlatform.bindgenHook rustPlatform.bindgenHook

View File

@ -6,13 +6,13 @@
}: }:
buildGoModule rec { buildGoModule rec {
pname = "aws-sso-cli"; pname = "aws-sso-cli";
version = "1.14.3"; version = "1.15.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "synfinatic"; owner = "synfinatic";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-6UP+5niKAdO4DgdEnTdpbUnr2BLKwAgHcEZqkgzCcqs="; hash = "sha256-FbJ9l1C6mOgB7I5+jIQVKI3xJAJI3GuDFCjmIP8Qf10=";
}; };
vendorHash = "sha256-TU5kJ0LIqHcfEQEkk69xWJZk30VD9XwlJ5b83w1mHKk="; vendorHash = "sha256-TU5kJ0LIqHcfEQEkk69xWJZk30VD9XwlJ5b83w1mHKk=";

View File

@ -8,11 +8,11 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "blueman"; pname = "blueman";
version = "2.3.5"; version = "2.4";
src = fetchurl { src = fetchurl {
url = "https://github.com/blueman-project/blueman/releases/download/${version}/${pname}-${version}.tar.xz"; url = "https://github.com/blueman-project/blueman/releases/download/${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-stIa/fd6Bs2G2vVAJAb30qU0WYF+KeC+vEkR1PDc/aE="; sha256 = "sha256-Gfp3bpWQuy0w6pBcHJaCIyo0fX66qwqdSz1guv5J+uE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -12,14 +12,15 @@ if [[ "$latestVersion" == "$currentVersion" ]]; then
exit 0 exit 0
fi fi
hash_aarch64_darwin=$(nix-prefetch-url https://www.archimatetool.com/downloads/archi/$latestVersion/Archi-Mac-Silicon-$latestVersion.dmg) for i in \
hash_x86_64_darwin=$(nix-prefetch-url https://www.archimatetool.com/downloads/archi/$latestVersion/Archi-Mac-$latestVersion.dmg) "aarch64-darwin Archi-Mac-Silicon-$latestVersion.dmg" \
hash_x86_64_linux=$(nix-prefetch-url https://www.archimatetool.com/downloads/archi/$latestVersion/Archi-Linux64-$latestVersion.tgz) "x86_64-darwin Archi-Mac-$latestVersion.dmg" \
"x86_64-linux Archi-Linux64-$latestVersion.tgz"
update-source-version archi 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" --system=aarch64-darwin do
update-source-version archi $latestVersion $hash_aarch64_darwin --system=aarch64-darwin set -- $i
update-source-version archi 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" --system=x86_64-darwin prefetch=$(nix-prefetch-url https://www.archimatetool.com/downloads/archi/$latestVersion/$2)
update-source-version archi $latestVersion $hash_x86_64_darwin --system=x86_64-darwin hash=$(nix-hash --type sha256 --to-sri $prefetch)
update-source-version archi 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" --system=x86_64-linux
update-source-version archi $latestVersion $hash_x86_64_linux --system=x86_64-linux
update-source-version archi 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" --system=$1
update-source-version archi $latestVersion $hash --system=$1
done

View File

@ -8,16 +8,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "kalker"; pname = "kalker";
version = "2.1.0"; version = "2.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "PaddiM8"; owner = "PaddiM8";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-oBdo/FQZsJnUwhGrBuRWKZIvw2lZab9N/rv/muofs04="; hash = "sha256-Ri0Os+/AqGWgf/2V5D7xvelOC3JTOMjNzjq56mhA3G4=";
}; };
cargoHash = "sha256-v4biE3J1a3qxiqJrSTFxyZhOJpoCnh2lZFBjy4O3XiE="; cargoHash = "sha256-0+NYbVMIUarLppBZu6mtyGd+2fvkjEUq0TX7urBq3XI=";
buildInputs = [ gmp mpfr libmpc ]; buildInputs = [ gmp mpfr libmpc ];

View File

@ -7,16 +7,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rustypaste-cli"; pname = "rustypaste-cli";
version = "0.8.0"; version = "0.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "orhun"; owner = "orhun";
repo = "rustypaste-cli"; repo = "rustypaste-cli";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-FfAX7a94EY2Y+FHE33UdxbLbFlSq69flvx3uPYlvkT4="; hash = "sha256-Nx0mnwoyJlZSaOiGsqhrx6o9ZDJAGbEpOBhPknbZBjI=";
}; };
cargoHash = "sha256-FVhOxJE1sI9Ka2teDU8xnbuDvtdIwubuE7+3ypo4+yQ="; cargoHash = "sha256-z/llEeUfiWPCy8JspmpbbX0FCb8eXPvV1SJAW7ujSyU=";
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.Security

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "topicctl"; pname = "topicctl";
version = "1.14.2"; version = "1.16.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "segmentio"; owner = "segmentio";
repo = "topicctl"; repo = "topicctl";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-VOy6IoXw3MCa5hNQ/BmuGKwjbNRvDC+xwIcLXep8rRI="; sha256 = "sha256-yB9VOrfL6eFdENiWsqQcVMEVJjRjp3El/JUp2jX5nM8=";
}; };
vendorHash = "sha256-+mnnvdna1g6JE29weOJZmdO3jFp2a75dV9wK2XcWJ9s="; vendorHash = "sha256-+mnnvdna1g6JE29weOJZmdO3jFp2a75dV9wK2XcWJ9s=";

Some files were not shown because too many files have changed in this diff Show More