Merge master into staging-next

This commit is contained in:
github-actions[bot]
2025-01-05 06:04:25 +00:00
committed by GitHub
116 changed files with 682 additions and 557 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
backport:
name: Backport Pull Request
if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true && (github.event_name != 'labeled' || startsWith('backport', github.event.label.name))
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
# Use a GitHub App to create the PR so that CI gets triggered
# The App is scoped to Repository > Contents and Pull Requests: write for Nixpkgs
+1 -1
View File
@@ -16,7 +16,7 @@ permissions:
jobs:
tests:
name: basic-eval-checks
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
# we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+1 -1
View File
@@ -11,7 +11,7 @@ permissions: {}
jobs:
check:
name: cherry-pick-check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.repository_owner == 'NixOS'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -10,7 +10,7 @@ permissions:
jobs:
nixos:
name: maintainer-list-check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.repository_owner == 'NixOS'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
nixos:
name: nixfmt-check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: get-merge-commit
if: "needs.get-merge-commit.outputs.mergedSha && !contains(github.event.pull_request.title, '[skip treewide]')"
steps:
+1 -1
View File
@@ -9,7 +9,7 @@ permissions:
jobs:
nixos:
name: exp-nixf-tidy-check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: "!contains(github.event.pull_request.title, '[skip treewide]')"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+2 -2
View File
@@ -11,7 +11,7 @@ permissions: {}
jobs:
x86_64-linux:
name: shell-check-x86_64-linux
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
@@ -23,7 +23,7 @@ jobs:
aarch64-darwin:
name: shell-check-aarch64-darwin
runs-on: macos-latest
runs-on: macos-14
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
+2 -2
View File
@@ -41,7 +41,7 @@ jobs:
# Check that code owners is valid
check:
name: Check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: get-merge-commit
if: needs.get-merge-commit.outputs.mergedSha
steps:
@@ -88,7 +88,7 @@ jobs:
# Request reviews from code owners
request:
name: Request
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
tests:
name: editorconfig-check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: get-merge-commit
if: "needs.get-merge-commit.outputs.mergedSha && github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip treewide]')"
steps:
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
nixpkgs-lib-tests:
name: nixpkgs-lib-tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: get-merge-commit
if: needs.get-merge-commit.outputs.mergedSha
steps:
+5 -5
View File
@@ -21,7 +21,7 @@ jobs:
attrs:
name: Attributes
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: get-merge-commit
# Skip this and dependent steps if the PR can't be merged
if: needs.get-merge-commit.outputs.mergedSha
@@ -60,7 +60,7 @@ jobs:
eval-aliases:
name: Eval nixpkgs with aliases enabled
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [ attrs, get-merge-commit ]
steps:
- name: Check out the PR at the test merge commit
@@ -78,7 +78,7 @@ jobs:
outpaths:
name: Outpaths
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [ attrs, get-merge-commit ]
strategy:
fail-fast: false
@@ -118,7 +118,7 @@ jobs:
process:
name: Process
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [ outpaths, attrs, get-merge-commit ]
outputs:
baseRunId: ${{ steps.baseRunId.outputs.baseRunId }}
@@ -218,7 +218,7 @@ jobs:
# Separate job to have a very tightly scoped PR write token
tag:
name: Tag
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [ attrs, process ]
if: needs.process.outputs.baseRunId
permissions:
+1 -1
View File
@@ -12,7 +12,7 @@ permissions: {}
jobs:
resolve-merge-commit:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
mergedSha: ${{ steps.merged.outputs.mergedSha }}
steps:
+1 -1
View File
@@ -16,7 +16,7 @@ permissions:
jobs:
labels:
name: label-pr
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: "github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip treewide]')"
steps:
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
+1 -1
View File
@@ -13,7 +13,7 @@ on:
jobs:
nixos:
name: nixos-manual-build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.repository_owner == 'NixOS'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+1 -1
View File
@@ -15,7 +15,7 @@ on:
jobs:
nixpkgs:
name: nixpkgs-manual-build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.repository_owner == 'NixOS'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
tests:
name: nix-files-parseable-check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: get-merge-commit
if: "needs.get-merge-commit.outputs.mergedSha && github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip treewide]')"
steps:
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
check:
name: nixpkgs-vet
# This needs to be x86_64-linux, because we depend on the tooling being pre-built in the GitHub releases.
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
# This should take 1 minute at most, but let's be generous. The default of 6 hours is definitely too long.
timeout-minutes: 10
needs: get-merge-commit
+1 -1
View File
@@ -13,7 +13,7 @@ permissions: {}
jobs:
fail:
name: "This PR is is targeting a channel branch"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- run: |
cat <<EOF
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
contents: write # for devmasx/merge-branch to merge branches
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
if: github.repository_owner == 'NixOS'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
# don't fail fast, so that all pairs are tried
fail-fast: false
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
contents: write # for devmasx/merge-branch to merge branches
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
if: github.repository_owner == 'NixOS'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
# don't fail fast, so that all pairs are tried
fail-fast: false
@@ -26,7 +26,7 @@ jobs:
contents: write # for devmasx/merge-branch to merge branches
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
if: github.repository_owner == 'NixOS'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
name: git merge-base master staging → haskell-updates
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+1 -1
View File
@@ -73,7 +73,7 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: get-merge-commit
steps:
- uses: actions/checkout@<VERSION>
@@ -283,6 +283,8 @@
[Prisma ORM upgrade guide](https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6)
for more information.
- `nq` was updated to 1.0, which renames the `fq` and `tq` utilities to `nqtail` and `nqterm` respectively.
- `zf` was updated to 0.10.2, which includes breaking changes from the [0.10.0 release](https://github.com/natecraddock/zf/releases/tag/0.10.0).
`zf` no longer does Unicode normalization of the input and no longer supports terminal escape sequences in the `ZF_PROMPT` environment variable.
+1 -1
View File
@@ -5,7 +5,7 @@
...
}:
let
pcmciaUtils = pkgs.pcmciaUtils.passthru.function {
pcmciaUtils = pkgs.pcmciaUtils.overrideAttrs {
inherit (config.hardware.pcmcia) firmware config;
};
in
@@ -10,8 +10,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "sourcery";
publisher = "sourcery";
version = "1.25.0";
hash = "sha256-oIKJsoGI2MqRZAnfroHbEiYObeATkFaw2ONC9WDFSDc=";
version = "1.27.0";
hash = "sha256-Z7kINeq4m0XZ4wFalC0vZylMbR5dRTyFr4AZkHD+N/M=";
};
postPatch = ''
+2 -2
View File
@@ -22,11 +22,11 @@
stdenv.mkDerivation rec {
pname = "survex";
version = "1.4.14";
version = "1.4.15";
src = fetchurl {
url = "https://survex.com/software/${version}/${pname}-${version}.tar.gz";
hash = "sha256-TKOgbwUGE1z1PUZxfukugZWsJY1ml/VMAJ7xDIqWZWs=";
hash = "sha256-8RuVHVugJmTP3CBYXzxxZGe5GYGUxJrlkzxXFRakkWI=";
};
nativeBuildInputs = [
@@ -46,14 +46,14 @@
stdenv.mkDerivation (finalAttrs: {
pname = "telegram-desktop-unwrapped";
version = "5.9.0";
version = "5.10.0";
src = fetchFromGitHub {
owner = "telegramdesktop";
repo = "tdesktop";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-X29+VKY2L5kIh7eV1b3gMJ6Oi8Jjbr6uZuysKzH9roQ=";
hash = "sha256-gkwu28VWelUhjkvcosBnGuT1J0MLykOufcsn9jl7vqU=";
};
postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
@@ -13,16 +13,16 @@ let
common = { stname, target, postInstall ? "" }:
buildGoModule rec {
pname = stname;
version = "1.28.0";
version = "1.28.1";
src = fetchFromGitHub {
owner = "syncthing";
repo = "syncthing";
tag = "v${version}";
hash = "sha256-JW78n/3hssH600uXn4YLxcIJylPbSpEZICtKmqfqamI=";
hash = "sha256-Xr2765+DDK7dm3WDIwB3vbMG5CrguxsFp9qGd4wwhnA=";
};
vendorHash = "sha256-9/PfiOSCInduQXZ47KbrD3ca9O0Zt+TP7XoX+HjwQgs=";
vendorHash = "sha256-V8mMvIiEaYzTIFwUsdcV5ntHklR7Cs3ZhB5nYUT0180=";
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
# Recent versions of macOS seem to require binaries to be signed when
@@ -14,16 +14,16 @@
buildGoModule rec {
pname = "lima";
version = "1.0.2";
version = "1.0.3";
src = fetchFromGitHub {
owner = "lima-vm";
repo = "lima";
rev = "v${version}";
hash = "sha256-LNsxMrbEgdosGDDUNvMZq/hpP5azNiIHjKTp0Iw/PC0=";
hash = "sha256-S0Mk7h4gH5syP/ayK5g1g8HG5f23sKCQCCbM6xOj+n0=";
};
vendorHash = "sha256-taozyQBJvkCsJAaOHg1gFK4qOnepRbzIn4jHzxfAn6A=";
vendorHash = "sha256-1SHiz+lfG4nl1qavq/Fd73UV8LkErILk7d8XZJSbHd0=";
nativeBuildInputs = [
makeWrapper
@@ -71,7 +71,7 @@ buildGoModule rec {
'';
doInstallCheck = true;
# Workaround for: "panic: $HOME is not defined" at https://github.com/lima-vm/lima/blob/v1.0.2/pkg/limayaml/defaults.go#L52
# Workaround for: "panic: $HOME is not defined" at https://github.com/lima-vm/lima/blob/v1.0.3/pkg/limayaml/defaults.go#L52
# Don't use versionCheckHook for this package. It cannot inject environment variables.
installCheckPhase = ''
if [[ "$(HOME="$(mktemp -d)" "$out/bin/limactl" --version | cut -d ' ' -f 3)" == "${version}" ]]; then
+5 -2
View File
@@ -10,11 +10,12 @@
python3Packages,
wrapGAppsHook4,
appstream,
nix-update-script,
}:
python3Packages.buildPythonApplication rec {
pname = "addwater";
version = "1.1.6";
version = "1.2.2";
# built with meson, not a python format
pyproject = false;
@@ -22,7 +23,7 @@ python3Packages.buildPythonApplication rec {
owner = "largestgithubuseronearth";
repo = "addwater";
tag = "v${version}";
hash = "sha256-5iuSRA18TWj6naw5MraGZ1Y9OUWEVg2oKqQtkC8rMWw=";
hash = "sha256-BpV4nJbJNMI0Nzzsl1NbsWTNRMFRBSrUF1+Qdd7h6eg=";
};
buildInputs = [
@@ -45,6 +46,8 @@ python3Packages.buildPythonApplication rec {
requests
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Installer for the fantastic GNOME for Firefox theme";
homepage = "https://github.com/largestgithubuseronearth/addwater";
+2 -2
View File
@@ -15,13 +15,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "doomretro";
version = "5.6";
version = "5.6.1";
src = fetchFromGitHub {
owner = "bradharding";
repo = "doomretro";
rev = "v${finalAttrs.version}";
hash = "sha256-ykErEXKpd/79cUhubZiLC7u10yJy8oYCWOMeHLYRHts=";
hash = "sha256-v/a7Jc82QpH58c6pkki8xXZBi0v54oz03A2A/Oz3udU=";
};
nativeBuildInputs = [
+2 -2
View File
@@ -27,7 +27,7 @@
}:
let
version = "1.20.0";
version = "1.20.1";
# build stimuli file for PGO build and the script to generate it
# independently of the foot's build, so we can cache the result
@@ -104,7 +104,7 @@ stdenv.mkDerivation {
owner = "dnkl";
repo = "foot";
rev = version;
hash = "sha256-bvU8A2y/9ETqgFtBUZ5wp0dXybTCLl32yY/BB6r/pd8=";
hash = "sha256-0tnB6fCZEUAlQ3iPxXXlJ5EXPMeWSNIHsIWV4d3cuKM=";
};
separateDebugInfo = true;
+3 -3
View File
@@ -5,14 +5,14 @@
}:
rustPlatform.buildRustPackage rec {
pname = "krabby";
version = "0.2.1";
version = "0.2.2";
src = fetchCrate {
inherit pname version;
hash = "sha256-YEY4bUZV9BpyVXzEGvnLyfG0GdE3xMN9tHlsg6RqMkk=";
hash = "sha256-BmTx2kpnibTVuutAIrpFTTOGpO6WzITb6SXwUKuMtYY=";
};
cargoHash = "sha256-6NV+kqnloEFTygE5LLuCsgMYXGiDwOTnP6/CK2c9DOs=";
cargoHash = "sha256-gZzjx4JWe3CcG8wuQRTYjyEvvhCyUBXHQSw5sYhih9o=";
meta = with lib; {
description = "Print pokemon sprites in your terminal";
+14 -5
View File
@@ -26,9 +26,14 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"^mac-(\\d+\\.\\d+\\.\\d+)$"
];
};
meta = with lib; {
meta = {
description = "RSS reader for macOS and iOS";
longDescription = ''
It's like podcasts but for reading.
@@ -36,8 +41,12 @@ stdenvNoCC.mkDerivation rec {
'';
homepage = "https://github.com/Ranchero-Software/NetNewsWire";
changelog = "https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-${version}";
license = licenses.mit;
platforms = platforms.darwin;
maintainers = with maintainers; [ jakuzure ];
license = lib.licenses.mit;
platforms = lib.platforms.darwin;
maintainers = with lib.maintainers; [
jakuzure
DimitarNestorov
];
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
};
}
+9 -6
View File
@@ -14,14 +14,14 @@
stdenv.mkDerivation (finalAttrs: {
pname = "newsraft";
version = "0.27";
version = "0.28";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "newsraft";
repo = "newsraft";
rev = "newsraft-${finalAttrs.version}";
hash = "sha256-MtdFnoB6Dc3xvTCc2PMIp5VsZiU5JE58q6WctM3mDZw=";
hash = "sha256-iRoQLGmiAPpt9ZpvHpytIWHldkvV/5qVjurypCycJYI=";
};
nativeBuildInputs = [ pkg-config ];
@@ -38,12 +38,15 @@ stdenv.mkDerivation (finalAttrs: {
passthru.updateScript = nix-update-script { };
meta = with lib; {
meta = {
description = "Feed reader for terminal";
homepage = "https://codeberg.org/grisha/newsraft";
license = licenses.isc;
maintainers = with maintainers; [ arthsmn ];
license = lib.licenses.isc;
maintainers = with lib.maintainers; [
arthsmn
luftmensch-luftmensch
];
mainProgram = "newsraft";
platforms = platforms.all;
platforms = lib.platforms.all;
};
})
+20 -9
View File
@@ -2,28 +2,39 @@
stdenv,
lib,
fetchFromGitHub,
perl, # for tests
}:
stdenv.mkDerivation rec {
pname = "nq";
version = "0.5";
version = "1.0";
src = fetchFromGitHub {
owner = "chneukirchen";
owner = "leahneukirchen";
repo = "nq";
rev = "v${version}";
sha256 = "sha256-g14t2Wy2GwiqnfEDiLAPGehzUgK6mLC+5PAZynez62s=";
hash = "sha256-gdVBSE2a4rq46o0uO9ICww6zicVgn6ykf4CeJ/MmiF4=";
};
nativeCheckInputs = [ perl ];
makeFlags = [ "PREFIX=$(out)" ];
postPatch = ''
sed -i tq \
sed -i nqterm \
-e 's|\bnq\b|'$out'/bin/nq|g' \
-e 's|\bfq\b|'$out'/bin/fq|g'
-e 's|\bnqtail\b|'$out'/bin/nqtail|g'
'';
meta = with lib; {
doCheck = true;
meta = {
description = "Unix command line queue utility";
homepage = "https://github.com/chneukirchen/nq";
license = licenses.publicDomain;
platforms = platforms.all;
homepage = "https://github.com/leahneukirchen/nq";
changelog = "https://github.com/leahneukirchen/nq/blob/v${version}/NEWS.md";
license = lib.licenses.publicDomain;
platforms = lib.platforms.all;
maintainers = [ ];
};
}
+4 -4
View File
@@ -8,17 +8,17 @@
buildGoModule {
pname = "packwiz";
version = "0-unstable-2024-05-27";
version = "0-unstable-2024-10-15";
src = fetchFromGitHub {
owner = "packwiz";
repo = "packwiz";
rev = "7b4be47578151c36e784306b36d251ec2590e50c";
sha256 = "sha256-XBp8Xv55R8rhhsQiWnOPH8c3fCpV/yq41ozJDcGdWfs=";
rev = "0626c00149a8d9a5e9f76e5640e7b8b95c064350";
sha256 = "sha256-eAGfLUcyjDR2oJjLK3+DiuICTqoOcIwO5wL350w6vGw=";
};
passthru.updateScript = unstableGitUpdater { };
vendorHash = "sha256-yL5pWbVqf6mEpgYsItLnv8nwSmoMP+SE0rX/s7u2vCg=";
vendorHash = "sha256-krdrLQHM///dtdlfEhvSUDV2QljvxFc2ouMVQVhN7A0=";
nativeBuildInputs = [
installShellFiles
+1
View File
@@ -35,6 +35,7 @@ stdenv.mkDerivation rec {
sed -i "
s,/sbin/modprobe,${kmod}&,;
s,/lib/udev/,$out/sbin/,;
s,__UDEVHELPERDIR__/,$out/lib/udev/,;
" udev/* # fix-color */
sed -i "
s,/lib/firmware,$out&,;
+2 -2
View File
@@ -20,13 +20,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rocksdb";
version = "9.8.4";
version = "9.10.0";
src = fetchFromGitHub {
owner = "facebook";
repo = "rocksdb";
rev = "v${finalAttrs.version}";
hash = "sha256-A6Gx4FqoGlxITUUz9k6tkDjUcLtMUBK9JS8vuAS96H0=";
hash = "sha256-G+DlQwEUyd7JOCjS1Hg1cKWmA/qAiK8UpUIKcP+riGQ=";
};
patches = lib.optional (
+1
View File
@@ -61,6 +61,7 @@ stdenv.mkDerivation (finalAttrs: {
hardeningDisable = [
"fortify"
"pic"
"pie" # ld: warning: creating DT_TEXTREL in a PIE (and more)
"stackprotector"
];
+6 -2
View File
@@ -4,13 +4,14 @@
fetchFromGitHub,
makeBinaryWrapper,
symlinkJoin,
versionCheckHook,
vale,
valeStyles,
}:
buildGoModule rec {
pname = "vale";
version = "3.9.2";
version = "3.9.3";
subPackages = [ "cmd/vale" ];
@@ -18,7 +19,7 @@ buildGoModule rec {
owner = "errata-ai";
repo = "vale";
rev = "v${version}";
hash = "sha256-2LiuzO1Fha4uS0WNs2mihE/EOSTZa0fOWPzuBw22VlM=";
hash = "sha256-2IvVF/x8n1zvVXHAJLAFuDrw0Oi/RuQDa851SBlyRIk=";
};
vendorHash = "sha256-EWAgzb3ruxYqaP+owcyGDzNnkPDYp0ttHwCgNXuuTbk=";
@@ -30,6 +31,9 @@ buildGoModule rec {
# Tests require network access
doCheck = false;
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.withStyles =
selector:
@@ -5,13 +5,13 @@
buildDunePackage rec {
pname = "reason";
version = "3.13.0";
version = "3.14.0";
minimalOCamlVersion = "4.11";
src = fetchurl {
url = "https://github.com/reasonml/reason/releases/download/${version}/reason-${version}.tbz";
hash = "sha256-3yVEYGvIJKZwguIBGCbnoc3nrwzLW6RX6Tf+AYw85+Q=";
hash = "sha256-HQm6JKBZR0Wrazi01fgerYVltzy2mtRq8cLCb40yTwA=";
};
nativeBuildInputs = [
@@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = !stdenv.hostPlatform.isDarwin; # usual dynamic linker issues
meta = with lib; {
homepage = "https://elastix.lumc.nl";
homepage = "https://elastix.dev";
description = "Image registration toolkit based on ITK";
changelog = "https://github.com/SuperElastix/elastix/releases/tag/${finalAttrs.version}";
maintainers = with maintainers; [ bcdarwin ];
@@ -8,14 +8,14 @@
buildDunePackage rec {
pname = "higlo";
version = "0.9";
version = "0.10.0";
src = fetchFromGitLab {
domain = "framagit.org";
owner = "zoggy";
repo = "higlo";
rev = version;
hash = "sha256-SaFFzp4FCjVLdMLH6mNIv3HzJbkXJ5Ojbku258LCfLI=";
hash = "sha256-A5Su4+eBOq/WNdY/3EBQ3KqrRQuaCI1x25cEuoZp4Mo=";
};
propagatedBuildInputs = [
@@ -6,7 +6,7 @@ assert (!blas.isILP64) && (!lapack.isILP64);
buildDunePackage rec {
pname = "lacaml";
version = "11.1.0";
version = "11.1.1";
useDune2 = true;
@@ -14,7 +14,7 @@ buildDunePackage rec {
src = fetchurl {
url = "https://github.com/mmottl/lacaml/releases/download/${version}/lacaml-${version}.tbz";
sha256 = "sha256-3wuUX942wyWWXb5MjfeHZhx2/kS/+3JFVd04Ty/ZtwA=";
sha256 = "sha256-NEs7A/lfA+8AE6k19EPW02e1pseDE7HobGSB/ZwLcoc=";
};
buildInputs = [ dune-configurator ];
@@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "aioacaia";
version = "0.1.12";
version = "0.1.13";
pyproject = true;
disabled = pythonOlder "3.12";
@@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "zweckj";
repo = "aioacaia";
tag = "v${version}";
hash = "sha256-XtHze2EYLSGm3u8aG6vbogqki83k1mBKy/bC8gCCoWQ=";
hash = "sha256-c+xtVUSyH9dBz97eI+8YYG/yW08kZFLNXnHudxYchCE=";
};
build-system = [ setuptools ];
@@ -1,6 +1,7 @@
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
freezegun,
@@ -18,7 +19,7 @@
buildPythonPackage rec {
pname = "aioautomower";
version = "2024.10.3";
version = "2024.12.0";
pyproject = true;
disabled = pythonOlder "3.11";
@@ -27,7 +28,7 @@ buildPythonPackage rec {
owner = "Thomas55555";
repo = "aioautomower";
tag = version;
hash = "sha256-kLsHJBmNxh+PmJQ9Y9Ve/CACovzsRZyzVjor/VKUmYk=";
hash = "sha256-JLlmvd6Hgf1a3YU9xfbw8plEbRDNgCzxF3PpveGsrPg=";
};
postPatch = ''
@@ -47,6 +48,7 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
aioresponses
freezegun
pytest-asyncio
pytest-cov-stub
@@ -56,13 +58,14 @@ buildPythonPackage rec {
pythonImportsCheck = [ "aioautomower" ];
pytestFlagsArray = [ "--snapshot-update" ];
disabledTests = [
# File is missing
"test_standard_mower"
# Call no found
"test_post_commands"
# Timezone mismatches
"test_full_planner_event"
"test_sinlge_planner_event"
];
meta = with lib; {
@@ -11,6 +11,7 @@
pytest-cov-stub,
pytest-mock,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
redis,
setuptools,
@@ -54,10 +55,15 @@ buildPythonPackage rec {
"--deselect=tests/ut/backends/test_redis.py::TestRedisBackend::test_close"
];
disabledTests = [
# Test calls apache benchmark and fails, no usable output
"test_concurrency_error_rates"
];
disabledTests =
[
# Test calls apache benchmark and fails, no usable output
"test_concurrency_error_rates"
]
++ lib.optionals (pythonAtLeast "3.13") [
# https://github.com/aio-libs/aiocache/issues/863
"test_cache_write_doesnt_wait_for_future"
];
disabledTestPaths = [
# Benchmark and performance tests are not relevant for Nixpkgs
@@ -17,14 +17,14 @@
buildPythonPackage rec {
pname = "aiohasupervisor";
version = "0.2.1";
version = "0.2.2b5";
pyproject = true;
disabled = pythonOlder "3.12";
src = fetchPypi {
inherit pname version;
hash = "sha256-oSQhZf0lV5bJYdrfu4j8Hw1F+EQfivEPQomatHixy9k=";
hash = "sha256-EFVhR7L+1SVzXO4UpDrXA1EuPdeew55CV4ykO3K5BFI=";
};
postPatch = ''
@@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "aioshelly";
version = "12.1.0";
version = "12.2.0";
pyproject = true;
disabled = pythonOlder "3.11";
@@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "home-assistant-libs";
repo = "aioshelly";
tag = version;
hash = "sha256-QcVyWabELa1bB2MOwQNPItXLgeOXlFpRh69dS+m1FLI=";
hash = "sha256-Y6gFFo0kzdHGaRqNVHhr0vvWBwRO2kOaoR4BFUbyYUQ=";
};
build-system = [ setuptools ];
@@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "aioswitcher";
version = "5.0.0";
version = "6.0.0";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "TomerFi";
repo = "aioswitcher";
tag = version;
hash = "sha256-cKHH1yXVm/kZigO1Ub0XZEv+yq4lROc4SGFLqFuwQto=";
hash = "sha256-nf4PEitfM9uYOlmm/cfILnFo/xx8g7rjYn2nkf3gjMg=";
};
__darwinAllowLocalNetworking = true;
@@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "authlib";
version = "1.3.2";
version = "1.4.0";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "lepture";
repo = "authlib";
tag = "v${version}";
hash = "sha256-gaFnai5QzHhnyn73JB+QzybaolLWC9barBFdnlEMyMU=";
hash = "sha256-GUB/ioyeFfuuKZqsqJkDq0e6ETa1jqyr+GJHPddLRkA=";
};
build-system = [ setuptools ];
@@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "bellows";
version = "0.42.5";
version = "0.42.6";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "bellows";
tag = version;
hash = "sha256-RdNJmIhJR4Ubb4hppFkde8EeYHtFSoJp3CJPGj0463U=";
hash = "sha256-qMODlsImGSvUkR+0jjrU23jJtM3c7JNJ7lY7Svli+ao=";
};
postPatch = ''
@@ -9,6 +9,7 @@
pytest-vcr,
pytestCheckHook,
python-dateutil,
pythonAtLeast,
pythonOlder,
requests,
vcrpy,
@@ -48,11 +49,16 @@ buildPythonPackage rec {
"tests/integration/api/test_*.py"
];
disabledTests = [
"test_default_settings_set"
# https://github.com/DataDog/datadogpy/issues/746
"TestDogshell"
];
disabledTests =
[
"test_default_settings_set"
# https://github.com/DataDog/datadogpy/issues/746
"TestDogshell"
]
++ lib.optionals (pythonAtLeast "3.13") [
# https://github.com/DataDog/datadogpy/issues/880
"test_timed_coroutine"
];
pythonImportsCheck = [ "datadog" ];
@@ -21,7 +21,7 @@
buildPythonPackage rec {
pname = "deebot-client";
version = "9.4.0";
version = "10.1.0";
pyproject = true;
disabled = pythonOlder "3.12";
@@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = "DeebotUniverse";
repo = "client.py";
tag = version;
hash = "sha256-hJGE9D0rsYKrd4XZIrOOnwaQlq75Qy4S8681wjr4VDs=";
hash = "sha256-qnXDr8+e13/VMFhFBbQJPdct5MjHwcBkLl+fo8xaEgY=";
};
pythonRelaxDeps = [
@@ -14,11 +14,13 @@ let
deid-data = buildPythonPackage rec {
pname = "deid-data";
version = "unstable-2022-12-06";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ pydicom ];
build-system = [ setuptools ];
dependencies = [ pydicom ];
src = fetchFromGitHub {
owner = "pydicom";
@@ -37,9 +39,9 @@ let
in
buildPythonPackage rec {
pname = "deid";
version = "0.3.22";
version = "0.3.25";
pyproject = true;
format = "pyproject";
disabled = pythonOlder "3.7";
# Pypi version has no tests
@@ -47,11 +49,13 @@ buildPythonPackage rec {
owner = "pydicom";
repo = pname;
# the github repo does not contain Pypi version tags:
rev = "40dc96125daeb65856d643e12c3d6dfec756be0d";
hash = "sha256-OtxQPF29eqt8I1Q12ga8a1IjBVO+VBk6y0DQmRtCNoU=";
rev = "830966d52846c6b721fabb4cc1c75f39eabd55cc";
hash = "sha256-+slwnQSeRHpoCsvZ24Gq7rOBpQL37a6Iqrj4Mqj6PCo=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
matplotlib
pydicom
python-dateutil
@@ -64,11 +68,12 @@ buildPythonPackage rec {
pythonImportsCheck = [ "deid" ];
meta = with lib; {
meta = {
description = "Best-effort anonymization for medical images";
mainProgram = "deid";
changelog = "https://github.com/pydicom/deid/blob/${version}/CHANGELOG.md";
homepage = "https://pydicom.github.io/deid";
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
@@ -6,10 +6,11 @@
backoff,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
mashumaro,
orjson,
poetry-core,
pydantic,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
yarl,
@@ -17,55 +18,43 @@
buildPythonPackage rec {
pname = "demetriek";
version = "0.4.0";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.9";
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "frenck";
repo = "python-demetriek";
tag = "v${version}";
hash = "sha256-LCHHBcZgO9gw5jyaJiiS4lKyb0ut+PJvKTylIvIKHhc=";
hash = "sha256-MDGAhsLbJqvywQntlPfM/cPyltqsqnt2C31ACpMPn0Y=";
};
patches = [
# https://github.com/frenck/python-demetriek/pull/531
(fetchpatch {
name = "pydantic_2-compatibility.patch";
url = "https://github.com/frenck/python-demetriek/commit/e677fe5b735b6b28572e3e5fd6aab56fc056f5e6.patch";
excludes = [
"pyproject.toml"
"poetry.lock"
];
hash = "sha256-oMVR45KHDhcPId/0X9obJXCPE8s1gk5IgsGsgZesdZw=";
})
];
postPatch = ''
# Upstream doesn't set a version for the pyproject.toml
substituteInPlace pyproject.toml \
--replace "0.0.0" "${version}" \
--replace "--cov" ""
--replace-fail "0.0.0" "${version}"
'';
pythonRelaxDeps = [ "pydantic" ];
nativeBuildInputs = [
build-system = [
poetry-core
];
propagatedBuildInputs = [
dependencies = [
aiohttp
awesomeversion
backoff
pydantic
mashumaro
orjson
yarl
];
nativeCheckInputs = [
aresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
@@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "dicom2nifti";
version = "2.4.11";
version = "2.5.1";
pyproject = true;
disabled = pythonOlder "3.6";
@@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "icometrix";
repo = pname;
tag = version;
hash = "sha256-/JauQZcCQDl1ukcSE3YPbf1SyhVxDNJUlqnFwdlwYQY=";
hash = "sha256-lPaBKqYO8B138fCgeKH6vpwGQhN3JCOnDj5PgaYfRPA=";
};
build-system = [ setuptools ];
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "elmax-api";
version = "0.0.6.3";
version = "0.0.6.4rc0";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "albertogeniola";
repo = pname;
tag = "v${version}";
hash = "sha256-jnm1AFnPxZIgD815ZFxV/i9ar4cZfsYJ0+xDpM3hKmg=";
hash = "sha256-BYVfP8B+p4J4gW+64xh9bT9sDcu/lk0R+MvLsYLwRfQ=";
};
build-system = [ setuptools ];
@@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "emoji";
version = "2.13.2";
version = "2.14.0";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "carpedm20";
repo = "emoji";
tag = "v${version}";
hash = "sha256-1oFzuIA2HFoBw50HHYi8bGZTAAeC6fesSnLReuXUZcM=";
hash = "sha256-ubZrVw069UiUvtEk9iff5lByGXyNalsKPv3Mj2X3qxc=";
};
build-system = [ setuptools ];
@@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "flux-led";
version = "1.0.4";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -20,18 +20,12 @@ buildPythonPackage rec {
owner = "Danielhiversen";
repo = "flux_led";
tag = version;
hash = "sha256-enYo2hZ1C8jqO+8xZhSmIOJQAyrtVUJ9S/e2Bxzhv0I=";
hash = "sha256-7gWqlb2PNRI50Xe8lv2Kim7wUYVzuQMa4BAbg2a7NvM=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail '"pytest-runner>=5.2",' ""
# webcolors API change, https://github.com/Danielhiversen/flux_led/issues/401
substituteInPlace flux_led/utils.py \
--replace-fail "CSS2_HEX_TO_NAMES.values()" 'names("css2")' \
--replace-fail "CSS21_HEX_TO_NAMES.values()" 'names("css21")' \
--replace-fail "CSS3_HEX_TO_NAMES.values()" 'names("css3")' \
--replace-fail "HTML4_HEX_TO_NAMES.values()" 'names("html4")'
'';
build-system = [ setuptools ];
@@ -47,11 +41,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "flux_led" ];
# disabledTests = [
# # AttributeError: module 'webcolors' has no attribute 'CSS2_HEX_TO_NAMES'
# "test_get_color_names_list"
# ];
meta = with lib; {
description = "Python library to communicate with the flux_led smart bulbs";
homepage = "https://github.com/Danielhiversen/flux_led";
@@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "guppy3";
version = "3.1.4.post1";
version = "3.1.5";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "zhuyifei1999";
repo = pname;
tag = "v${version}";
hash = "sha256-HHy57P6WEHZKygAbdjEh6XAApFlQueiYGr02eSQMWfc=";
hash = "sha256-hgJcy4DRfZL50dCcRv2a6GJPDabsUMfDtq7HCXXYYz8=";
};
nativeBuildInputs = [ setuptools ];
@@ -23,7 +23,7 @@
buildPythonPackage rec {
pname = "hass-nabucasa";
version = "0.86.0";
version = "0.87.0";
pyproject = true;
disabled = pythonOlder "3.12";
@@ -32,7 +32,7 @@ buildPythonPackage rec {
owner = "nabucasa";
repo = "hass-nabucasa";
tag = version;
hash = "sha256-ySo0G/Zh+KQMocMxrvUua704gt2tWQMlArqxBS/C9hs=";
hash = "sha256-V9iP/YRvxsdpYLqcRHSIULlOPQKq5fkouUXTNNeF0FY=";
};
pythonRelaxDeps = [ "acme" ];
@@ -17,19 +17,17 @@
let
pname = "hassil";
version = "2.0.5";
version = "2.1.0";
in
buildPythonPackage {
inherit pname version;
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "home-assistant";
repo = "hassil";
tag = "v${version}";
hash = "sha256-e6Y0GGURGKzbX1dniBbYEJB9K3/R84n3UmnMO0HPPPo=";
hash = "sha256-CGobMgaDHcruvOzVBIc6xS0tuaMT410t62KD3Hg30EY=";
};
build-system = [ setuptools ];
@@ -42,8 +42,9 @@
pylint,
pyperclip,
pyserial,
python3,
python,
python-daemon,
pythonOlder,
pyyaml,
requests,
setuptools,
@@ -85,7 +86,7 @@ stdenv.mkDerivation rec {
# Initialize only necessary submodules.
cd connectedhomeip
${python3}/bin/python3 scripts/checkout_submodules.py --platform linux --shallow
${python.interpreter} scripts/checkout_submodules.py --platform linux --shallow
# Keep the output deterministic.
cd $out
@@ -105,7 +106,7 @@ stdenv.mkDerivation rec {
zap-chip
# gdbus-codegen
glib
python3
python
# dependencies of build scripts
click
jinja2
@@ -200,7 +201,7 @@ stdenv.mkDerivation rec {
pyelftools
pygments
pykwalify
pylint
(pylint.overridePythonAttrs { doCheck = pythonOlder "3.13"; })
pyperclip
pyserial
python-daemon
@@ -254,7 +255,7 @@ stdenv.mkDerivation rec {
''chip_config_memory_debug_dmalloc=false''
''chip_mdns="minimal"''
''chip_minmdns_default_policy="libnl"''
''chip_python_version="${lib.versions.majorMinor python3.version}"''
''chip_python_version="${lib.versions.majorMinor python.version}"''
''chip_python_platform_tag="any"''
''chip_python_package_prefix="home-assistant-chip"''
''custom_toolchain="custom"''
@@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "ical";
version = "8.2.0";
version = "8.3.0";
pyproject = true;
disabled = pythonOlder "3.10";
@@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "allenporter";
repo = "ical";
tag = version;
hash = "sha256-9mnyhDKcZTZAGRxojQN9I9ZAgBmsSSsBPzCMZO6Rl5k=";
hash = "sha256-Hva4yCN46ACmKFZL5geR/NnEiEFHOCW/s+LOusnb1MI=";
};
build-system = [ setuptools ];
@@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "idasen-ha";
version = "2.6.2";
version = "2.6.3";
pyproject = true;
src = fetchFromGitHub {
owner = "abmantis";
repo = "idasen-ha";
tag = version;
hash = "sha256-lqqSx4jxQVq2pjVv9lvaX6nNK6OqtMjPqOtLMLpVMUU=";
hash = "sha256-Z4MfJGL2uDqY1ddoV2fB+Ty/dKFhCUY8qBfP/i/naJs=";
};
build-system = [ setuptools ];
@@ -16,8 +16,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "pburgio";
repo = "iottyCloud";
tag = "v${version}";
hash = "sha256-EtAAUyVL7FTn0VoGmU5bU9XouMuEQUOx2t6j/wd1OEo=";
tag = version;
hash = "sha256-tsCa87BdwKumsv5N0lAPZmMIfm2W6Pw0LS3sF9c/oRA=";
};
build-system = [ hatchling ];
@@ -0,0 +1,71 @@
diff --git a/usb1/_libusb1.py b/usb1/_libusb1.py
index 42b01e9..36f2d16 100644
--- a/usb1/_libusb1.py
+++ b/usb1/_libusb1.py
@@ -172,64 +172,13 @@ else:
LIBUSB_CALL_FUNCTYPE = CFUNCTYPE
def __getLibrary():
- my_dir = os.path.dirname(__file__)
system = platform.system()
- # If this is a binary wheel, try to use an integrated libusb first.
- # To use the libusb from the Python installation or the OS, install
- # from sdist:
- # > pip install --no-binary :all: libusb1
if system == 'Windows':
dll_loader = ctypes.WinDLL
- libusb_list = [
- os.path.join(my_dir, 'libusb-1.0.dll'),
- 'libusb-1.0.dll',
- ]
- find_library = None
else:
dll_loader = CDLL
- if system == 'Darwin':
- libusb_list = [
- os.path.join(my_dir, 'libusb-1.0.dylib'),
- 'libusb-1.0.dylib',
- # macport standard path
- '/opt/local/lib/libusb-1.0.dylib',
- # fink standard path
- '/sw/lib/libusb-1.0.dylib',
- # homebrew standard path for symlink (Apple M1 Silicon)
- '/opt/homebrew/opt/libusb/lib/libusb-1.0.dylib',
- ]
- find_library = None
- else:
- # .so.0 should be the optimal suffix
- # .so is for BBB, especially if libusb-1.0.so was bundled in some
- # uses of this module.
- libusb_list = [
- os.path.join(my_dir, 'libusb-1.0.so.0'),
- os.path.join(my_dir, 'libusb-1.0.so'),
- 'libusb-1.0.so.0',
- 'libusb-1.0.so',
- ]
- find_library = (
- # libusb.so.2 on FreeBSD: load('libusb.so') would work fine, but...
- # libusb.so.2debian on Debian GNU/kFreeBSD: here it wouldn't work.
- 'usb'
- if 'FreeBSD' in system else
- 'usb-1.0'
- )
- for filename in libusb_list:
- try:
- return dll_loader(filename, use_errno=True, use_last_error=True)
- except OSError:
- pass
- if find_library is not None:
- filename = ctypes.util.find_library(find_library)
- if filename is not None:
- return dll_loader(filename, use_errno=True, use_last_error=True)
- raise OSError(
- errno.ENOENT,
- 'cannot find a suitable libusb-1.0',
- libusb_list,
- )
+
+ return dll_loader("@libusb@", use_errno=True, use_last_error=True)
__load_lock = Lock()
__loaded = False
@@ -2,26 +2,33 @@
lib,
stdenv,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
substituteAll,
setuptools,
libusb1,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "libusb1";
version = "3.1.0";
format = "setuptools";
version = "3.2.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c";
src = fetchFromGitHub {
owner = "vpelletier";
repo = "python-libusb1";
tag = version;
hash = "sha256-D2VMqrq1MQa6gp8vxDiLRAqTDyRGK3qVKo6YMmo5Zrg=";
};
postPatch = ''
substituteInPlace usb1/_libusb1.py --replace \
"ctypes.util.find_library(base_name)" \
"'${libusb1}/lib/libusb-1.0${stdenv.hostPlatform.extensions.sharedLibrary}'"
'';
patches = [
(substituteAll {
src = ./ctypes.patch;
libusb = "${lib.getLib libusb1}/lib/libusb-1.0${stdenv.hostPlatform.extensions.sharedLibrary}";
})
];
build-system = [ setuptools ];
buildInputs = [ libusb1 ];
@@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "mozart-api";
version = "4.1.1.116.3";
version = "4.1.1.116.4";
pyproject = true;
disabled = pythonOlder "3.11";
@@ -26,7 +26,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "mozart_api";
inherit version;
hash = "sha256-ioM+l+1ab191OTKXE4Ou8OOPafAqZz9XmxO5c82KH8g=";
hash = "sha256-9yg02AQdHMR/Yz0dpjSb3umdNRNTo7S04Q2BY/vu7WQ=";
};
build-system = [ poetry-core ];
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
# build-system
pbr,
@@ -24,6 +25,14 @@ buildPythonPackage rec {
hash = "sha256-p7DvOGRhkCmtJ32EfttyKXGGmO5kfb2bQGqok/RJtU8=";
};
patches = [
(fetchpatch2 {
# python3.13 compat
url = "https://github.com/Infinidat/munch/commit/84651ee872f9ea6dbaed986fd3818202933a8b50.patch";
hash = "sha256-n/uBAP7pnlGZcnDuxdMKWgAEdG9gWeGoLWB97T1KloY=";
})
];
env.PBR_VERSION = version;
nativeBuildInputs = [
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
setuptools,
aiocache,
aiohttp,
@@ -35,10 +36,15 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTests = [
# requires networking
"test_region"
];
disabledTests =
[
# requires networking
"test_region"
]
++ lib.optionals (pythonAtLeast "3.13") [
# AssertionError: MyPermobilAPIException not raised
"test_request_item_404"
];
meta = {
changelog = "https://github.com/Permobil-Software/mypermobil/releases/tag/v${version}";
@@ -2,7 +2,9 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
setuptools,
standard-telnetlib,
pytestCheckHook,
}:
@@ -19,6 +21,8 @@ buildPythonPackage rec {
hash = "sha256-A19olC1rTHTy0xyeSP45fqvv9GUynQSrMgXBgW8ySOs=";
};
dependencies = lib.optionals (pythonAtLeast "3.13") [ standard-telnetlib ];
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
@@ -2,6 +2,7 @@
lib,
stdenv,
buildPythonPackage,
pythonAtLeast,
pythonOlder,
fetchFromGitHub,
substituteAll,
@@ -9,6 +10,7 @@
libopus,
aiohttp,
aiodns,
audioop-lts,
brotli,
faust-cchardet,
orjson,
@@ -42,15 +44,19 @@ buildPythonPackage rec {
setuptools
];
dependencies = [
aiodns
aiohttp
brotli
faust-cchardet
orjson
pynacl
setuptools # for pkg_resources, remove with next release
];
dependencies =
[
aiodns
aiohttp
brotli
faust-cchardet
orjson
pynacl
setuptools # for pkg_resources, remove with next release
]
++ lib.optionals (pythonAtLeast "3.13") [
audioop-lts
];
# upstream has no tests
doCheck = false;
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
pythonOlder,
# build-system
@@ -36,7 +37,7 @@
buildPythonPackage rec {
pname = "openai";
version = "1.58.1";
version = "1.59.3";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -45,7 +46,7 @@ buildPythonPackage rec {
owner = "openai";
repo = "openai-python";
tag = "v${version}";
hash = "sha256-QK0NNMJM4sj4u8nlNPBBQpqV0pBYUMcSwKqhna5q10c=";
hash = "sha256-gMykGfNgpTlh8LiFXL2p5ECSpeYCfS0LTsgHIzT1c1I=";
};
build-system = [
@@ -92,11 +93,16 @@ buildPythonPackage rec {
"ignore::DeprecationWarning"
];
disabledTests = [
# Tests make network requests
"test_copy_build_request"
"test_basic_attribute_access_works"
];
disabledTests =
[
# Tests make network requests
"test_copy_build_request"
"test_basic_attribute_access_works"
]
++ lib.optionals (pythonAtLeast "3.13") [
# RuntimeWarning: coroutine method 'aclose' of 'AsyncStream._iter_events' was never awaited
"test_multi_byte_character_multiple_chunks"
];
disabledTestPaths = [
# Test makes network requests
@@ -106,7 +112,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python client library for the OpenAI API";
homepage = "https://github.com/openai/openai-python";
changelog = "https://github.com/openai/openai-python/releases/tag/v${version}";
changelog = "https://github.com/openai/openai-python/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ malo ];
mainProgram = "openai";
@@ -22,7 +22,6 @@
# tests
opencv4,
numpy,
pympler,
pytestCheckHook,
}:
@@ -72,7 +71,6 @@ buildPythonPackage rec {
nativeCheckInputs = [
opencv4
numpy
pympler
pytestCheckHook
];
@@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "plugwise";
version = "1.6.3";
version = "1.6.4";
pyproject = true;
disabled = pythonOlder "3.11";
@@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "plugwise";
repo = "python-plugwise";
tag = "v${version}";
hash = "sha256-REWU3ngf93HUVDnyiErML41E+nPoqphfhBKmAYvV2+U=";
hash = "sha256-mzMa+i+DESgOo67SIUBofeY+KoEWdFCcNac7oqEZFgU=";
};
postPatch = ''
@@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "pyblu";
version = "1.0.4";
version = "2.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "LouisChrist";
repo = "pyblu";
tag = "v${version}";
hash = "sha256-BDuptBC72XG+q/5MlbPMjYDIhWKg4gfEo2pLOflwQaM=";
hash = "sha256-Y/9mPaOgynQock8nakjQHCs9VUs7w7EysYsGsDOM87Y=";
};
pythonRelaxDeps = [ "aiohttp" ];
@@ -10,7 +10,7 @@
}:
buildPythonPackage rec {
pname = "py-flick";
pname = "pyflick";
version = "1.1.2";
pyproject = true;
@@ -8,28 +8,38 @@
pytestCheckHook,
scipy,
setuptools,
config,
cudaSupport ? config.cudaSupport,
cupy,
pyopencl,
}:
buildPythonPackage rec {
pname = "pymatting";
version = "1.1.10";
version = "1.1.13";
pyproject = true;
src = fetchFromGitHub {
owner = "pymatting";
repo = "pymatting";
tag = "v${version}";
hash = "sha256-wHCTqcBvVN/pTXH3iW57DPpMEsnehutRQB5NaugS6Zs=";
# https://github.com/pymatting/pymatting/issues/92
rev = "afd2dec073cb08b8119300feec18c179a9d436f3";
hash = "sha256-AzdhRZgcT+gfLPZYKJLQUW7uLyXoRy6SP2raHWd9XUY=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [
numba
numpy
pillow
scipy
];
dependencies =
[
numba
numpy
pillow
scipy
]
++ lib.optionals cudaSupport [
cupy
pyopencl
];
nativeCheckInputs = [ pytestCheckHook ];
@@ -47,7 +57,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python library for alpha matting";
homepage = "https://github.com/pymatting/pymatting";
changelog = "https://github.com/pymatting/pymatting/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/pymatting/pymatting/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ blaggacao ];
};
@@ -39,7 +39,7 @@ buildPythonPackage rec {
pythonRelaxDeps = [ "defusedxml" ];
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
patches = [
(fetchpatch {
@@ -47,9 +47,14 @@ buildPythonPackage rec {
url = "https://github.com/rytilahti/python-miio/commit/67d9d771d04d51f5bd97f361ca1c15ae4a18c274.patch";
hash = "sha256-Os9vCSKyieCqHs63oX6gcLrtv1N7hbX5WvEurelEp8w=";
})
(fetchpatch {
# Python 3.13 compat
url = "https://github.com/rytilahti/python-miio/commit/0aa4df3ab1e47d564c8312016fbcfb3a9fc06c6c.patch";
hash = "sha256-Zydv3xqCliA/oAnjNmqh0vDrlZFPcTAIyW6vIZzijZY=";
})
];
propagatedBuildInputs = [
dependencies = [
android-backup
appdirs
attrs
@@ -3,7 +3,9 @@
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
standard-telnetlib,
}:
buildPythonPackage rec {
@@ -20,6 +22,8 @@ buildPythonPackage rec {
hash = "sha256-NTL2+xLqSNsz4YdUTwr0nFjhm1NNgB8qDnWSoE2sizY=";
};
dependencies = lib.optionals (pythonAtLeast "3.13") [ standard-telnetlib ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyws66i" ];
@@ -5,7 +5,7 @@
pythonOlder,
# build-system
poetry-core,
pdm-backend,
# propagates
quart,
@@ -19,17 +19,17 @@
buildPythonPackage rec {
pname = "quart-cors";
version = "0.7.0";
version = "0.8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pgjones";
repo = "quart-cors";
tag = version;
hash = "sha256-qUzs0CTZHf3fGADBXPkd3CjZ6dnz1t3cTxflMErvz/k=";
hash = "sha256-f+l+j0bjzi5FTwJzdXNyCgh3uT4zldpg22ZOgW1Wub4=";
};
build-system = [ poetry-core ];
build-system = [ pdm-backend ];
dependencies = [ quart ] ++ lib.optionals (pythonOlder "3.10") [ typing-extensions ];
@@ -1,7 +1,7 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchPypi,
pytestCheckHook,
pythonOlder,
requests,
@@ -11,16 +11,16 @@
buildPythonPackage rec {
pname = "renson-endura-delta";
version = "1.7.1";
version = "1.7.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jimmyd-be";
repo = "Renson-endura-delta-library";
tag = version;
hash = "sha256-ndk0qcRUWxUimNHg62UgeYK/MRKQd3e4JQDh9x8vFj8=";
# github repo is gone
src = fetchPypi {
pname = "renson_endura_delta";
inherit version;
hash = "sha256-bL4faNFh+ocNNspZCXE6/UZ4nH3mKkHSAEvwtN0xfoE=";
};
postPatch = ''
@@ -32,6 +32,8 @@ buildPythonPackage rec {
dependencies = [ requests ];
doCheck = false; # no tests in sdist
nativeCheckInputs = [
pytestCheckHook
requests-mock
@@ -102,7 +102,7 @@ buildPythonPackage rec {
pytestCheckHook
];
doCheck = !stdenv.hostPlatform.isDarwin;
doCheck = pythonOlder "3.13" && !stdenv.hostPlatform.isDarwin;
disabledTests = [
# Issue with the asseration
@@ -0,0 +1,46 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
audioop-lts,
standard-chunk,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "standard-aifc";
version = "3.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "youknowone";
repo = "python-deadlib";
tag = "v${version}";
hash = "sha256-vhGFTd1yXL4Frqli5D1GwOatwByDjvcP8sxgkdu6Jqg=";
};
sourceRoot = "${src.name}/aifc";
build-system = [
setuptools
];
dependencies = [
audioop-lts
standard-chunk
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"aifc"
];
meta = {
description = "Standard library aifc redistribution";
homepage = "https://github.com/youknowone/python-deadlib/tree/main/aifc";
license = lib.licenses.psfl;
maintainers = with lib.maintainers; [ hexa ];
};
}
@@ -0,0 +1,32 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "standard-chunk";
version = "3.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "youknowone";
repo = "python-deadlib";
tag = "v${version}";
hash = "sha256-vhGFTd1yXL4Frqli5D1GwOatwByDjvcP8sxgkdu6Jqg=";
};
sourceRoot = "${src.name}/chunk";
build-system = [ setuptools ];
doCheck = false; # no tests
meta = {
description = "Python dead batteries. See PEP 594";
homepage = "https://github.com/youknowone/python-deadlib";
license = lib.licenses.psfl;
maintainers = with lib.maintainers; [ hexa ];
};
}
@@ -0,0 +1,36 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "standard-telnetlib";
version = "3.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "youknowone";
repo = "python-deadlib";
tag = "v${version}";
hash = "sha256-vhGFTd1yXL4Frqli5D1GwOatwByDjvcP8sxgkdu6Jqg=";
};
sourceRoot = "${src.name}/telnetlib";
build-system = [ setuptools ];
# missing "reads" fixture when using pytest
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "telnetlib" ];
meta = {
description = "Python dead batteries. See PEP 594";
homepage = "https://github.com/youknowone/python-deadlib";
license = lib.licenses.psfl;
maintainers = with lib.maintainers; [ hexa ];
};
}
@@ -20,6 +20,7 @@
platformdirs,
propcache,
pydantic,
pydantic-extra-types,
pyjwt,
rich,
typer,
@@ -39,7 +40,7 @@
buildPythonPackage rec {
pname = "uiprotect";
version = "6.6.5";
version = "7.1.0";
pyproject = true;
disabled = pythonOlder "3.10";
@@ -48,7 +49,7 @@ buildPythonPackage rec {
owner = "uilibs";
repo = "uiprotect";
tag = "v${version}";
hash = "sha256-ZohQTXOLc2E0vfD21IUh6ECTfbAd2SZOg/73lk/UMO0=";
hash = "sha256-TALjJmTI5lMXyXcJtfyMVpqLo8dBbENG22EX7B+3QKQ=";
};
build-system = [ poetry-core ];
@@ -71,6 +72,7 @@ buildPythonPackage rec {
platformdirs
propcache
pydantic
pydantic-extra-types
pyjwt
rich
typer
@@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "unicode-rbnf";
version = "2.1.0";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "rhasspy";
repo = "unicode-rbnf";
tag = "v${version}";
hash = "sha256-1kq8qTzFYYRRjlxBdvIiBuXbprA0bF4zMFOVbpgCR3c=";
hash = "sha256-jVooLqy1FjCQGll53DqQ074ypjGwPRBzVmgEYXtMP+Y=";
};
nativeBuildInputs = [ setuptools ];
@@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "velbus-aio";
version = "2024.11.1";
version = "2024.12.3";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "Cereal2nd";
repo = "velbus-aio";
tag = version;
hash = "sha256-hYtZgr5HJj1zjiCXBK63086ke/oWhO9CyIvnN/JUPm4=";
hash = "sha256-tRcPwbvQBy0cmavAyEvhp6SimseeBYAMH9wAfC4fpKg=";
fetchSubmodules = true;
};
@@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "whirlpool-sixth-sense";
version = "0.18.9";
version = "0.18.11";
pyproject = true;
disabled = pythonOlder "3.11";
@@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "abmantis";
repo = "whirlpool-sixth-sense";
tag = version;
hash = "sha256-aDvUV83o/yKx15kenDGng5xh3LECLVlLWJlVe/y+1Co=";
hash = "sha256-dXLMyvNmVrc5kCozBwAIM5DKqjdiiqwwNLkhMGnH0fA=";
};
build-system = [ setuptools ];
@@ -44,6 +44,9 @@ buildPythonPackage rec {
respx
];
# https://github.com/OpenXbox/xbox-webapi-python/issues/114
disabledTests = [ "test_import" ];
meta = with lib; {
changelog = "https://github.com/OpenXbox/xbox-webapi-python/blob/${src.rev}/CHANGELOG.md";
description = "Library to authenticate with Windows Live/Xbox Live and use their API";
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "zha-quirks";
version = "0.0.125";
version = "0.0.129";
pyproject = true;
disabled = pythonOlder "3.12";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zha-device-handlers";
tag = version;
hash = "sha256-Tqt+ydp7Vr3pWBQ0T5B0CV+bfX+0yRXynEhD01afY/w=";
hash = "sha256-/lcF7MZrw85H5LBL8aBdaIuFRT5yJUhr+vN9gJHnPDw=";
};
postPatch = ''
@@ -27,7 +27,7 @@
buildPythonPackage rec {
pname = "zha";
version = "0.0.42";
version = "0.0.44";
pyproject = true;
disabled = pythonOlder "3.12";
@@ -36,7 +36,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zha";
tag = version;
hash = "sha256-iju/WjndlwEZjforoVyoIb6oTJNlvkEnsoQH2d6tFlQ=";
hash = "sha256-ZgCbhezNsWZsQQViPK04UQA2mGZz47rFiMAk2oR8xR4=";
};
postPatch = ''
@@ -27,7 +27,7 @@
buildPythonPackage rec {
pname = "zigpy";
version = "0.73.1";
version = "0.73.3";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -36,7 +36,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zigpy";
tag = version;
hash = "sha256-Fb5rZhxd93QY0TYJTTLXEaqlxk3JdlIOun5FB7wJbSE=";
hash = "sha256-+YkNV6xbM38dHVpXD264KmzozborvotZRETAncpAUEs=";
};
postPatch = ''
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "zwave-js-server-python";
version = "0.59.1";
version = "0.60.0";
pyproject = true;
disabled = pythonOlder "3.11";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "home-assistant-libs";
repo = "zwave-js-server-python";
tag = version;
hash = "sha256-7TbGRPGIpS8T0bmEIiRHChvdiKqTKccnkl0YVoQHfdE=";
hash = "sha256-+TW+6NhbtANtXf5ITAs+Mz8I7iZk93YYdUkUhp4m7pw=";
};
build-system = [ setuptools ];
+2 -2
View File
@@ -6,13 +6,13 @@
buildGoModule rec {
pname = "esbuild";
version = "0.24.0";
version = "0.24.2";
src = fetchFromGitHub {
owner = "evanw";
repo = "esbuild";
rev = "v${version}";
hash = "sha256-czQJqLz6rRgyh9usuhDTmgwMC6oL5UzpwNFQ3PKpKck=";
hash = "sha256-XVZNHPMl03hpGHgoaViWWj8eMDZBKDb7BfOrPGlVqEM=";
};
vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
+2 -2
View File
@@ -6,11 +6,11 @@ else
stdenv.mkDerivation rec {
pname = "dune";
version = "3.17.0";
version = "3.17.1";
src = fetchurl {
url = "https://github.com/ocaml/dune/releases/download/${version}/dune-${version}.tbz";
hash = "sha256-LDqmxB7Tnj1sGiktdfSAa9gDEIQa/FFnOqWc6cgWUHw=";
hash = "sha256-a57l7QUTeaacpFFzrGxd61a0ShwW4wt8NxNDMD2DWsY=";
};
nativeBuildInputs = [ ocaml findlib ];

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