Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-10-26 18:01:02 +00:00 committed by GitHub
commit 96132a216a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
69 changed files with 742 additions and 474 deletions

View File

@ -1386,6 +1386,12 @@
githubId = 59743220;
name = "Vinícius Müller";
};
arcuru = {
email = "patrick@jackson.dev";
github = "arcuru";
githubId = 160646;
name = "Patrick Jackson";
};
ardumont = {
email = "eniotna.t@gmail.com";
github = "ardumont";
@ -12085,6 +12091,16 @@
githubId = 839693;
name = "Ingolf Wanger";
};
msanft = {
email = "moritz.sanft@outlook.de";
matrix = "@msanft:matrix.org";
name = "Moritz Sanft";
github = "msanft";
githubId = 58110325;
keys = [{
fingerprint = "3CAC 1D21 3D97 88FF 149A E116 BB8B 30F5 A024 C31C";
}];
};
mschristiansen = {
email = "mikkel@rheosystems.com";
github = "mschristiansen";
@ -13541,12 +13557,6 @@
githubId = 6931743;
name = "pasqui23";
};
patricksjackson = {
email = "patrick@jackson.dev";
github = "patricksjackson";
githubId = 160646;
name = "Patrick Jackson";
};
patryk27 = {
email = "pwychowaniec@pm.me";
github = "Patryk27";

View File

@ -347,6 +347,8 @@
- `services.kea.{ctrl-agent,dhcp-ddns,dhcp,dhcp6}` now use separate runtime directories instead of `/run/kea` to work around the runtime directory being cleared on service start.
- `mkDerivation` now rejects MD5 hashes.
## Other Notable Changes {#sec-release-23.11-notable-changes}
- The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration.

View File

@ -37,6 +37,9 @@ in
enable = mkEnableOption (mdDoc "Wyoming faster-whisper server");
model = mkOption {
# Intersection between available and referenced models here:
# https://github.com/rhasspy/models/releases/tag/v1.0
# https://github.com/rhasspy/rhasspy3/blob/wyoming-v1/programs/asr/faster-whisper/server/wyoming_faster_whisper/download.py#L17-L27
type = enum [
"tiny"
"tiny-int8"
@ -44,7 +47,6 @@ in
"base-int8"
"small"
"small-int8"
"medium"
"medium-int8"
];
default = "tiny-int8";

View File

@ -113,12 +113,15 @@ in
};
paths = mkOption {
# This is nullable for legacy reasons only. We should consider making it a pure listOf
# after some time has passed since this comment was added.
type = types.nullOr (types.listOf types.str);
default = null;
default = [ ];
description = lib.mdDoc ''
Which paths to backup. If null or an empty array, no
backup command will be run. This can be used to create a
prune-only job.
Which paths to backup, in addition to ones specified via
`dynamicFilesFrom`. If null or an empty array and
`dynamicFilesFrom` is also null, no backup command will be run.
This can be used to create a prune-only job.
'';
example = [
"/var/lib/postgresql"
@ -231,7 +234,7 @@ in
description = lib.mdDoc ''
A script that produces a list of files to back up. The
results of this command are given to the '--files-from'
option.
option. The result is merged with paths specified via `paths`.
'';
example = "find /home/matt/git -type d -name .git";
};
@ -310,10 +313,7 @@ in
resticCmd = "${backup.package}/bin/restic${extraOptions}";
excludeFlags = optional (backup.exclude != []) "--exclude-file=${pkgs.writeText "exclude-patterns" (concatStringsSep "\n" backup.exclude)}";
filesFromTmpFile = "/run/restic-backups-${name}/includes";
backupPaths =
if (backup.dynamicFilesFrom == null)
then optionalString (backup.paths != null) (concatStringsSep " " backup.paths)
else "--files-from ${filesFromTmpFile}";
doBackup = (backup.dynamicFilesFrom != null) || (backup.paths != null && backup.paths != []);
pruneCmd = optionals (builtins.length backup.pruneOpts > 0) [
(resticCmd + " forget --prune " + (concatStringsSep " " backup.pruneOpts))
(resticCmd + " check " + (concatStringsSep " " backup.checkOpts))
@ -348,7 +348,7 @@ in
after = [ "network-online.target" ];
serviceConfig = {
Type = "oneshot";
ExecStart = (optionals (backupPaths != "") [ "${resticCmd} backup ${concatStringsSep " " (backup.extraBackupArgs ++ excludeFlags)} ${backupPaths}" ])
ExecStart = (optionals doBackup [ "${resticCmd} backup ${concatStringsSep " " (backup.extraBackupArgs ++ excludeFlags)} --files-from=${filesFromTmpFile}" ])
++ pruneCmd;
User = backup.user;
RuntimeDirectory = "restic-backups-${name}";
@ -366,8 +366,11 @@ in
${optionalString (backup.initialize) ''
${resticCmd} snapshots || ${resticCmd} init
''}
${optionalString (backup.paths != null && backup.paths != []) ''
cat ${pkgs.writeText "staticPaths" (concatStringsSep "\n" backup.paths)} >> ${filesFromTmpFile}
''}
${optionalString (backup.dynamicFilesFrom != null) ''
${pkgs.writeScript "dynamicFilesFromScript" backup.dynamicFilesFrom} > ${filesFromTmpFile}
${pkgs.writeScript "dynamicFilesFromScript" backup.dynamicFilesFrom} >> ${filesFromTmpFile}
''}
'';
} // optionalAttrs (backup.dynamicFilesFrom != null || backup.backupCleanupCommand != null) {

View File

@ -76,5 +76,5 @@ with lib;
};
};
meta.maintainers = with maintainers; [ patricksjackson ymarkus ];
meta.maintainers = with maintainers; [ arcuru ymarkus ];
}

View File

@ -1020,7 +1020,7 @@ let
"MulticastToUnicast"
"NeighborSuppression"
"Learning"
"Hairpin"
"HairPin"
"Isolated"
"UseBPDU"
"FastLeave"
@ -1036,7 +1036,7 @@ let
(assertValueOneOf "MulticastToUnicast" boolValues)
(assertValueOneOf "NeighborSuppression" boolValues)
(assertValueOneOf "Learning" boolValues)
(assertValueOneOf "Hairpin" boolValues)
(assertValueOneOf "HairPin" boolValues)
(assertValueOneOf "Isolated" boolValues)
(assertValueOneOf "UseBPDU" boolValues)
(assertValueOneOf "FastLeave" boolValues)

View File

@ -21,7 +21,7 @@ in
ln -sv dosfsck $out/bin/fsck.vfat
'';
boot.initrd.systemd.extraBin = mkIf inInitrd [ pkgs.dosfstools ];
boot.initrd.systemd.initrdBin = mkIf inInitrd [ pkgs.dosfstools ];
};
}

View File

@ -21,7 +21,10 @@ import ./make-test-python.nix (
unpackPhase = "true";
installPhase = ''
mkdir $out
touch $out/some_file
echo some_file > $out/some_file
echo some_other_file > $out/some_other_file
mkdir $out/a_dir
echo a_file > $out/a_dir/a_file
'';
};
@ -53,9 +56,13 @@ import ./make-test-python.nix (
initialize = true;
};
remote-from-file-backup = {
inherit passwordFile paths exclude pruneOpts;
inherit passwordFile exclude pruneOpts;
initialize = true;
repositoryFile = pkgs.writeText "repositoryFile" remoteFromFileRepository;
paths = [ "/opt/a_dir" ];
dynamicFilesFrom = ''
find /opt -mindepth 1 -maxdepth 1 ! -name a_dir # all files in /opt except for a_dir
'';
};
rclonebackup = {
inherit passwordFile paths exclude pruneOpts;
@ -123,13 +130,18 @@ import ./make-test-python.nix (
"systemctl start restic-backups-remote-from-file-backup.service",
'restic-remote-from-file-backup snapshots --json | ${pkgs.jq}/bin/jq "length | . == 1"',
# test that restoring that snapshot produces the same directory
"mkdir /tmp/restore-2",
"${pkgs.restic}/bin/restic -r ${remoteRepository} -p ${passwordFile} restore latest -t /tmp/restore-2",
"diff -ru ${testDir} /tmp/restore-2/opt",
# test that rclonebackup produces a snapshot
"systemctl start restic-backups-rclonebackup.service",
'restic-rclonebackup snapshots --json | ${pkgs.jq}/bin/jq "length | . == 1"',
# test that custompackage runs both `restic backup` and `restic check` with reasonable commandlines
"systemctl start restic-backups-custompackage.service",
"grep 'backup.* /opt' /root/fake-restic.log",
"grep 'backup' /root/fake-restic.log",
"grep 'check.* --some-check-option' /root/fake-restic.log",
# test that we can create four snapshots in remotebackup and rclonebackup

View File

@ -25,6 +25,7 @@
, boost
, aubio
, jack2
, jack-example-tools
, supercollider-with-sc3-plugins
, parallel
@ -187,14 +188,14 @@ stdenv.mkDerivation rec {
preFixup = ''
# Wrap Qt GUI (distributed binary)
wrapQtApp $out/bin/sonic-pi \
--prefix PATH : ${lib.makeBinPath [ ruby supercollider-with-sc3-plugins jack2 ]}
--prefix PATH : ${lib.makeBinPath [ ruby supercollider-with-sc3-plugins jack2 jack-example-tools ]}
# If ImGui was built
if [ -e $out/app/build/gui/imgui/sonic-pi-imgui ]; then
# Wrap ImGui into bin
makeWrapper $out/app/build/gui/imgui/sonic-pi-imgui $out/bin/sonic-pi-imgui \
--inherit-argv0 \
--prefix PATH : ${lib.makeBinPath [ ruby supercollider-with-sc3-plugins jack2 ]}
--prefix PATH : ${lib.makeBinPath [ ruby supercollider-with-sc3-plugins jack2 jack-example-tools ]}
fi
# Remove runtime Erlang references

View File

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
description = "An extensible text editor based on Scintilla with Lua scripting.";
homepage = "http://foicica.com/textadept";
license = licenses.mit;
maintainers = with maintainers; [ raskin mirrexagon patricksjackson ];
maintainers = with maintainers; [ raskin mirrexagon arcuru ];
platforms = platforms.linux;
};
}

View File

@ -532,8 +532,8 @@ let
mktplcRef = {
name = "emojisense";
publisher = "bierner";
version = "0.9.1";
sha256 = "sha256-bfhImi2qMHWkgKqkoStS0NtbXTfj6GpcLkI0PSMjuvg=";
version = "0.10.0";
sha256 = "sha256-PD8edYuJu6QHPYIM08kV85LuKh0H0/MIgFmMxSJFK5M=";
};
meta = {
license = lib.licenses.mit;
@ -3478,6 +3478,22 @@ let
};
};
tsandall.opa = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "opa";
publisher = "tsandall";
version = "0.12.2";
sha256 = "sha256-/eJzDhnQyvC9OBr4M03wLIWPiBeVtvX7ztSnO+YoCZM=";
};
meta = {
changelog = "https://github.com/open-policy-agent/vscode-opa/blob/master/CHANGELOG.md";
description = "An extension for VS Code which provides support for OPA";
homepage = "https://github.com/open-policy-agent/vscode-opa";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.msanft ];
};
};
tuttieee.emacs-mcx = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "emacs-mcx";

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "diff-pdf";
version = "0.5";
version = "0.5.1";
src = fetchFromGitHub {
owner = "vslavik";
repo = "diff-pdf";
rev = "v${version}";
sha256 = "sha256-Si8v5ZY1Q/AwQTaxa1bYG8bgqxWj++c4Hh1LzXSmSwE=";
sha256 = "sha256-jt11wssl8cH2cH3NXF+iWHxVNxPJm0I8toignBHq3q0=";
};
nativeBuildInputs = [ autoconf automake pkg-config ];

View File

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, appimageTools, makeWrapper, electron_24, libsecret }:
{ lib, stdenv, fetchurl, appimageTools, makeWrapper, electron_25, libsecret }:
stdenv.mkDerivation rec {
pname = "todoist-electron";
version = "8.3.3";
version = "8.6.0";
src = fetchurl {
url = "https://electron-dl.todoist.com/linux/Todoist-linux-x86_64-${version}.AppImage";
hash = "sha256-X928hCrYVOBTEZq1hmZWgWlabtOzQrLUuptF/SJcAto=";
hash = "sha256-LjztKgpPm4RN1Pn5gIiPg8UCO095kzTQ9BTEG5Rlv10=";
};
appimageContents = appimageTools.extractType2 {
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
'';
postFixup = ''
makeWrapper ${electron_24}/bin/electron $out/bin/todoist-electron \
makeWrapper ${electron_25}/bin/electron $out/bin/todoist-electron \
--add-flags $out/share/${pname}/resources/app.asar \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc libsecret ]}" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"

View File

@ -8,6 +8,7 @@ let
python = python3.override {
# FlexGet doesn't support transmission-rpc>=5 yet
# https://github.com/NixOS/nixpkgs/issues/258504
# https://github.com/Flexget/Flexget/issues/3847
packageOverrides = self: super: {
transmission-rpc = super.transmission-rpc.overridePythonAttrs (old: rec {
version = "4.3.1";
@ -23,7 +24,7 @@ let
in
python.pkgs.buildPythonApplication rec {
pname = "flexget";
version = "3.9.13";
version = "3.9.16";
format = "pyproject";
# Fetch from GitHub in order to use `requirements.in`
@ -31,7 +32,7 @@ python.pkgs.buildPythonApplication rec {
owner = "Flexget";
repo = "Flexget";
rev = "refs/tags/v${version}";
hash = "sha256-7qHJqxKGHgj/Th513EfFbk5CLEAX24AtWJF2uS1dRLs=";
hash = "sha256-p92wiQ01NBFs5910wngkNHnE/mOfs9XnOLUEOyk9VpA=";
};
postPatch = ''

View File

@ -2,11 +2,11 @@
let
pname = "rambox";
version = "2.2.0";
version = "2.2.1";
src = fetchurl {
url = "https://github.com/ramboxapp/download/releases/download/v${version}/Rambox-${version}-linux-x64.AppImage";
sha256 = "sha256-9CtE29bcE4CIWZmwSbSa/MxuDdwn0vlQT0wOYAoNkcg=";
sha256 = "sha256-6fnO/e5lFrY5t2sCbrrYHck29NKt2Y+FH0N2cxunvZs=";
};
desktopItem = (makeDesktopItem {
@ -31,6 +31,8 @@ appimageTools.wrapType2 {
install -Dm644 ${desktopItem}/share/applications/* $out/share/applications
'';
extraPkgs = pkgs: with pkgs; [ procps ];
meta = with lib; {
description = "Workspace Simplifier - a cross-platform application organizing web services into Workspaces similar to browser profiles";
homepage = "https://rambox.app";

View File

@ -8,7 +8,7 @@
, nodejs
, fetchYarnDeps
, fixup_yarn_lock
, electron_24
, electron
, libpulseaudio
, pipewire
, alsa-utils
@ -52,8 +52,8 @@ stdenv.mkDerivation (finalAttrs: {
yarn --offline electron-builder \
--dir ${if stdenv.isDarwin then "--macos" else "--linux"} ${if stdenv.hostPlatform.isAarch64 then "--arm64" else "--x64"} \
-c.electronDist=${electron_24}/libexec/electron \
-c.electronVersion=${electron_24.version}
-c.electronDist=${electron}/libexec/electron \
-c.electronVersion=${electron.version}
runHook postBuild
'';
@ -72,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: {
popd
# Linux needs 'aplay' for notification sounds, 'libpulse' for meeting sound, and 'libpipewire' for screen sharing
makeWrapper '${electron_24}/bin/electron' "$out/bin/teams-for-linux" \
makeWrapper '${electron}/bin/electron' "$out/bin/teams-for-linux" \
${lib.optionalString stdenv.isLinux ''
--prefix PATH : ${lib.makeBinPath [ alsa-utils which ]} \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libpulseaudio pipewire ]} \

View File

@ -21,13 +21,13 @@
mkDerivation rec {
pname = "qv2ray";
version = "unstable-2023-06-09";
version = "unstable-2023-07-11";
src = fetchFromGitHub {
owner = "Qv2ray";
repo = "Qv2ray";
rev = "aea9981cc28fe25de55207b93d86036b30d467d2";
hash = "sha256-ySXAF6fkkKsafuSa3DxkOuRjSyiCDUZRevcfJRp7LPM=";
rev = "b3080564809dd8aef864a54ca1b79f0984fe986b";
hash = "sha256-LwBjuX5x3kQcdEfPLEirWpkMqOigkhNoh/VNmBfPAzw=";
fetchSubmodules = true;
};

View File

@ -1,5 +1,4 @@
{ mkXfceDerivation
, fetchpatch
, lib
, docbook_xsl
, exo
@ -22,18 +21,9 @@
let unwrapped = mkXfceDerivation {
category = "xfce";
pname = "thunar";
version = "4.18.7";
version = "4.18.8";
sha256 = "sha256-pxIblhC40X0wdE6+uvmV5ypp4sOZtzn/evcS33PlNpU=";
patches = [
# Fix log spam with new GLib
# https://gitlab.xfce.org/xfce/thunar/-/issues/1204
(fetchpatch {
url = "https://gitlab.xfce.org/xfce/thunar/-/commit/2f06fcdbedbc59d9f90ccd3df07fce417cea391d.patch";
sha256 = "sha256-nvYakT4GJkQYmubgZF8GJIA/m7+6ZPbmD0HSgMcCh10=";
})
];
sha256 = "sha256-+VS8Mn9J8VySNEKUMq4xUXXvVgMpWkNVdpv5dzxhZ/M=";
nativeBuildInputs = [
docbook_xsl

View File

@ -97,6 +97,7 @@ stdenv.mkDerivation {
$out/lib/v -v $out/lib/cmd/tools/vdoc
$out/lib/v -v $out/lib/cmd/tools/vast
$out/lib/v -v $out/lib/cmd/tools/vvet
$out/lib/v -v $out/lib/cmd/tools/vcreate
runHook postInstall
'';

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "ailment";
version = "9.2.73";
version = "9.2.74";
pyproject = true;
disabled = pythonOlder "3.11";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "angr";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-wMHyp6l7a5MuVX/q1QVfwZbuqBT6NbFltZsGopCjj3I=";
hash = "sha256-lZJLYIZ44FXGavDCrO90DYSl4yaNDpAYeIIihk5Bk14=";
};
nativeBuildInputs = [

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "aioesphomeapi";
version = "18.1.0";
version = "18.2.0";
format = "setuptools";
disabled = pythonOlder "3.9";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "esphome";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-aKE2/xVkO2uYg9BuDT9/ZxcKB9rARCipPn7B/eeth9M=";
hash = "sha256-uOF9VSASzGA4pVW3puQtGrr2dy7sRESa1a6DPUsMmL4=";
};
propagatedBuildInputs = [

View File

@ -32,7 +32,7 @@
buildPythonPackage rec {
pname = "angr";
version = "9.2.73";
version = "9.2.74";
pyproject = true;
disabled = pythonOlder "3.11";
@ -41,7 +41,7 @@ buildPythonPackage rec {
owner = "angr";
repo = "angr";
rev = "refs/tags/v${version}";
hash = "sha256-WwgcKZWKM6x36AuynVHaDJgDt4B2b3K1ZaX9efxiDKc=";
hash = "sha256-8t7S+VR9AqYpaAP772Wn1foVy/XN9MiEUZb5+u47G+k=";
};
propagatedBuildInputs = [

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "archinfo";
version = "9.2.73";
version = "9.2.74";
pyproject = true;
disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "angr";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-D6ZMZzuWoCSKSAEnVqU5iM4ttpeBNojofMW/vsV8gVw=";
hash = "sha256-n/51N1D5UI2FTKv7GBN/iPYE/+/o/2JnFTRee+1FVWg=";
};
nativeBuildInputs = [

View File

@ -65,7 +65,7 @@
}:
let
pname = "argilla";
version = "1.17.0";
version = "1.18.0";
optional-dependencies = {
server = [
fastapi
@ -126,7 +126,7 @@ buildPythonPackage {
owner = "argilla-io";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-ggw6ABPn3d+aOj+0ETKYWWTha/2Recdnp/LGBXG1HY4=";
hash = "sha256-2VWzmNMdd4WXSBrMSmclpjSZ9jDKNG7GbndUh8zLmgQ=";
};
pythonRelaxDeps = [

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "auth0-python";
version = "4.4.2";
version = "4.5.0";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "auth0";
repo = "auth0-python";
rev = "refs/tags/${version}";
hash = "sha256-RBkAuZQx7mBxVCpo5PoBiEge8+yTmp0XpcnxCkOsM6U=";
hash = "sha256-kWlfckSjBxgzLd1ND4M0btt/+zfSHj5h4V/uDLmnHaA=";
};
nativeBuildInputs = [

View File

@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "azure-mgmt-containerservice";
version = "26.0.0";
version = "27.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-BpvnSqee5wodtMXPxo/pHCBk8Yy4yPnEdK164d9ILuM=";
hash = "sha256-IdGo2A65YiMJJ8S18Ji+FfnnylNhs8vFOQpfA91wgNM=";
};
propagatedBuildInputs = [

View File

@ -2,31 +2,29 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pytestCheckHook
, setuptools
, arviz
, blackjax
, formulae
, graphviz
, numpy
, numpyro
, pandas
, pymc
, scipy
, setuptools
, blackjax
, numpyro
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "bambi";
version = "0.12.0";
version = "0.13.0";
pyproject = true;
disabled = pythonOlder "3.9";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "bambinos";
repo = "bambi";
rev = "refs/tags/${version}";
hash = "sha256-36D8u813v2vWQdNqBWfM8YVnAJuLGvn5vqdHs94odmU=";
hash = "sha256-9+uTyV3mQlHOKAjXohwkhTzNe/+I5XR/LuH1ZYvhc8I=";
};
nativeBuildInputs = [
@ -36,10 +34,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [
arviz
formulae
numpy
graphviz
pandas
pymc
scipy
];
preCheck = ''
@ -48,7 +45,6 @@ buildPythonPackage rec {
nativeCheckInputs = [
blackjax
graphviz
numpyro
pytestCheckHook
];
@ -56,17 +52,32 @@ buildPythonPackage rec {
disabledTests = [
# Tests require network access
"test_alias_equal_to_name"
"test_average_by"
"test_ax"
"test_basic"
"test_censored_response"
"test_custom_prior"
"test_data_is_copied"
"test_distributional_model"
"test_elasticity"
"test_extra_namespace"
"test_fig_kwargs"
"test_gamma_with_splines"
"test_group_effects"
"test_hdi_prob"
"test_legend"
"test_non_distributional_model"
"test_normal_with_splines"
"test_predict_offset"
"test_predict_new_groups"
"test_predict_new_groups_fail"
"test_set_alias_warnings"
"test_subplot_kwargs"
"test_transforms"
"test_use_hdi"
"test_with_groups"
"test_with_group_and_panel"
"test_with_user_values"
];
pythonImportsCheck = [

View File

@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "clarifai-grpc";
version = "9.9.0";
version = "9.9.3";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-YZYawFGpGPK0T4MlWHwONqcx1fwcoZiNalhU2ydM+mo=";
hash = "sha256-9h/d1w5toxWMHMvVkQiuHySf3+IjeumD4EipgI1kaEs=";
};
propagatedBuildInputs = [

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "claripy";
version = "9.2.73";
version = "9.2.74";
pyproject = true;
disabled = pythonOlder "3.11";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "angr";
repo = "claripy";
rev = "refs/tags/v${version}";
hash = "sha256-6wXhGMpMCh/xKmwQwvzQCgk8IQaZqDrgBh12paagkpE=";
hash = "sha256-TNnv2V8QtSA5oiCHVqIuvbgGNTjfIw4WS1K2MxXfJIw=";
};
nativeBuildInputs = [

View File

@ -16,14 +16,14 @@
let
# The binaries are following the argr projects release cycle
version = "9.2.73";
version = "9.2.74";
# Binary files from https://github.com/angr/binaries (only used for testing and only here)
binaries = fetchFromGitHub {
owner = "angr";
repo = "binaries";
rev = "refs/tags/v${version}";
hash = "sha256-x67mvpRvqJIrYrqdNt8AueHahCOt0AHurzWIkYx1veQ=";
hash = "sha256-KaHAgGPspFGFPNULfXcVwXpl5RdkKHAQV/coJeMSGLQ=";
};
in
@ -38,7 +38,7 @@ buildPythonPackage rec {
owner = "angr";
repo = "cle";
rev = "refs/tags/v${version}";
hash = "sha256-IBqNr5ILPzsRLSf7tsu/oTXXOnMPon6LrMnUq4i6oDA=";
hash = "sha256-e13tsrLAZu67eyUvBYtfkBASEsxdcVwJmKCHBiU78Dg=";
};
nativeBuildInputs = [

View File

@ -0,0 +1,82 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, flit-core
, importlib-metadata
, typing-extensions
, cloudpathlib
, azure-storage-blob
, google-cloud-storage
, boto3
, psutil
, pydantic
, pytestCheckHook
, pytest-cases
, pytest-cov
, pytest-xdist
, python-dotenv
, shortuuid
}:
buildPythonPackage rec {
pname = "cloudpathlib";
version = "0.16.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "drivendataorg";
repo = "cloudpathlib";
rev = "v${version}";
hash = "sha256-d4CbzPy3H5HQ4YmSRCRMEYaTpwB7F0Bznd26aKWiHTA=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
importlib-metadata
typing-extensions
];
passthru.optional-dependencies = {
all = [
cloudpathlib
];
azure = [
azure-storage-blob
];
gs = [
google-cloud-storage
];
s3 = [
boto3
];
};
pythonImportsCheck = [ "cloudpathlib" ];
nativeCheckInputs = [
azure-storage-blob
boto3
google-cloud-storage
psutil
pydantic
pytestCheckHook
pytest-cases
pytest-cov
pytest-xdist
python-dotenv
shortuuid
];
meta = with lib; {
description = "Python pathlib-style classes for cloud storage services such as Amazon S3, Azure Blob Storage, and Google Cloud Storage";
homepage = "https://github.com/drivendataorg/cloudpathlib";
license = licenses.mit;
maintainers = with maintainers; [ GaetanLepage ];
};
}

View File

@ -5,6 +5,7 @@
, aniso8601
, jsonschema
, flask
, importlib-resources
, werkzeug
, pytz
, faker
@ -19,22 +20,23 @@
buildPythonPackage rec {
pname = "flask-restx";
version = "1.1.0";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
# Tests not included in PyPI tarball
src = fetchFromGitHub {
owner = "python-restx";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-alXuo6TGDX2ko6VIKpAtyrg0EBkxEnC3DabH8GYqEs0=";
hash = "sha256-9o0lgDtjsZta9fVJnD02In6wvxNwPA667WeIkpRv8Z4=";
};
propagatedBuildInputs = [
aniso8601
flask
importlib-resources
jsonschema
pytz
werkzeug
@ -71,7 +73,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Fully featured framework for fast, easy and documented API development with Flask";
homepage = "https://github.com/python-restx/flask-restx";
changelog = "https://github.com/python-restx/flask-restx/raw/${version}/CHANGELOG.rst";
changelog = "https://github.com/python-restx/flask-restx/blob/${version}/CHANGELOG.rst";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
};

View File

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pybind11
, setuptools
, wheel
, numpy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "floret";
version = "0.10.4";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "explosion";
repo = "floret";
rev = "refs/tags/v${version}";
hash = "sha256-cOVyvRwprR7SvZjH4rtDK8uifv6+JGyRR7XYzOP5NLk=";
};
nativeBuildInputs = [
pybind11
setuptools
wheel
];
propagatedBuildInputs = [
numpy
pybind11
];
pythonImportsCheck = [ "floret" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "FastText + Bloom embeddings for compact, full-coverage vectors with spaCy";
homepage = "https://github.com/explosion/floret";
license = licenses.mit;
maintainers = with maintainers; [ GaetanLepage ];
};
}

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "pymc";
version = "5.9.0";
version = "5.9.1";
pyproject = true;
disabled = pythonOlder "3.9";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "pymc-devs";
repo = "pymc";
rev = "refs/tags/v${version}";
hash = "sha256-iaX1+SHGAJ9V2Jv76as5BcL5DcxURwX3aGa+R9YVtXY=";
hash = "sha256-yY8W3B1yqj0oOkR6+nMbFgCFmTStXkePWnEYPHI8Zto=";
};
propagatedBuildInputs = [

View File

@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "pyvex";
version = "9.2.73";
version = "9.2.74";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchPypi {
inherit pname version;
hash = "sha256-44ykNXMwKHfb5ZcYBstFThGR+YkFDbmItkPEyOKKDqc=";
hash = "sha256-49Vcm6JkIpOm+U1Q/BrTi8jiEWZdaNs77TaCMjOLpyw=";
};
nativeBuildInputs = [

View File

@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "spacy-transformers";
version = "1.3.0";
version = "1.3.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-vxzDGLa+LoKnLpaqG7kGLfSLxqQdW+9AXw2YzBAz0UY=";
hash = "sha256-xfUePKLmR1Arhs0c1ZNjca6klJdGL0o2DdGLsejE6zw=";
};
nativeBuildInputs = [
@ -36,6 +36,7 @@ buildPythonPackage rec {
];
pythonRelaxDeps = [
"spacy"
"transformers"
];

View File

@ -29,6 +29,7 @@
, typer
, typing-extensions
, wasabi
, weasel
, writeScript
, nix
, git
@ -37,14 +38,14 @@
buildPythonPackage rec {
pname = "spacy";
version = "3.6.1";
format = "setuptools";
version = "3.7.2";
pyproject = true;
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-YyOphwauLVVhaUsDqLC1dRiHoAKQOkiU5orrKcxnIWY=";
hash = "sha256-zt9JJ78NP+x3OmzkjV0skb2wL+08fV7Ae9uHPxEm8aA=";
};
pythonRelaxDeps = [
@ -77,9 +78,12 @@ buildPythonPackage rec {
tqdm
typer
wasabi
weasel
] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions
]; postPatch = ''
];
postPatch = ''
substituteInPlace setup.cfg \
--replace "thinc>=8.1.8,<8.2.0" "thinc>=8.1.8"
'';

View File

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, pythonOlder
, fetchFromGitHub
, spacy
, pytestCheckHook
}:
@ -11,10 +11,13 @@ buildPythonPackage rec {
version = "1.0.5";
format = "setuptools";
src = fetchPypi {
pname = "spacy_lookups_data";
inherit version;
hash = "sha256-b5NcgfFFvcyE/GEV9kh2QoXH/z6P8kYpUEaBTpba1jw=";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "explosion";
repo = "spacy-lookups-data";
rev = "refs/tags/v${version}";
hash = "sha256-6sKZ+GgCjLWYnV96nub4xEUFh1qpPQpbnoxyOVrvcD0=";
};
nativeCheckInputs = [

View File

@ -1,458 +1,458 @@
[
{
"pname": "ca_core_news_lg",
"version": "3.5.0",
"sha256": "01wssrmfjnx2lycqbpjpvzpfymwhiy1336s1123y747q7klzic08",
"version": "3.7.0",
"sha256": "1hlrbrgiahj6jkap3hrhki6zk10wg7dpajxcp540darprl7w60vy",
"license": "gpl3"
},
{
"pname": "ca_core_news_md",
"version": "3.5.0",
"sha256": "0z8p2wqp1jsv9ipiqkw7c144nla2xgfwzijkwbb6qf4k2gdizzmq",
"version": "3.7.0",
"sha256": "0ygygvw8bs510dyz4k9sfmxxlqssmv566aac9k3xiip3k5lfgysi",
"license": "gpl3"
},
{
"pname": "ca_core_news_sm",
"version": "3.5.0",
"sha256": "0kwifrwf8iaxpry7v453hf8vawlwqpqm9df364k4ai6bhcpqad3k",
"version": "3.7.0",
"sha256": "1cj53w9vzdb2xqjpprkhgrglm70g0vaw0308jxnd7nvgn6vfx09s",
"license": "gpl3"
},
{
"pname": "ca_core_news_trf",
"version": "3.5.0",
"sha256": "12vlgy6n2xmap1z8fsf44dbnrw69fbdipss88v9ivwffn6yy3mj8",
"version": "3.7.0",
"sha256": "1il0ak0wh4dlxxdddwz8a2vr6817cn5fwrflxwgcd25njx7w886g",
"license": "gpl3"
},
{
"pname": "da_core_news_lg",
"version": "3.5.0",
"sha256": "1289r8qmzfzwyvsz3dvl6r6wrbr6s1jfw1nmb0bpybjzcp48nfnh",
"version": "3.7.0",
"sha256": "04bm53v7dpdlnlk39wppfir792jp2qq9kkw0zs9i0ki68sxh8giz",
"license": "cc-by-sa-40"
},
{
"pname": "da_core_news_md",
"version": "3.5.0",
"sha256": "1i3vamzxnv6xfa1ky2zf6cb9c0blvm5rkfmif15kvgfkjbmhi7id",
"version": "3.7.0",
"sha256": "1c35avbhkx16icnqsp571nvilcra143kqjvnszd7j0xnnzn5iqyx",
"license": "cc-by-sa-40"
},
{
"pname": "da_core_news_sm",
"version": "3.5.0",
"sha256": "0bmbk6vnad3xqhg0jg8dhfhh75vyahsm16mn8ddzchhl7wm8axcc",
"version": "3.7.0",
"sha256": "1hlx9zgixv91x4xa489gnwm3qdghffk4fimg7mjncyjw1g9xskif",
"license": "cc-by-sa-40"
},
{
"pname": "da_core_news_trf",
"version": "3.5.0",
"sha256": "0b8mxr1ajyw8ccm0khmcp4n3jcxl4syfrmiy9kzf3cp4hcrnqnxy",
"version": "3.7.0",
"sha256": "02hbg58ql1dcd7zdlgb959106inaqnvxphc2dmxf7myjr4si3w37",
"license": "cc-by-sa-40"
},
{
"pname": "de_core_news_lg",
"version": "3.5.0",
"sha256": "0l3sg853xfkab7mj41n370x37iksp79nrjp7s60hhajpfbl546a0",
"version": "3.7.0",
"sha256": "1aag695nygpbxrvvknlcic79hyfzdwcc2d9vjgzq2bc43zdf05a0",
"license": "mit"
},
{
"pname": "de_core_news_md",
"version": "3.5.0",
"sha256": "01z9bg59k4aw324dzwa3hlf8fg8yys70k6c3ih93if55svfc5xym",
"version": "3.7.0",
"sha256": "1qnq7yy38nw1pg8ysxjqyxd82yc3ncl148p90hil2njxg771g1hk",
"license": "mit"
},
{
"pname": "de_core_news_sm",
"version": "3.5.0",
"sha256": "1qlqiqadv8r44a2y6iwpf28khmixsnwm8pss6miwdn0k5xh4kqbp",
"version": "3.7.0",
"sha256": "0r0wgf044r0nl267m5dc3zp4cq5ml4b9i6gpkas1hhn708d5sjb1",
"license": "mit"
},
{
"pname": "de_dep_news_trf",
"version": "3.5.0",
"sha256": "0d5vkdz653yhqwykn39xm78vmxn9bcl5a9wh6hsvzhg9brffh2cn",
"version": "3.7.0",
"sha256": "05xca8gjpmn7dlj8jb93rv7r0s4wa3nq5h7rkmq6d7h7gy6zpz8f",
"license": "mit"
},
{
"pname": "el_core_news_lg",
"version": "3.5.0",
"sha256": "1y0na4fz3jfsjh43prc76rmkc508vk42mi9mgahz7n7nwfgyxspj",
"version": "3.7.0",
"sha256": "0n7xk8kbqqis1fivsgvyfmhd6qj853wylrwjl9q352cvbv8zg6dk",
"license": "cc-by-nc-sa-30"
},
{
"pname": "el_core_news_md",
"version": "3.5.0",
"sha256": "10li1rklw2yjs5rhzm2cr2pa0x9wx504hamkyb2d9fkcq1vnj3ds",
"version": "3.7.0",
"sha256": "042vmymi40zgwxg87sfsvq7b9crigh6g9ai7cyz49spcqmvq2qd3",
"license": "cc-by-nc-sa-30"
},
{
"pname": "el_core_news_sm",
"version": "3.5.0",
"sha256": "1j728bmmavhhn22k6ppz29ck8ag5y4299jir4y0bjjhn1ghmxq4d",
"version": "3.7.0",
"sha256": "0apky61l3gh2dvfpqaj6vqql5g6sh4bp9i91y7zfgacqvf7jp67g",
"license": "cc-by-nc-sa-30"
},
{
"pname": "en_core_web_lg",
"version": "3.5.0",
"sha256": "0ib93cn1nv5wv39dpxxs68nzmwr3j6qdc5l71mp6hi74cy0jqwr9",
"version": "3.7.0",
"sha256": "192mhp5niixq0crqwwmp70g63wbahgr41dpmmjsdqf9189s7qswr",
"license": "mit"
},
{
"pname": "en_core_web_md",
"version": "3.5.0",
"sha256": "02w0kjsbzmnp17p7b7cs4lqzg37mbk0ygva7c4qfb312x4wyr9vg",
"version": "3.7.0",
"sha256": "1wy2kpsninpxwjbqavh963i12041a0av4wmrn8plvb73czp995dg",
"license": "mit"
},
{
"pname": "en_core_web_sm",
"version": "3.5.0",
"sha256": "09j61i5nrdy2amml3kij2xndqawha3dgdm7lg9f67422vpn8zlv3",
"version": "3.7.0",
"sha256": "01hps9i3v73prqfjrch0da0s38vhbvx0d73g3x1bkrmavan26bj7",
"license": "mit"
},
{
"pname": "en_core_web_trf",
"version": "3.5.0",
"sha256": "1rqb9p8khy1zy041gsc04b5v9l4v0pc6nqzn5lm5p85161k55c7c",
"version": "3.7.0",
"sha256": "1pnm63bk5k6g6kc5s8v5pwdahqgbh3rlm5mxq3gxk8my3cfkklpc",
"license": "mit"
},
{
"pname": "es_core_news_lg",
"version": "3.5.0",
"sha256": "0zw6z8aygh9pzdws88iclgnp277v0nlklykmdkkhqs75acpckzkx",
"version": "3.7.0",
"sha256": "1qfadw61yjz1hkp5wldg5ncj50db0b3wvpcfklybij56r4ibz6f2",
"license": "gpl3"
},
{
"pname": "es_core_news_md",
"version": "3.5.0",
"sha256": "1b5xsidys6jhq9rnv0q38q3hck11jx4z3yvmka83cbdwvzkncaq3",
"version": "3.7.0",
"sha256": "1z9m6f2c3cbjrljdlywdd4c4qj4lky1rb3n20yav5zb9k7jbj3s4",
"license": "gpl3"
},
{
"pname": "es_core_news_sm",
"version": "3.5.0",
"sha256": "169xg2xwn3rkhal9ygwrnkb9xzdgz4rz3419xr252zji34cr8d6a",
"version": "3.7.0",
"sha256": "07fm2bmiwkkia4v491dzkgb3dbp1qfh4j7iba2h4wv8yci6la3n4",
"license": "gpl3"
},
{
"pname": "es_dep_news_trf",
"version": "3.5.0",
"sha256": "1py98kc6dxx5a6v6pc7hpldd6jm5s2a8vwp7l7d2jxadh947ma12",
"version": "3.7.0",
"sha256": "1n5sk5jlj6gx4w2ka1ia93bmi4nm2cyfg7fbca2kvmsg6zw8hq27",
"license": "gpl3"
},
{
"pname": "fi_core_news_lg",
"version": "3.5.0",
"sha256": "0j3r01a0yqgj8apfjv1wkblhqg86yp2nzxv51nf99pi2nmh81jzx",
"version": "3.7.0",
"sha256": "08lk2dgwm99nj2a355s682ar4xwg1av4z3r6qpwq72rkm2h8jkmm",
"license": "cc-by-sa-40"
},
{
"pname": "fi_core_news_md",
"version": "3.5.0",
"sha256": "09qfzwyw6wfdmw1bgd1kfg1gdbmzal5z1r240djivxygzn6f1ixs",
"version": "3.7.0",
"sha256": "07hqjw6w8332zf3ki5pbrv7m1kc4y6j3f0czharvv0grr2sfvh84",
"license": "cc-by-sa-40"
},
{
"pname": "fi_core_news_sm",
"version": "3.5.0",
"sha256": "1ly71cacy0gr62acvc3vl8dxh2czd6zkm7ijprisdblw17ik9yln",
"version": "3.7.0",
"sha256": "03bhh3z3r70km19p3x202g66hikfyh309hgb96sycb8lhfr737lk",
"license": "cc-by-sa-40"
},
{
"pname": "fr_core_news_lg",
"version": "3.5.0",
"sha256": "1zjf348c60xf35zaldgykrlskvrryxv9vdaz49xlwq9caw0yzyh4",
"version": "3.7.0",
"sha256": "02dv00w67alc1avwq93hara49va7mnsmmm2kww961p5a3k3ldz20",
"license": "lgpllr"
},
{
"pname": "fr_core_news_md",
"version": "3.5.0",
"sha256": "1ph768pv2brv94fzydw8d2daxypvy61zwbmi4hbalgaar62lglhl",
"version": "3.7.0",
"sha256": "184gxwgf980x3vsn45zycd3cr1mkl3r1vbf3hb5hrhs8xk3y1v34",
"license": "lgpllr"
},
{
"pname": "fr_core_news_sm",
"version": "3.5.0",
"sha256": "1vhamgrv7adk85i9b3s5bh6j0aw21rma5xcb3ggy9ay51jfmkzzm",
"version": "3.7.0",
"sha256": "1ifbazd9hs1fhy22hjqhwkq0bnnsr3km3ff60v8arkyq5vlprhdb",
"license": "lgpllr"
},
{
"pname": "fr_dep_news_trf",
"version": "3.5.0",
"sha256": "0ciyilnc5gx0f1qakim57pizj1dknm8l8gd72avmrmzg3z52mgl2",
"version": "3.7.0",
"sha256": "0shhlmyyd79bbvxf6dfr5r99lfhjcywvvrji67k2hxz4604q8bxv",
"license": "lgpllr"
},
{
"pname": "hr_core_news_lg",
"version": "3.5.0",
"sha256": "1fvkzfi539fmp6jy3hjcrwvdxw5k6zc3h351s887xidlw3gs1kr3",
"version": "3.7.0",
"sha256": "1r8cdyawf6fdvx1xn1l470mx31lbx5cjpivlx1pvv9ckp71zp28z",
"license": "cc-by-sa-40"
},
{
"pname": "hr_core_news_md",
"version": "3.5.0",
"sha256": "1mi6k9qjxbigrl2fa60blyyz8b54jda5hc1s96vn9rykg4rni8cr",
"version": "3.7.0",
"sha256": "1dzi6dxwjpbddc0rjqajj4k1c61sacyycwnjvy03h3aclxacqn53",
"license": "cc-by-sa-40"
},
{
"pname": "hr_core_news_sm",
"version": "3.5.0",
"sha256": "1s22mx7y5h135ry5l49az30l7mw7fdrz53s4a9gaxfsp9rzs474g",
"version": "3.7.0",
"sha256": "0dmhv1fa46hi78jgv562v4x3mfl7svchs6kiz35s63ph9ik5r6f2",
"license": "cc-by-sa-40"
},
{
"pname": "it_core_news_lg",
"version": "3.5.0",
"sha256": "1z64s632wbjlqmnmppcnpf2pfrjbml30gbil7mk0qln2i2hrh0qq",
"version": "3.7.0",
"sha256": "0gwn6pf0rzbplahs2wnzp6379mmj066dqhijhq4ln4552fz4d1yx",
"license": "cc-by-nc-sa-30"
},
{
"pname": "it_core_news_md",
"version": "3.5.0",
"sha256": "055gj5ai4rda5yc8lkhmfcwpfm7yfzyl6v05xhziz8sh1x4z58kz",
"version": "3.7.0",
"sha256": "003w99glj5jgb6gfqygb4c5jljhc85ck6yqn49h9m8fa9vmaylhx",
"license": "cc-by-nc-sa-30"
},
{
"pname": "it_core_news_sm",
"version": "3.5.0",
"sha256": "1fw262m7bl3g31gz0jb6fxrd385p67q82wfrsff6z9daxi3pi6ip",
"version": "3.7.0",
"sha256": "0kng2w5xj1irz6c5d6vl4px9my1z41h8zfvf9b01rh9yvjmhfyzc",
"license": "cc-by-nc-sa-30"
},
{
"pname": "ko_core_news_lg",
"version": "3.5.0",
"sha256": "1q314wb114ynkf455cm8jd9jsx3yb6y0rrgf820ww31jlk5jzaa9",
"version": "3.7.0",
"sha256": "0hxwkb1w58vb4g1162ry12a63hnj20q20n66xnlvc0r96ibj4fia",
"license": "cc-by-sa-40"
},
{
"pname": "ko_core_news_md",
"version": "3.5.0",
"sha256": "0dy7kk4bvjl944vv2m4hcvppar7clwq28y2rk40i3022jbqh2nxq",
"version": "3.7.0",
"sha256": "1ai7cyk58c7rj0dy82l01w5r4fkp2cpnhcsarzas1ml0icnk1srm",
"license": "cc-by-sa-40"
},
{
"pname": "ko_core_news_sm",
"version": "3.5.0",
"sha256": "1i5q8dpyfa2sy80hr81r6s9dqpawp36ni8slz035b0wd9sq3i73v",
"version": "3.7.0",
"sha256": "16m1lsikf8ghsazpdprd9fc4n3m8an9qzjbyjwyvwkr0f2p0nmph",
"license": "cc-by-sa-40"
},
{
"pname": "lt_core_news_lg",
"version": "3.5.0",
"sha256": "002xalsrf85vg4c3gmj1zaka1zfy7smxv2xpqkl00idiixc5822y",
"version": "3.7.0",
"sha256": "174p8i2lnwq324qcs85s3c0j7iyav12yk0i896l23khg9gyzkmlg",
"license": "cc-by-sa-40"
},
{
"pname": "lt_core_news_md",
"version": "3.5.0",
"sha256": "0rd3jmy7d42q5vwgx5kdf24kzd333i5l6v7pjmc5qnq4vwhqr96j",
"version": "3.7.0",
"sha256": "1117sij5w4s297q5j6h210hafh2amm6pd9m9m7m3608rfwsvm9g8",
"license": "cc-by-sa-40"
},
{
"pname": "lt_core_news_sm",
"version": "3.5.0",
"sha256": "039ldh4wvlnkq7cfxahk0m9hvb90hh2x0dqsqygglbdflxibmia0",
"version": "3.7.0",
"sha256": "1j04apdc63c2b2namic4blhm9mk8inmr8ynid09mncljwskg0fjb",
"license": "cc-by-sa-40"
},
{
"pname": "mk_core_news_lg",
"version": "3.5.0",
"sha256": "11daxcyapaqskwmfxl57s3hbjaajk79khnafg4k7zshlqpdyvc3p",
"version": "3.7.0",
"sha256": "0fshypj08hvcbbqjfxkzyfs72p5rm5fw1pfclgln2y0whfap0lqx",
"license": "cc-by-sa-40"
},
{
"pname": "mk_core_news_md",
"version": "3.5.0",
"sha256": "0iky995dql569vg1manz4gv65jgr01nlx0559fljmysiqhq8ax76",
"version": "3.7.0",
"sha256": "1il8pzfk2nd09hd8kmk5znf66ir4bsrp1ax7jaxghi76ggrbpzyx",
"license": "cc-by-sa-40"
},
{
"pname": "mk_core_news_sm",
"version": "3.5.0",
"sha256": "1ghjpk6p5p19l4gichg361191i7xibp5zw0g1hqn87y0x12d20y3",
"version": "3.7.0",
"sha256": "1805hkkm3hjbzw8pg6q08p61bpjk5h13ldzpik0gb9wqw9f69dbp",
"license": "cc-by-sa-40"
},
{
"pname": "nb_core_news_lg",
"version": "3.5.0",
"sha256": "06pcfcy28r57n9dysjqx6py8r0awwfan4g5s97byl1486h77jkaz",
"version": "3.7.0",
"sha256": "1zqwp8a8d26mi94dkib5ahhkr9hawxx4vag4fhibfa6m0prpzh9h",
"license": "mit"
},
{
"pname": "nb_core_news_md",
"version": "3.5.0",
"sha256": "05vsaqw4x8swi4yamwlwg4rw7nj3bsyxdq8g5qjhcj0mjdabz6kj",
"version": "3.7.0",
"sha256": "1ilxscc6hnmiby7ip7kgx3aih9msqmg21iqakkwny3z1lnnly466",
"license": "mit"
},
{
"pname": "nb_core_news_sm",
"version": "3.5.0",
"sha256": "030j0v1csn2q38sy7nfxkx60i8ga7mlkma2f99mlh739j1s4nxaz",
"version": "3.7.0",
"sha256": "1wrchw1rhlzrji5j46lpwzydiaxcywaglz0nvm4vk1np45r7l3dm",
"license": "mit"
},
{
"pname": "nl_core_news_lg",
"version": "3.5.0",
"sha256": "0qcfka8ahcdv1y9lz4zsd1q6xlfxajf5qbymg9cabxxyqjzjqwys",
"version": "3.7.0",
"sha256": "1777sdmjcc7lnj0j26zf00ab7pr09v1220k47fq724cw9l0knin1",
"license": "cc-by-sa-40"
},
{
"pname": "nl_core_news_md",
"version": "3.5.0",
"sha256": "1cl3vynhlgkby7cnda1sgxqi8vrcj5amplmm96xhq5nmb6z6b8jx",
"version": "3.7.0",
"sha256": "19g6hzljz0zi1fppl7c3w8gdak42af3f7z45cg12qyw7vnjl9988",
"license": "cc-by-sa-40"
},
{
"pname": "nl_core_news_sm",
"version": "3.5.0",
"sha256": "16dkiklayp7irc5hwf7qv4pjww6kjg5pd0say25niclrgxfn3482",
"version": "3.7.0",
"sha256": "0gcbb0vs5snif4j5a7z9ha2sj9jby0hnxbp0w5h73yxyg37fk8d4",
"license": "cc-by-sa-40"
},
{
"pname": "pl_core_news_lg",
"version": "3.5.0",
"sha256": "194mjgbph4xgf7xywwajb0p4l19ww2z2ln7jykhnn2gy3j5dm6pd",
"version": "3.7.0",
"sha256": "0glpd8lv7gwq3bryx32q84ny6pdvwrjm7lhxg9h2cdjrair8vx94",
"license": "gpl3"
},
{
"pname": "pl_core_news_md",
"version": "3.5.0",
"sha256": "0435glcxzw1axlq8dkqv0wn8nxgav0dpx3pzvx475avxfp4qm1rv",
"version": "3.7.0",
"sha256": "04qwfh3dam7advyysdcdak7vna5gvirns001zq09kxhj766bc2k9",
"license": "gpl3"
},
{
"pname": "pl_core_news_sm",
"version": "3.5.0",
"sha256": "1ifl01ncfdph32ij1kl8f74ksjw0xiyszabi6q6pskjmcwhfixp7",
"version": "3.7.0",
"sha256": "00wygnwjpvfgiccb643720691pxhcb4pnk3zjj35hv9gbbx6qb8c",
"license": "gpl3"
},
{
"pname": "pt_core_news_lg",
"version": "3.5.0",
"sha256": "182bl598x65akb368fy2nf4qnq89a8n1hcj2g92n3jwhn6d1xfpw",
"version": "3.7.0",
"sha256": "1im0hgr6wd4sfsfb0ddnl2ad9pi1vs0vvr7rq3g14vda3x2f1rxy",
"license": "cc-by-sa-40"
},
{
"pname": "pt_core_news_md",
"version": "3.5.0",
"sha256": "19h8nzx5qfmfcv97sqrzwlv0n45i5yqcngf855djc360mfp2hv69",
"version": "3.7.0",
"sha256": "0zpgxg3ass084qv4bvk9wz15ya92w6a7d2p9p24g49a530b8gd7y",
"license": "cc-by-sa-40"
},
{
"pname": "pt_core_news_sm",
"version": "3.5.0",
"sha256": "19raq2b6q6a3ipxfzg4mdhq2wff9di5ip2mzf48blrj2xp2rjxyg",
"version": "3.7.0",
"sha256": "0z64w8599xwjvxdmrdlr08yyk4a5174m4a39m3zivgib0b5jyvdq",
"license": "cc-by-sa-40"
},
{
"pname": "ro_core_news_lg",
"version": "3.5.0",
"sha256": "10dc7c94wm3mia3japcsplxsv708q30yrqjml68zrrm5awwk30a7",
"version": "3.7.0",
"sha256": "1y45xhdjlhf8026vlsdrxvmiwj8p9hzlpdg628kdcdzmcrr23l5j",
"license": "cc-by-sa-40"
},
{
"pname": "ro_core_news_md",
"version": "3.5.0",
"sha256": "1j8321nn8i13gy6n6rlcw7vsf2wnaf2ybiscwif3wrkzvb07113b",
"version": "3.7.0",
"sha256": "0jw71lav2fim48ff34mf137dsnn3arac555b9rf4flamiy8xg7y6",
"license": "cc-by-sa-40"
},
{
"pname": "ro_core_news_sm",
"version": "3.5.0",
"sha256": "117dyvkdgfrymh8qvdcfrcc6s8pcbnyzg83sib4vjv0nxxfp2xl8",
"version": "3.7.0",
"sha256": "0r35hxm6dgk2fnwl79ss25g6lfkgrd1h24zf96ys2p3cppp2i167",
"license": "cc-by-sa-40"
},
{
"pname": "ru_core_news_lg",
"version": "3.5.0",
"sha256": "1zdlsvlhcfxg2nvcrqvjyx9qyzjl39xb482qqhn572bv89v35h76",
"version": "3.7.0",
"sha256": "02qnl0cfvx0m0icdbpn9zfsv39sp9k6sfdarzazhz7xnxzxib93q",
"license": "mit"
},
{
"pname": "ru_core_news_md",
"version": "3.5.0",
"sha256": "0nqlr2kpbznksh5djc669kcqc61i0ljiazn4z81dblfhxxhv692x",
"version": "3.7.0",
"sha256": "187lkkm04x1ylg3jzyhf9avzpj2jkb48n86i36hqi6iqdv6yhfd5",
"license": "mit"
},
{
"pname": "ru_core_news_sm",
"version": "3.5.0",
"sha256": "0yb0gx8kl5w0f9pkii788vxv9alc0xb08gdfnim0g2givqa5p4fn",
"version": "3.7.0",
"sha256": "11mh1rd0q024xfagdqkly1n4nndksrlq650n51jl1x1pmzlsdgzl",
"license": "mit"
},
{
"pname": "sv_core_news_lg",
"version": "3.5.0",
"sha256": "100rf8wv4nf679fvvrnvd67wlx5w5d755ssvk9g76gzalzxywrmz",
"version": "3.7.0",
"sha256": "05qaff8r3vs30zaxja1lgpibd12njp9ciq49zs26i6d4dqa18hdp",
"license": "cc-by-sa-40"
},
{
"pname": "sv_core_news_md",
"version": "3.5.0",
"sha256": "0ll1i767xb63gqmarxqk7nwg1xn5wjjhrix17hjq03q7rms267mw",
"version": "3.7.0",
"sha256": "0c64lqm10zmy863gs5h3ghx7662c8g7iyapn2rjhmz6909d82yyl",
"license": "cc-by-sa-40"
},
{
"pname": "sv_core_news_sm",
"version": "3.5.0",
"sha256": "1c0w85xn8lnx394qmmnv3px68w0pha7fxx0qlqa74r2mfi3sv6s7",
"version": "3.7.0",
"sha256": "1ik8b2nvxdalglwqg0zl4wbqnd2dyhdcy5hvxh40gi77rg2qd6kb",
"license": "cc-by-sa-40"
},
{
"pname": "uk_core_news_lg",
"version": "3.5.0",
"sha256": "0hl9xjnxslckc6wvfgkj30r3py8q95yj7mrxdb6m5gvknlq72kp2",
"version": "3.7.0",
"sha256": "1qbw16y3ha690fqq71w7r46n8mz7d8za2iw1lljpqpf49my408q1",
"license": "mit"
},
{
"pname": "uk_core_news_md",
"version": "3.5.0",
"sha256": "05mg719ra5khm61yr7xhfcsh3apl29s3h2wkq0v87gkyqn13812p",
"version": "3.7.0",
"sha256": "0znfyl8cdvxbxfhypwkjv84hcs6n457wh4j2cl1sfp9pgsd7bmzb",
"license": "mit"
},
{
"pname": "uk_core_news_sm",
"version": "3.5.0",
"sha256": "1dkbmjbyhf6vsr7c4m4njgi969sfhbdnp73skl3k206dign5qgnz",
"version": "3.7.0",
"sha256": "08scx97j87rrhyrg5smj9ydwmdhl81859qaqj2klgqqpykg0xwlc",
"license": "mit"
},
{
"pname": "uk_core_news_trf",
"version": "3.5.0",
"sha256": "02bhvcivalifrxd3vl118799wvg6hgykj31wwfdsgnq68lwc28fb",
"version": "3.7.0",
"sha256": "14s4xwr0qs8x3d2fca2m1nj6ksl82gggj2by7c817gii1bdvn47p",
"license": "mit"
},
{
"pname": "xx_ent_wiki_sm",
"version": "3.5.0",
"sha256": "042aszgyzbp5n5bn6lgk1m38zxfl1irbryid5fslgh19b19l8v3x",
"version": "3.7.0",
"sha256": "1k06aa8xsx2qcmd4lz02sfxmgif5nngni8dc4y0w0d4x88icdscn",
"license": "mit"
},
{
"pname": "xx_sent_ud_sm",
"version": "3.5.0",
"sha256": "08hqldksllz387d6h3ch95g6rb6ls329hqh0cxyglg9njw9sc97z",
"version": "3.7.0",
"sha256": "13fc4dmmmkanxaxabyx0sa2sh53p92jp3mj263pf31yh98kryxpw",
"license": "cc-by-sa-30"
},
{
"pname": "zh_core_web_lg",
"version": "3.5.0",
"sha256": "17z7g5my5lyp34prcdqzv6w3cgyb7h5gvq61iwbkzppv0n2kldz2",
"version": "3.7.0",
"sha256": "1kqdczq5id0sqnyg3sq5g8n7fcknz53srvd72qmz4wrymy5h81qa",
"license": "mit"
},
{
"pname": "zh_core_web_md",
"version": "3.5.0",
"sha256": "03qxsxdvxn8l11drzicp53jma6j54gxgi8bw53xvbqr9cajxbqva",
"version": "3.7.0",
"sha256": "03m5gnx47mcyx7sh1g3dgqnarvprdkvkyxibsli6yrnvx3vz434j",
"license": "mit"
},
{
"pname": "zh_core_web_sm",
"version": "3.5.0",
"sha256": "0n3ajnbiyr56vy0kplm53rb421cxlc12q5f9p5i7icyv14dy4kml",
"version": "3.7.0",
"sha256": "1x9y4z2883m21rsvv6sw71l1nva3j8an8csdsabs4y84kb5y2by2",
"license": "mit"
},
{
"pname": "zh_core_web_trf",
"version": "3.5.0",
"sha256": "0gc4nn7zsng80j2qn8f7y85akls87dng72jkxp9pldav7k8435nb",
"version": "3.7.0",
"sha256": "1y4c9z4vjywmpg61yxsyp80cmz5s3aa95car01wq3i42qj09bvm6",
"license": "mit"
}
]

View File

@ -3,6 +3,7 @@
, cachetools
, cytoolz
, fetchPypi
, floret
, jellyfish
, joblib
, matplotlib
@ -23,7 +24,7 @@ buildPythonPackage rec {
pname = "textacy";
version = "0.13.0";
disabled = pythonOlder "3.7";
format = "pyproject";
pyproject = true;
src = fetchPypi {
inherit pname version;
@ -33,6 +34,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
cachetools
cytoolz
floret
jellyfish
joblib
matplotlib

View File

@ -59,6 +59,12 @@ buildPythonPackage rec {
"textnets"
];
disabledTests = [
# Test fails: A warning is triggered because of a deprecation notice by pandas.
# TODO: Try to re-enable it when pandas is updated to 2.1.1
"test_corpus_czech"
];
meta = with lib; {
description = "Text analysis with networks";
homepage = "https://textnets.readthedocs.io";

View File

@ -0,0 +1,83 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, setuptools
, wheel
, black
, cloudpathlib
, confection
, isort
, mypy
, packaging
, pre-commit
, pydantic
, pytest
, requests
, ruff
, smart-open
, srsly
, typer
, types-requests
, types-setuptools
, wasabi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "weasel";
version = "0.3.3";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "explosion";
repo = "weasel";
rev = "refs/tags/v${version}";
hash = "sha256-I8Omrez1wfAbCmr9hivqKN2fNgnFQRGm8OP7lb7YClk=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
black
cloudpathlib
confection
isort
mypy
packaging
pre-commit
pydantic
pytest
requests
ruff
smart-open
srsly
typer
types-requests
types-setuptools
wasabi
];
pythonImportsCheck = [ "weasel" ];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
# This test requires internet access
"test_project_assets"
];
meta = with lib; {
description = "Weasel: A small and easy workflow system";
homepage = "https://github.com/explosion/weasel/";
license = licenses.mit;
maintainers = with maintainers; [ GaetanLepage ];
};
}

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "ytmusicapi";
version = "1.3.0";
version = "1.3.1";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "sigma67";
repo = "ytmusicapi";
rev = "refs/tags/${version}";
hash = "sha256-dJckAQ0sWdP7I10khcyKGKsIcDTXQxZtP7B8JHlIZEo=";
hash = "sha256-6dsMOFyZ8cX2zKXX682b5znJvXYTeKt99Wafz7RkfQw=";
};
nativeBuildInputs = [

View File

@ -1,23 +1,17 @@
{ lib
, stdenv
, fetchurl
, callPackage
, dpkg
}:
let
prefix = "hsa-amd-aqlprofile";
version = "5.7.0";
major = lib.versions.major version;
minor = lib.versions.minor version;
patch = lib.versions.patch version;
magic = lib.strings.concatStrings (lib.strings.intersperse "0" (lib.versions.splitVersion version));
in stdenv.mkDerivation (finalAttrs: {
inherit version;
pname = "${prefix}-bin";
stdenv.mkDerivation (finalAttrs: {
pname = "hsa-amd-aqlprofile-bin";
version = "5.7.1";
src = fetchurl {
url = "https://repo.radeon.com/rocm/apt/${major}.${minor}/pool/main/h/${prefix}/${prefix}_1.0.0.${magic}.${magic}-63~22.04_amd64.deb";
hash = "sha256-FQ25eXkhnvOmcf0sGW3GYu9kZj69bVvZrh0jVx/G/kI=";
url = "https://repo.radeon.com/rocm/apt/5.7.1/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.50701.50701-98~22.04_amd64.deb";
hash = "sha256-LWAtZ0paJW8lhE+QAMwq2l8wM+96bxk5rNWyQXTc9Vo=";
};
nativeBuildInputs = [ dpkg ];
@ -29,11 +23,15 @@ in stdenv.mkDerivation (finalAttrs: {
runHook preInstall
mkdir -p $out
cp -a opt/rocm-${version}/* $out
cp -a opt/rocm-${finalAttrs.version}/* $out
chmod +x $out/lib/libhsa-amd-aqlprofile64.so.1.*
chmod +x $out/lib/hsa-amd-aqlprofile/librocprofv2_att.so
runHook postInstall
'';
passthru.updateScript = (callPackage ./update.nix { }) { inherit (finalAttrs) version; };
meta = with lib; {
description = "AQLPROFILE library for AMD HSA runtime API extension support";
homepage = "https://rocm.docs.amd.com/en/latest/";

View File

@ -0,0 +1,51 @@
{ lib
, writeScript
}:
{ version }:
let
prefix = "hsa-amd-aqlprofile";
extVersion = lib.strings.concatStrings (lib.strings.intersperse "0" (lib.versions.splitVersion version));
major = lib.versions.major version;
minor = lib.versions.minor version;
patch = lib.versions.patch version;
updateScript = writeScript "update.sh" ''
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl common-updater-scripts
apt="https://repo.radeon.com/rocm/apt"
pool="pool/main/h/${prefix}/"
url="$apt/latest/$pool"
res="$(curl -sL "$url")"
deb="${prefix}$(echo "$res" | grep -o -P "(?<=href=\"${prefix}).*(?=\">)" | tail -1)"
patch="${patch}"
# Try up to 10 patch versions
for i in {1..10}; do
((patch++))
extVersion="$(echo "$deb" | grep -o -P "(?<=\.....).*(?=\..*-)")"
if (( ''${#extVersion} == 5 )) && (( $extVersion <= ${extVersion} )); then
url="https://repo.radeon.com/rocm/apt/${major}.${minor}.$patch/pool/main/h/${prefix}/"
res="$(curl -sL "$url")"
deb="${prefix}$(echo "$res" | grep -o -P "(?<=href=\"${prefix}).*(?=\">)" | tail -1)"
else
break
fi
done
extVersion="$(echo $deb | grep -o -P "(?<=\.....).*(?=\..*-)")"
version="$(echo $extVersion | sed "s/0/./1" | sed "s/0/./1")"
if (( ''${#extVersion} == 5 )); then
repoVersion="$version"
if (( ''${version:4:1} == 0 )); then
repoVersion=''${version:0:3}
fi
update-source-version rocmPackages_5.${prefix}-bin "$version" "" "$apt/$repoVersion/$pool$deb" --ignore-same-hash
fi
'';
in [ updateScript ]

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchzip
, wrapGAppsHook
, cairo
, dbus
, fontconfig
@ -16,7 +17,6 @@
, libglvnd
, libuuid
, libxcb
, makeWrapper
}:
stdenv.mkDerivation (finalAttrs: {
@ -29,6 +29,8 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-v63sV0HNHSU9H5rhtJcwZCuIXEGe1+BDyxV0/EqBk2E=";
};
nativeBuildInputs = [ wrapGAppsHook ];
sourceRoot = ".";
dontConfigure = true;

View File

@ -8,16 +8,16 @@
rustPlatform.buildRustPackage rec {
pname = "ptags";
version = "0.3.4";
version = "0.3.5";
src = fetchFromGitHub {
owner = "dalance";
repo = "ptags";
rev = "v${version}";
sha256 = "sha256-hFHzNdTX3nw2OwRxk9lKrt/YpaBXwi5aE/Qn3W9PRf4=";
sha256 = "sha256-bxp38zWufqS6PZqhw8X5HR5zMRcwH58MuZaJmDRuiys=";
};
cargoSha256 = "sha256-cFezB7uwUznC/8NXJNrBqP0lf0sXAQBoGksXFOGrUIg=";
cargoHash = "sha256-Se4q4G3hzXIHHSY2YxeRHxU6+wnqR9bfrIQSOagFYZE=";
nativeBuildInputs = [ makeWrapper ];

View File

@ -66,6 +66,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A free multiplayer & singleplayer first person shooter, the successor of the Cube FPS";
homepage = "http://sauerbraten.org";
maintainers = with maintainers; [ raskin ajs124 ];
mainProgram = "sauerbraten_client";
hydraPlatforms =

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, cmake
, ninja
, p7zip
@ -53,6 +54,16 @@ stdenv.mkDerivation rec {
sha256 = "sha256-AdYI9vljjhTXyFffQK0znBv8IHoF2q/nFXrYZSo0BcM=";
};
patches = [
# Upstream patch for curl-8.4 support,
# TODO: remove on next release.
(fetchpatch {
name = "curl-8.4.patch";
url = "https://github.com/Warzone2100/warzone2100/commit/db1cf70950d4fa6630f37a7bf85f548b48ed53cd.patch";
hash = "sha256-/jRan5pi7CamZaCaRdfugFmtCbWTKmCt63q0NBuTrFk=";
})
];
buildInputs = [
SDL2
libtheora

View File

@ -4,16 +4,16 @@ let
# comments with variant added for update script
# ./update-zen.py zen
zenVariant = {
version = "6.5.8"; #zen
suffix = "zen1"; #zen
sha256 = "0pg5q5alsxrbbf8hzbcgmwsyirs86715qijdzaldyw9sf74h4z1l"; #zen
version = "6.5.9"; #zen
suffix = "zen2"; #zen
sha256 = "07dxxs4bz4d6bahymzjzg42ic09wkvd8ynwvv9z19zjh6mk70vr2"; #zen
isLqx = false;
};
# ./update-zen.py lqx
lqxVariant = {
version = "6.5.8"; #lqx
version = "6.5.9"; #lqx
suffix = "lqx1"; #lqx
sha256 = "1f10p7mriwjrgmdfz10vs48xiipdk9ljj884fsj63r5n1g7pz4bf"; #lqx
sha256 = "0z5mfcblwqzsw2d98npv1aa32bni46xmsvwc1ijad1c54iimsk9a"; #lqx
isLqx = true;
};
zenKernelsFor = { version, suffix, sha256, isLqx }: buildLinux (args // {

View File

@ -11,6 +11,8 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-tbM2JWoub789s3YanT/lqCKl6JkY+FahSYb+lHvF7W8=";
};
separateDebugInfo = true;
cargoHash = "sha256-l2rWR9HAXTuNEarj2hWaZxpTdUNGoCnNfsZs8Y+of+s=";
LIBCAPNG_LIB_PATH = "${lib.getLib libcap_ng}/lib";

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "bird-exporter";
version = "1.4.2";
version = "1.4.3";
src = fetchFromGitHub {
owner = "czerwonk";
repo = "bird_exporter";
rev = version;
sha256 = "sha256-XGHOEnAichQEir0k8wj/OSuj1zk8UsLYi9azg6lgpws=";
sha256 = "sha256-aClwJ+J83iuZbfNP+Y1vKEjBULD5wh/R3TMceCccacc=";
};
vendorHash = "sha256-X6zrCTGZaSdQS9bwzjbSGkmNs38JBxZMtrqajQxkzK0=";
vendorHash = "sha256-0EXRpehdpOYpq6H9udmNnQ24EucvAcPUKOlFSAAewbE=";
passthru.tests = { inherit (nixosTests.prometheus-exporters) bird; };

View File

@ -1,8 +1,6 @@
{ lib
, stdenv
, callPackage
, fetchFromGitHub
, fetchurl
, autoPatchelfHook
, makeWrapper
, buildNpmPackage
@ -14,7 +12,6 @@
, libxcb
, openssl
, libopus
, ffmpeg_5-full
, boost
, pkg-config
, libdrm
@ -23,47 +20,45 @@
, libcap
, mesa
, curl
, pcre
, pcre2
, libuuid
, libselinux
, libsepol
, libthai
, libdatrie
, libxkbcommon
, libepoxy
, libva
, libvdpau
, numactl
, amf-headers
, intel-media-sdk
, svt-av1
, vulkan-loader
, libappindicator
, libnotify
, config
, cudaSupport ? config.cudaSupport
, cudaPackages ? {}
}:
let
libcbs = callPackage ./libcbs.nix { };
# get cmake file used to find external ffmpeg from previous sunshine version
findFfmpeg = fetchurl {
url = "https://raw.githubusercontent.com/LizardByte/Sunshine/6702802829869547708dfec98db5b8cbef39be89/cmake/FindFFMPEG.cmake";
sha256 = "sha256:1hl3sffv1z8ghdql5y9flk41v74asvh23y6jmaypll84f1s6k1xa";
};
in
stdenv.mkDerivation rec {
pname = "sunshine";
version = "0.20.0";
version = "0.21.0";
src = fetchFromGitHub {
owner = "LizardByte";
repo = "Sunshine";
rev = "v${version}";
sha256 = "sha256-/ceN44PAEtXzrAUi4AEldW1FBhJqIXah1Zd0S6fiV3s=";
sha256 = "sha256-uvQAJkoKazFLz5iTpYSAGYJQZ2EprQ+p9+tryqorFHM=";
fetchSubmodules = true;
};
# remove pre-built ffmpeg; use ffmpeg from nixpkgs
patches = [
./ffmpeg.diff
];
# fetch node_modules needed for webui
ui = buildNpmPackage {
inherit src version;
pname = "sunshine-ui";
npmDepsHash = "sha256-pwmkpZjDwluKJjcY0ehetQbAlFnj1tsW100gRjolboc=";
npmDepsHash = "sha256-+T1XAf4SThoJLOFpnVxDa2qiKFLIKQPGewjA83GQovM=";
dontNpmBuild = true;
@ -88,9 +83,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
libcbs
avahi
ffmpeg_5-full
libevdev
libpulseaudio
xorg.libX11
@ -109,6 +102,16 @@ stdenv.mkDerivation rec {
libcap
libdrm
curl
pcre
pcre2
libuuid
libselinux
libsepol
libthai
libdatrie
xorg.libXdmcp
libxkbcommon
libepoxy
libva
libvdpau
numactl
@ -116,8 +119,11 @@ stdenv.mkDerivation rec {
amf-headers
svt-av1
libappindicator
libnotify
] ++ lib.optionals cudaSupport [
cudaPackages.cudatoolkit
] ++ lib.optionals stdenv.isx86_64 [
intel-media-sdk
];
runtimeDependencies = [
@ -132,16 +138,13 @@ stdenv.mkDerivation rec {
];
postPatch = ''
# fix hardcoded libevdev and icon path
substituteInPlace CMakeLists.txt \
--replace '/usr/include/libevdev-1.0' '${libevdev}/include/libevdev-1.0' \
--replace '/usr/share' "$out/share"
# fix hardcoded libevdev path
substituteInPlace cmake/compile_definitions/linux.cmake \
--replace '/usr/include/libevdev-1.0' '${libevdev}/include/libevdev-1.0'
substituteInPlace packaging/linux/sunshine.desktop \
--replace '@PROJECT_NAME@' 'Sunshine'
# add FindFFMPEG to source tree
cp ${findFfmpeg} cmake/FindFFMPEG.cmake
--replace '@PROJECT_NAME@' 'Sunshine' \
--replace '@PROJECT_DESCRIPTION@' 'Self-hosted game stream host for Moonlight'
'';
preBuild = ''
@ -163,7 +166,7 @@ stdenv.mkDerivation rec {
passthru.updateScript = ./updater.sh;
meta = with lib; {
description = "Sunshine is a Game stream host for Moonlight.";
description = "Sunshine is a Game stream host for Moonlight";
homepage = "https://github.com/LizardByte/Sunshine";
license = licenses.gpl3Only;
maintainers = with maintainers; [ devusb ];

View File

@ -1,75 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ccca6fc..8789a4a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -349,6 +349,8 @@ else()
set(WAYLAND_FOUND OFF)
endif()
+ find_package(FFMPEG REQUIRED)
+
if(X11_FOUND)
add_compile_definitions(SUNSHINE_BUILD_X11)
include_directories(SYSTEM ${X11_INCLUDE_DIR})
@@ -547,43 +549,7 @@ set_source_files_properties(third-party/nanors/rs.c
list(APPEND SUNSHINE_DEFINITIONS SUNSHINE_TRAY=${SUNSHINE_TRAY})
-# Pre-compiled binaries
-if(WIN32)
- set(FFMPEG_PREPARED_BINARIES "${CMAKE_CURRENT_SOURCE_DIR}/third-party/ffmpeg-windows-x86_64")
- set(FFMPEG_PLATFORM_LIBRARIES mfplat ole32 strmiids mfuuid mfx)
-elseif(APPLE)
- if (CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
- set(FFMPEG_PREPARED_BINARIES "${CMAKE_CURRENT_SOURCE_DIR}/third-party/ffmpeg-macos-aarch64")
- else()
- set(FFMPEG_PREPARED_BINARIES "${CMAKE_CURRENT_SOURCE_DIR}/third-party/ffmpeg-macos-x86_64")
- endif()
-else()
set(FFMPEG_PLATFORM_LIBRARIES va va-drm va-x11 vdpau X11)
- if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
- set(FFMPEG_PREPARED_BINARIES "${CMAKE_CURRENT_SOURCE_DIR}/third-party/ffmpeg-linux-aarch64")
- else()
- set(FFMPEG_PREPARED_BINARIES "${CMAKE_CURRENT_SOURCE_DIR}/third-party/ffmpeg-linux-x86_64")
- list(APPEND FFMPEG_PLATFORM_LIBRARIES mfx)
- set(CPACK_DEB_PLATFORM_PACKAGE_DEPENDS "libmfx1,")
- set(CPACK_RPM_PLATFORM_PACKAGE_REQUIRES "intel-mediasdk >= 22.3.0,")
- endif()
-endif()
-set(FFMPEG_INCLUDE_DIRS
- ${FFMPEG_PREPARED_BINARIES}/include)
-if(EXISTS ${FFMPEG_PREPARED_BINARIES}/lib/libhdr10plus.a)
- set(HDR10_PLUS_LIBRARY
- ${FFMPEG_PREPARED_BINARIES}/lib/libhdr10plus.a)
-endif()
-set(FFMPEG_LIBRARIES
- ${FFMPEG_PREPARED_BINARIES}/lib/libavcodec.a
- ${FFMPEG_PREPARED_BINARIES}/lib/libavutil.a
- ${FFMPEG_PREPARED_BINARIES}/lib/libcbs.a
- ${FFMPEG_PREPARED_BINARIES}/lib/libSvtAv1Enc.a
- ${FFMPEG_PREPARED_BINARIES}/lib/libswscale.a
- ${FFMPEG_PREPARED_BINARIES}/lib/libx264.a
- ${FFMPEG_PREPARED_BINARIES}/lib/libx265.a
- ${HDR10_PLUS_LIBRARY}
- ${FFMPEG_PLATFORM_LIBRARIES})
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
@@ -593,7 +559,6 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/third-party/moonlight-common-c/enet/include
${CMAKE_CURRENT_SOURCE_DIR}/third-party/nanors
${CMAKE_CURRENT_SOURCE_DIR}/third-party/nanors/deps/obl
- ${FFMPEG_INCLUDE_DIRS}
${PLATFORM_INCLUDE_DIRS}
)
@@ -627,7 +592,9 @@ list(APPEND SUNSHINE_EXTERNAL_LIBRARIES
${CMAKE_THREAD_LIBS_INIT}
enet
opus
+ cbs
${FFMPEG_LIBRARIES}
+ ${FFMPEG_PLATFORM_LIBRARIES}
${Boost_LIBRARIES}
${OPENSSL_LIBRARIES}
${CURL_LIBRARIES}

View File

@ -1,48 +0,0 @@
{ stdenv
, fetchFromGitHub
, cmake
, nasm
}:
stdenv.mkDerivation {
pname = "libcbs";
version = "unstable-2022-02-07";
src = fetchFromGitHub {
owner = "LizardByte";
repo = "build-deps";
# repo is not versioned -- used latest commit combined with sunshine release
rev = "d6e889188ca10118d769ee1ee3cddf9cf485642b";
fetchSubmodules = true;
sha256 = "sha256-6xQDJey5JrZXyZxS/yhUBvFi6UD5MsQ3uVtUFrG09Vc=";
};
nativeBuildInputs = [
cmake
nasm
];
# modify paths to allow patches to be applied directly by derivation
prePatch = ''
substituteInPlace ffmpeg_patches/cbs/* \
--replace 'a/libavcodec' 'a/ffmpeg_sources/ffmpeg/libavcodec' \
--replace 'b/libavcodec' 'b/ffmpeg_sources/ffmpeg/libavcodec' \
--replace 'a/libavutil' 'a/ffmpeg_sources/ffmpeg/libavutil' \
--replace 'b/libavutil' 'b/ffmpeg_sources/ffmpeg/libavutil'
substituteInPlace cmake/ffmpeg_cbs.cmake \
--replace '--enable-static' '--enable-shared --enable-pic' \
--replace 'add_library(cbs' 'add_library(cbs SHARED' \
--replace 'libcbs.a' 'libcbs.so'
'';
patches = [
"ffmpeg_patches/cbs/01-explicit-intmath.patch"
"ffmpeg_patches/cbs/02-include-cbs-config.patch"
"ffmpeg_patches/cbs/03-remove-register.patch"
"ffmpeg_patches/cbs/04-size-specifier.patch"
];
CFLAGS = [
"-Wno-format-security"
];
}

View File

@ -5,15 +5,15 @@
"packages": {
"": {
"dependencies": {
"@fortawesome/fontawesome-free": "6.4.0",
"bootstrap": "5.2.3",
"@fortawesome/fontawesome-free": "6.4.2",
"bootstrap": "5.3.2",
"vue": "2.6.12"
}
},
"node_modules/@fortawesome/fontawesome-free": {
"version": "6.4.0",
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.4.0.tgz",
"integrity": "sha512-0NyytTlPJwB/BF5LtRV8rrABDbe3TdTXqNB3PdZ+UUUZAEIrdOJdmABqKjt4AXwIoJNaRVVZEXxpNrqvE1GAYQ==",
"version": "6.4.2",
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.4.2.tgz",
"integrity": "sha512-m5cPn3e2+FDCOgi1mz0RexTUvvQibBebOUlUlW0+YrMjDTPkiJ6VTKukA1GRsvRw+12KyJndNjj0O4AgTxm2Pg==",
"hasInstallScript": true,
"engines": {
"node": ">=6"
@ -30,9 +30,9 @@
}
},
"node_modules/bootstrap": {
"version": "5.2.3",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.2.3.tgz",
"integrity": "sha512-cEKPM+fwb3cT8NzQZYEu4HilJ3anCrWqh3CHAok1p9jXqMPsPTBhU25fBckEJHJ/p+tTxTFTsFQGM+gaHpi3QQ==",
"version": "5.3.2",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.2.tgz",
"integrity": "sha512-D32nmNWiQHo94BKHLmOrdjlL05q1c8oxbtBphQFb9Z5to6eGRDCm0QgeaZ4zFBHzfg2++rqa2JkqCcxDy0sH0g==",
"funding": [
{
"type": "github",
@ -44,7 +44,7 @@
}
],
"peerDependencies": {
"@popperjs/core": "^2.11.6"
"@popperjs/core": "^2.11.8"
}
},
"node_modules/vue": {

View File

@ -165,6 +165,17 @@ let
, ... } @ attrs:
# Policy on acceptable hash types in nixpkgs
assert attrs ? outputHash -> (
let algo =
attrs.outputHashAlgo or (lib.head (lib.splitString "-" attrs.outputHash));
in
if algo == "md5" then
throw "Rejected insecure ${algo} hash '${attrs.outputHash}'"
else
true
);
let
# TODO(@oxij, @Ericson2314): This is here to keep the old semantics, remove when
# no package has `doCheck = true`.

View File

@ -142,6 +142,15 @@ in
'';
};
# Check that mkDerivation rejects MD5 hashes
rejectedHashes = lib.recurseIntoAttrs {
md5 =
let drv = runCommand "md5 outputHash rejected" {
outputHash = "md5-fPt7dxVVP7ffY3MxkQdwVw==";
} "true";
in assert !(builtins.tryEval drv).success; {};
};
test-inputDerivation = let
inherit (stdenv.mkDerivation {
dep1 = derivation { name = "dep1"; builder = "/bin/sh"; args = [ "-c" ": > $out" ]; system = builtins.currentSystem; };

View File

@ -1,6 +1,7 @@
{ lib
, python3
, fetchPypi
, fetchpatch
}:
python3.pkgs.buildPythonApplication rec {
@ -16,6 +17,13 @@ python3.pkgs.buildPythonApplication rec {
patches = [
./faster-whisper-entrypoint.patch
# fix model retrieval on python3.11+
(fetchpatch {
url = "https://github.com/rhasspy/rhasspy3/commit/ea55a309e55384e6fd8c9f19534622968f8ed95b.patch";
hash = "sha256-V9WXKE3+34KGubBS23vELTHjqU2RCTk3sX8GTjmH+AA=";
stripLen = 4;
})
];
propagatedBuildInputs = with python3.pkgs; [

View File

@ -5,15 +5,15 @@
rustPlatform.buildRustPackage rec {
pname = "svg2pdf";
version = "0.8.0";
version = "0.9.0";
src = fetchFromGitHub {
owner = "typst";
repo = "svg2pdf";
rev = "v${version}";
hash = "sha256-iN6/VO6EMP9wMoTn4t0y1Oq9XP9Q3UcRNCWsMzI4Fn8=";
hash = "sha256-Xy1ID2/M3v9/ZEo8fWEDlJ8+cmgAMdHhs27xDfe8IYQ=";
};
cargoHash = "sha256-Xxb8DeTAmw0Pq4mrLVcpEuzq7/SX+AlUSWoA2dcVQJA=";
cargoHash = "sha256-l3671zvqSM4CY7lOXOur0Q6PBDVf6jXnhZ/8kADWQz4=";
buildFeatures = [ "cli" ];
meta = with lib; {

View File

@ -31,6 +31,6 @@ stdenvNoCC.mkDerivation rec {
homepage = "https://github.com/b3nj5m1n/xdg-ninja";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ patricksjackson ];
maintainers = with maintainers; [ arcuru ];
};
}

View File

@ -6,18 +6,18 @@
buildGoModule rec {
pname = "v2ray-core";
version = "5.7.0";
version = "5.8.0";
src = fetchFromGitHub {
owner = "v2fly";
repo = "v2ray-core";
rev = "v${version}";
hash = "sha256-gdDV5Cd/DjEqSiOF7j5a8QLtdJiFeNCnHoA4XD+yiGA=";
hash = "sha256-fMAPlPn53GkYKpraRS58XTF//IMZtzssaQpBkirEWfw=";
};
# `nix-update` doesn't support `vendorHash` yet.
# https://github.com/Mic92/nix-update/pull/95
vendorHash = "sha256-uq0v14cRGmstJabrERsa+vFRX6Bg8+5CU6iV8swrL/I=";
vendorHash = "sha256-un3faML5u9kmlsJw/hitoRcGYtVukF+V/dJMFyGhr8Q=";
ldflags = [ "-s" "-w" "-buildid=" ];

View File

@ -11,13 +11,13 @@
}:
let
pname = "v2raya";
version = "2.0.5";
version = "2.2.4";
src = fetchFromGitHub {
owner = "v2rayA";
repo = "v2rayA";
rev = "v${version}";
hash = "sha256-oMH4FutgI5mLz2sxDdPFUyDd80xT32r51HEQYhhnvcU=";
hash = "sha256-X2fCp9uVdt7fIW1C/tdRK1Tmr8mq6VBk6UBnt99E+1c=";
postFetch = "sed -i -e 's/npmmirror/yarnpkg/g' $out/gui/yarn.lock";
};
guiSrc = "${src}/gui";
@ -30,17 +30,20 @@ let
offlineCache = fetchYarnDeps {
yarnLock = "${guiSrc}/yarn.lock";
sha256 = "sha256-hVtETKhG9kX/4a4uO/aQ9sN2eTF6aAYaKDSHJIa0eWQ=";
sha256 = "sha256-pB0B5Iy6dLfU5CL2E9OBQGJKLJqYQRwPxx9aaCDg1Qk=";
};
buildPhase = ''
export NODE_OPTIONS=--openssl-legacy-provider
runHook preBuild
OUTPUT_DIR=$out yarn --offline build
runHook postBuild
'';
configurePhase = ''
runHook preConfigure
cp -r $node_modules node_modules
chmod +w node_modules
runHook postConfigure
'';
distPhase = "true";
@ -59,7 +62,7 @@ buildGoModule {
inherit pname version;
src = "${src}/service";
vendorHash = "sha256-nI+nqftJybAGcHCTMVjYPuLHxqE/kyjUzkspnkzUi+g=";
vendorHash = "sha256-lK6oTI9o8oLXPPMFO/Q97tIsdRd9smUk1v7GwwCFitg=";
ldflags = [
"-s"

View File

@ -8,6 +8,9 @@
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"resolutions": {
"@achrinza/node-ipc": "^10.1.9"
},
"dependencies": {
"@mdi/font": "^5.8.55",
"@nuintun/qrcode": "^3.3.0",

View File

@ -53,6 +53,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/orhun/gpg-tui";
changelog = "https://github.com/orhun/gpg-tui/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
maintainers = with maintainers; [ dotlambda matthiasbeyer ];
};
}

View File

@ -29,6 +29,6 @@ rustPlatform.buildRustPackage rec {
changelog = "https://github.com/orhun/kmon/blob/v${version}/CHANGELOG.md";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ figsoda misuzu ];
maintainers = with maintainers; [ figsoda misuzu matthiasbeyer ];
};
}

View File

@ -35,6 +35,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/orhun/systeroid";
changelog = "https://github.com/orhun/systeroid/blob/${src.rev}/CHANGELOG.md";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ figsoda ];
maintainers = with maintainers; [ figsoda matthiasbeyer ];
};
}

View File

@ -35690,7 +35690,9 @@ with pkgs;
teams = callPackage ../applications/networking/instant-messengers/teams { };
teams-for-linux = callPackage ../applications/networking/instant-messengers/teams-for-linux { };
teams-for-linux = callPackage ../applications/networking/instant-messengers/teams-for-linux {
electron = electron_27;
};
teamspeak_client = libsForQt5.callPackage ../applications/networking/instant-messengers/teamspeak/client.nix { };
teamspeak5_client = callPackage ../applications/networking/instant-messengers/teamspeak/client5.nix { };
@ -41900,9 +41902,7 @@ with pkgs;
stayrtr = callPackage ../servers/stayrtr { };
sunshine = callPackage ../servers/sunshine {
ffmpeg_5-full = ffmpeg_5-full.override { nv-codec-headers = nv-codec-headers-11; };
};
sunshine = callPackage ../servers/sunshine { };
sentencepiece = callPackage ../development/libraries/sentencepiece { };

View File

@ -2124,6 +2124,8 @@ self: super: with self; {
cloudflare = callPackage ../development/python-modules/cloudflare { };
cloudpathlib = callPackage ../development/python-modules/cloudpathlib { };
cloudpickle = callPackage ../development/python-modules/cloudpickle { };
cloudscraper = callPackage ../development/python-modules/cloudscraper { };
@ -4091,6 +4093,8 @@ self: super: with self; {
flit-scm = callPackage ../development/python-modules/flit-scm { };
floret = callPackage ../development/python-modules/floret { };
flow-record = callPackage ../development/python-modules/flow-record { };
flower = callPackage ../development/python-modules/flower { };
@ -15488,6 +15492,8 @@ self: super: with self; {
wcwidth = callPackage ../development/python-modules/wcwidth { };
weasel = callPackage ../development/python-modules/weasel { };
weasyprint = callPackage ../development/python-modules/weasyprint { };
weaviate-client = callPackage ../development/python-modules/weaviate-client { };