Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2024-10-22 18:05:05 +00:00 committed by GitHub
commit e14936ef02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
164 changed files with 1391 additions and 899 deletions

View File

@ -232,6 +232,19 @@ To add a new plugin, run `nix-shell -p vimPluginsUpdater --run 'vim-plugins-upda
Finally, there are some plugins that are also packaged in nodePackages because they have Javascript-related build steps, such as running webpack. Those plugins are not listed in `vim-plugin-names` or managed by `vimPluginsUpdater` at all, and are included separately in `overrides.nix`. Currently, all these plugins are related to the `coc.nvim` ecosystem of the Language Server Protocol integration with Vim/Neovim.
### Testing Neovim plugins {#testing-neovim-plugins}
`nvimRequireCheck=MODULE` is a simple test which checks if Neovim can requires the lua module `MODULE` without errors. This is often enough to catch missing dependencies.
This can be manually added through plugin definition overrides in the [overrides.nix](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/overrides.nix).
```nix
gitsigns-nvim = super.gitsigns-nvim.overrideAttrs {
dependencies = [ self.plenary-nvim ];
nvimRequireCheck = "gitsigns";
};
```
### Plugin optional configuration {#vim-plugin-required-snippet}
Some plugins require specific configuration to work. We choose not to

View File

@ -1817,6 +1817,13 @@
githubId = 338268;
name = "Alexei Robyn";
};
artem = {
email = "a@pelenitsyn.top";
github = "ulysses4ever";
githubId = 6832600;
name = "Artem Pelenitsyn";
matrix = "@artem.types:matrix.org";
};
artemist = {
email = "me@artem.ist";
github = "artemist";
@ -8938,6 +8945,12 @@
githubId = 6109326;
name = "David Hummel";
};
husjon = {
name = "Jon Erling Hustadnes";
email = "jonerling.hustadnes+nixpkgs@gmail.com";
github = "husjon";
githubId = 554229;
};
husky = {
email = "husky@husky.sh";
github = "huskyistaken";
@ -18390,7 +18403,7 @@
};
rnhmjoj = {
email = "rnhmjoj@inventati.org";
matrix = "@rnhmjoj:maxwell.ydns.eu";
matrix = "@rnhmjoj:eurofusion.eu";
github = "rnhmjoj";
githubId = 2817565;
name = "Michele Guerini Rocco";

View File

@ -78,6 +78,11 @@
};
config = lib.mkIf config.hardware.nvidia-container-toolkit.enable {
assertions = [
{ assertion = config.hardware.nvidia.datacenter.enable || lib.elem "nvidia" config.services.xserver.videoDrivers;
message = ''`nvidia-container-toolkit` requires nvidia datacenter or desktop drivers: set `hardware.nvidia.datacenter.enable` or add "nvidia" to `services.xserver.videoDrivers`'';
}];
virtualisation.docker = {
daemon.settings = lib.mkIf
(lib.versionAtLeast config.virtualisation.docker.package.version "25") {
@ -130,9 +135,6 @@
]);
};
services.xserver.videoDrivers = lib.mkIf
(!config.hardware.nvidia.datacenter.enable) [ "nvidia" ];
systemd.services.nvidia-container-toolkit-cdi-generator = {
description = "Container Device Interface (CDI) for Nvidia generator";
wantedBy = [ "multi-user.target" ];

View File

@ -375,8 +375,5 @@ in
};
};
meta.maintainers = with lib.maintainers; [
erictapen
nh2
];
meta.maintainers = with lib.maintainers; [ nh2 ];
}

View File

@ -979,7 +979,6 @@ in
};
meta.maintainers = with lib.maintainers; [
erictapen
Flakebi
oddlama
];

View File

@ -22,7 +22,6 @@ let
]
++ finalPackage.optional-dependencies.redis
++ lib.optionals cfg.celery.enable [ celery ]
++ lib.optionals (cfg.settings.database.backend == "mysql") finalPackage.optional-dependencies.mysql
++ lib.optionals (cfg.settings.database.backend == "postgresql") finalPackage.optional-dependencies.postgres;
};
in
@ -184,6 +183,17 @@ in
};
};
files = {
upload_limit = lib.mkOption {
type = lib.types.ints.positive;
default = 10;
example = 50;
description = ''
Maximum file upload size in MiB.
'';
};
};
filesystem = {
data = lib.mkOption {
type = lib.types.path;

View File

@ -182,21 +182,21 @@ in
message = "Either `services.wakapi.passwordSalt` or `services.wakapi.passwordSaltFile` must be set.";
}
{
assertion = cfg.passwordSalt != null -> cfg.passwordSaltFile != null;
assertion = !(cfg.passwordSalt != null && cfg.passwordSaltFile != null);
message = "Both `services.wakapi.passwordSalt` `services.wakapi.passwordSaltFile` should not be set at the same time.";
}
{
assertion = cfg.smtpPassword != null -> cfg.smtpPasswordFile != null;
assertion = !(cfg.smtpPassword != null && cfg.smtpPasswordFile != null);
message = "Both `services.wakapi.smtpPassword` `services.wakapi.smtpPasswordFile` should not be set at the same time.";
}
{
assertion = cfg.db.createLocally -> cfg.db.dialect != null;
assertion = cfg.database.createLocally -> cfg.settings.db.dialect != null;
message = "`services.wakapi.database.createLocally` is true, but a database dialect is not set!";
}
];
warnings = [
(lib.optionalString (cfg.db.createLocall -> cfg.db.dialect != "postgres") ''
(lib.optionalString (cfg.database.createLocally -> cfg.settings.db.dialect != "postgres") ''
You have enabled automatic database configuration, but the database dialect is not set to "posgres".
The Wakapi module only supports for PostgreSQL. Please set `services.wakapi.database.createLocally`

View File

@ -1108,6 +1108,7 @@ in {
vscode-remote-ssh = handleTestOn ["x86_64-linux"] ./vscode-remote-ssh.nix {};
vscodium = discoverTests (import ./vscodium.nix);
vsftpd = handleTest ./vsftpd.nix {};
wakapi = handleTest ./wakapi.nix {};
warzone2100 = handleTest ./warzone2100.nix {};
wasabibackend = handleTest ./wasabibackend.nix {};
wastebin = handleTest ./wastebin.nix {};

View File

@ -16,7 +16,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
in
{
name = "kanidm";
meta.maintainers = with pkgs.lib.maintainers; [ erictapen Flakebi oddlama ];
meta.maintainers = with pkgs.lib.maintainers; [ Flakebi oddlama ];
nodes.server = { pkgs, ... }: {
services.kanidm = {

40
nixos/tests/wakapi.nix Normal file
View File

@ -0,0 +1,40 @@
import ./make-test-python.nix (
{ lib, ... }:
{
name = "Wakapi";
nodes.machine = {
services.wakapi = {
enable = true;
settings = {
server.port = 3000; # upstream default, set explicitly in case upstream changes it
db = {
dialect = "postgres"; # `createLocally` only supports postgres
host = "/run/postgresql";
port = 5432; # service will fail if port is not set
name = "wakapi";
user = "wakapi";
};
};
database.createLocally = true;
# Created with `cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w ${1:-32} | head -n 1`
# Prefer passwordSaltFile in production.
passwordSalt = "NpqCY7eY7fMoIWYmPx5mAgr6YoSlXSuI";
};
};
# Test that the service is running and that it is reachable.
# This is not very comprehensive for a test, but it should
# catch very basic mistakes in the module.
testScript = ''
machine.wait_for_unit("wakapi.service")
machine.wait_for_open_port(3000)
machine.succeed("curl --fail http://localhost:3000")
'';
meta.maintainers = [ lib.maintainers.NotAShelf ];
}
)

View File

@ -1,29 +1,33 @@
{ lib
, stdenv
, fetchurl
, autoPatchelfHook
, dpkg
, alsa-lib
, freetype
, libglvnd
, curl
, libXcursor
, libXinerama
, libXrandr
, libXrender
, libjack2
{
lib,
stdenv,
fetchurl,
autoPatchelfHook,
dpkg,
alsa-lib,
freetype,
libglvnd,
curl,
libXcursor,
libXinerama,
libXrandr,
libXrender,
libjack2,
}:
stdenv.mkDerivation rec {
pname = "tonelib-gfx";
version = "4.7.8";
version = "4.8.5";
src = fetchurl {
url = "https://tonelib.net/download/221222/ToneLib-GFX-amd64.deb";
hash = "sha256-1sTwHqQYqNloZ3XSwhryqlW7b1FHh4ymtj3rKUcVZIo=";
url = "https://tonelib.vip/download/24-10-03/ToneLib-GFX-amd64.deb";
hash = "sha256-RG5rliF4/9LDd07i5dSFQzTGPqyF6UmTfatKb59LZA4=";
};
nativeBuildInputs = [ autoPatchelfHook dpkg ];
nativeBuildInputs = [
autoPatchelfHook
dpkg
];
buildInputs = [
stdenv.cc.cc.lib
@ -46,14 +50,18 @@ stdenv.mkDerivation rec {
installPhase = ''
mv usr $out
substituteInPlace $out/share/applications/ToneLib-GFX.desktop --replace /usr/ $out/
'';
'';
meta = with lib; {
description = "Tonelib GFX is an amp and effects modeling software for electric guitar and bass";
homepage = "https://tonelib.net/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
maintainers = with maintainers; [ dan4ik605743 orivej ];
maintainers = with maintainers; [
dan4ik605743
husjon
orivej
];
platforms = [ "x86_64-linux" ];
mainProgram = "ToneLib-GFX";
};

View File

@ -2,7 +2,6 @@
, stdenv
, fetchurl
, fetchFromGitHub
, fetchpatch2
, autoreconfHook
, pkg-config
, installShellFiles
@ -15,6 +14,7 @@
, miniupnpc
, zeromq
, zlib
, db53
, sqlite
, qrencode
, qtbase ? null
@ -33,23 +33,15 @@ let
in
stdenv.mkDerivation rec {
pname = if withGui then "groestlcoin" else "groestlcoind";
version = "27.0";
version = "28.0";
src = fetchFromGitHub {
owner = "Groestlcoin";
repo = "groestlcoin";
rev = "v${version}";
sha256 = "0f6vi2k5xvjrhiazfjcd4aj246dfcg51xsnqb9wdjl41cg0ckwmf";
sha256 = "0kl7nq62362clgzxwwd5c256xnaar4ilxcvbralazxg47zv95r11";
};
patches = [
# upnp: add compatibility for miniupnpc 2.2.8
(fetchpatch2 {
url = "https://github.com/Groestlcoin/groestlcoin/commit/8acdf66540834b9f9cf28f16d389e8b6a48516d5.patch?full_index=1";
hash = "sha256-oDvHUvwAEp0LJCf6QBESn38Bu359TcPpLhvuLX3sm6M=";
})
];
nativeBuildInputs = [ autoreconfHook pkg-config installShellFiles ]
++ lib.optionals stdenv.hostPlatform.isLinux [ util-linux ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ hexdump ]
@ -57,7 +49,7 @@ stdenv.mkDerivation rec {
++ lib.optionals withGui [ wrapQtAppsHook ];
buildInputs = [ boost libevent miniupnpc zeromq zlib ]
++ lib.optionals withWallet [ sqlite ]
++ lib.optionals withWallet [ db53 sqlite ]
++ lib.optionals withGui [ qrencode qtbase qttools ];
postInstall = ''

View File

@ -9437,6 +9437,18 @@ final: prev:
meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter-refactor/";
};
nvim-treesitter-sexp = buildVimPlugin {
pname = "nvim-treesitter-sexp";
version = "2024-06-07";
src = fetchFromGitHub {
owner = "PaterJason";
repo = "nvim-treesitter-sexp";
rev = "32509f4071f9c8ba5655bf2e1ccf1f1cd8447da0";
sha256 = "1mfayp49nglk4xv1zmzdc8d6dxkjn3dqlywhwwkcdnyqg6y4c6ks";
};
meta.homepage = "https://github.com/PaterJason/nvim-treesitter-sexp/";
};
nvim-treesitter-textobjects = buildVimPlugin {
pname = "nvim-treesitter-textobjects";
version = "2024-10-16";

View File

@ -1676,6 +1676,10 @@ in
nvim-treesitter-parsers = lib.recurseIntoAttrs self.nvim-treesitter.grammarPlugins;
nvim-treesitter-sexp = super.nvim-treesitter-sexp.overrideAttrs {
nvimRequireCheck = "treesitter-sexp";
};
nvim-ufo = super.nvim-ufo.overrideAttrs {
dependencies = with self; [ promise-async ];
nvimRequireCheck = "ufo";

View File

@ -792,6 +792,7 @@ https://github.com/RRethy/nvim-treesitter-endwise/,HEAD,
https://github.com/theHamsta/nvim-treesitter-pairs/,HEAD,
https://github.com/eddiebergman/nvim-treesitter-pyfold/,,
https://github.com/nvim-treesitter/nvim-treesitter-refactor/,,
https://github.com/PaterJason/nvim-treesitter-sexp/,HEAD,
https://github.com/nvim-treesitter/nvim-treesitter-textobjects/,,
https://github.com/RRethy/nvim-treesitter-textsubjects/,HEAD,
https://github.com/windwp/nvim-ts-autotag/,,

View File

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
for use by GMT, the Generic Mapping Tools.
'';
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ tviti ];
maintainers = lib.teams.geospatial.members ++ (with lib.maintainers; [ tviti ]);
};
}

View File

@ -106,7 +106,7 @@ in stdenv.mkDerivation (finalAttrs: {
'';
platforms = lib.platforms.unix;
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ tviti ];
maintainers = lib.teams.geospatial.members ++ (with lib.maintainers; [ tviti ]);
};
})

View File

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
Mapping Tools.
'';
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ tviti ];
maintainers = lib.teams.geospatial.members ++ (with lib.maintainers; [ tviti ]);
};
}

View File

@ -146,7 +146,7 @@ stdenv.mkDerivation (finalAttrs: {
description = "Software suite to create, edit, compose, or convert bitmap images";
pkgConfigModules = [ "ImageMagick" "MagickWand" ];
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ erictapen dotlambda rhendric ];
maintainers = with maintainers; [ dotlambda rhendric ];
license = licenses.asl20;
mainProgram = "magick";
};

View File

@ -116,9 +116,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Desktop application for creating diagrams";
homepage = "https://about.draw.io/";
license = licenses.asl20;
license = licenses.unfree;
changelog = "https://github.com/jgraph/drawio-desktop/releases/tag/v${version}";
maintainers = with maintainers; [ qyliss darkonion0 ];
maintainers = with maintainers; [ darkonion0 ];
platforms = platforms.darwin ++ platforms.linux;
mainProgram = "drawio";
};

View File

@ -1,46 +1,56 @@
{ lib
, mkDerivation
{
lib,
mkDerivation,
, cmake
, extra-cmake-modules
, makeWrapper
, shared-mime-info
cmake,
extra-cmake-modules,
makeWrapper,
shared-mime-info,
, qtbase
, qtsvg
, qttools
, qtwebengine
, qtxmlpatterns
fetchpatch,
qtbase,
qtsvg,
qttools,
qtwebengine,
qtxmlpatterns,
, poppler
poppler,
, karchive
, kcompletion
, kconfig
, kcoreaddons
, kcrash
, kdoctools
, ki18n
, kiconthemes
, kio
, knewstuff
, kparts
, kpty
, ktexteditor
, ktextwidgets
, kxmlgui
, syntax-highlighting
karchive,
kcompletion,
kconfig,
kcoreaddons,
kcrash,
kdoctools,
ki18n,
kiconthemes,
kio,
knewstuff,
kparts,
kpty,
ktexteditor,
ktextwidgets,
kxmlgui,
syntax-highlighting,
, libspectre
libspectre,
# Backends. Set to null if you want to omit from the build
, withAnalitza ? true, analitza
, wtihJulia ? true, julia
, withQalculate ? true, libqalculate
, withLua ? true, luajit
, withPython ? true, python3
, withR ? true, R
, withSage ? true, sage, sage-with-env ? sage.with-env
# Backends. Set to null if you want to omit from the build
withAnalitza ? true,
analitza,
wtihJulia ? true,
julia,
withQalculate ? true,
libqalculate,
withLua ? true,
luajit,
withPython ? true,
python3,
withR ? true,
R,
withSage ? true,
sage,
sage-with-env ? sage.with-env,
}:
mkDerivation {
@ -54,42 +64,42 @@ mkDerivation {
qttools
];
buildInputs = [
qtbase
qtsvg
qtwebengine
qtxmlpatterns
buildInputs =
[
qtbase
qtsvg
qtwebengine
qtxmlpatterns
poppler
poppler
karchive
kcompletion
kconfig
kcoreaddons
kcrash
kdoctools
ki18n
kiconthemes
kio
knewstuff
kparts
kpty
ktexteditor
ktextwidgets
kxmlgui
syntax-highlighting
karchive
kcompletion
kconfig
kcoreaddons
kcrash
kdoctools
ki18n
kiconthemes
kio
knewstuff
kparts
kpty
ktexteditor
ktextwidgets
kxmlgui
syntax-highlighting
libspectre
]
# backends
++ lib.optional withAnalitza analitza
++ lib.optional wtihJulia julia
++ lib.optional withQalculate libqalculate
++ lib.optional withLua luajit
++ lib.optional withPython python3
++ lib.optional withR R
++ lib.optional withSage sage-with-env
;
libspectre
]
# backends
++ lib.optional withAnalitza analitza
++ lib.optional wtihJulia julia
++ lib.optional withQalculate libqalculate
++ lib.optional withLua luajit
++ lib.optional withPython python3
++ lib.optional withR R
++ lib.optional withSage sage-with-env;
qtWrapperArgs = [
"--prefix PATH : ${placeholder "out"}/bin"
@ -98,10 +108,24 @@ mkDerivation {
# Causes failures on Hydra and ofborg from some reason
enableParallelBuilding = false;
meta = with lib; {
patches = [
# fix build for julia 1.1 from upstream
(fetchpatch {
url = "https://github.com/KDE/cantor/commit/ed9525ec7895c2251668d11218f16f186db48a59.patch?full_index=1";
hash = "sha256-paq0e7Tl2aiUjBf1bDHLLUpShwdCQLICNTPNsXSoe5M=";
})
];
meta = {
description = "Front end to powerful mathematics and statistics packages";
homepage = "https://cantor.kde.org/";
license = with licenses; [ bsd3 cc0 gpl2Only gpl2Plus gpl3Only ];
maintainers = with maintainers; [ hqurve ];
license = with lib.licenses; [
bsd3
cc0
gpl2Only
gpl2Plus
gpl3Only
];
maintainers = with lib.maintainers; [ hqurve ];
};
}

View File

@ -8,13 +8,13 @@
buildGoModule rec {
pname = "cloudflared";
version = "2024.9.1";
version = "2024.10.0";
src = fetchFromGitHub {
owner = "cloudflare";
repo = "cloudflared";
rev = "refs/tags/${version}";
hash = "sha256-PFe58tdLc6RtLFrGuL9y+FWNGIASXCDawxSG2He2IQ0=";
hash = "sha256-xCLLWe15+YmU3SyWkclzHBojHi32nUJGe4xY3NZC05M=";
};
vendorHash = null;

View File

@ -14,13 +14,13 @@
stdenv.mkDerivation rec {
pname = "signalbackup-tools";
version = "20240929";
version = "20241021-1";
src = fetchFromGitHub {
owner = "bepaald";
repo = "signalbackup-tools";
rev = version;
hash = "sha256-OXn/RMc2v099S8/atQTYz1YwSH0sD7o7ZImlrBmUlSE=";
hash = "sha256-fO/GSnmXsB4YVnfBBh1IXai15JeRLcAiihufIouBpxw=";
};
nativeBuildInputs = [

View File

@ -13,6 +13,7 @@ let
python = python3;
pythonDeps = with python.pkgs; [
distutils
flask flask-assets flask-login flask-sqlalchemy flask-migrate flask-seasurf flask-mail flask-session flask-session-captcha flask-sslify
mysqlclient psycopg2 sqlalchemy
certifi cffi configobj cryptography bcrypt requests python-ldap pyotp qrcode dnspython

View File

@ -25,13 +25,13 @@
stdenv.mkDerivation rec {
pname = "polymake";
version = "4.12";
version = "4.13";
src = fetchurl {
# "The minimal version is a packager friendly version which omits
# the bundled sources of cdd, lrs, libnormaliz, nauty and jReality."
url = "https://polymake.org/lib/exe/fetch.php/download/polymake-${version}-minimal.tar.bz2";
sha256 = "sha256-vVpmf/ykv3641RE0Awzj3zsW3Z0OgA+v2xzoNYZ2QNk=";
sha256 = "sha256-862s0GO56mDV6cN8YYP127dFiwyzSR66Pvw48gxWXOs=";
};
nativeBuildInputs = [

View File

@ -17,6 +17,8 @@
, vala
, cmake
, libmicrodns
, gtuber
, glib-networking
}:
stdenv.mkDerivation (finalAttrs: {
@ -49,6 +51,8 @@ stdenv.mkDerivation (finalAttrs: {
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-ugly
gtuber
glib-networking # for TLS support
gtk4
libGL
libadwaita

View File

@ -71,7 +71,7 @@ mkDerivation rec {
description = "Open source video mapping software";
homepage = "https://github.com/mapmapteam/mapmap";
license = licenses.gpl3;
maintainers = [ maintainers.erictapen ];
maintainers = [ ];
platforms = platforms.linux;
mainProgram = "mapmap";
};

View File

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchgit
{ lib, rustPlatform, fetchgit, fetchpatch
, pkg-config, protobuf, python3, wayland-scanner
, libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols
, pkgsCross
@ -6,18 +6,27 @@
rustPlatform.buildRustPackage rec {
pname = "crosvm";
version = "128.1";
version = "129.0";
src = fetchgit {
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm";
rev = "57702acf01cbd0e560e058dc97d22378d0c49ecc";
hash = "sha256-lQStmmTxMC9Iq6vJxJMFIUUtaixJNGuBfAvBo9KKrjU=";
rev = "b7fd753b43baf2da422a1fe5e2c6d05180f7cd0b";
hash = "sha256-y1PlqX6ghCet2SdtS/M2rXy58mHyHMLOxy3OrcoHSJk=";
fetchSubmodules = true;
};
patches = [
(fetchpatch {
name = "cross-domain.patch";
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm/+/60053cdf0b360a03084292b39120365fff65d410%5E%21/?format=TEXT";
decode = "base64 -d";
hash = "sha256-U5eOxuAtVLjJ+8h16lmbJYNxsP/AOEv/1ec4WlUxP2E=";
})
];
separateDebugInfo = true;
cargoHash = "sha256-qKCO9Rkk04HznExgYKJgpssZDjWfhsY2XOBifvtHFos=";
cargoHash = "sha256-zQ2Y0/xjnHN75nX0Awigrh9Cnuh8N47XwDhq+ZLITDg=";
nativeBuildInputs = [
pkg-config protobuf python3 rustPlatform.bindgenHook wayland-scanner

View File

@ -1,5 +1,5 @@
#! /usr/bin/env nix-shell
#! nix-shell -p common-updater-scripts python3
#! nix-shell -p common-updater-scripts nix-update python3
#! nix-shell -i python
import csv
@ -52,3 +52,6 @@ with urlopen(f'https://chromium.googlesource.com/chromiumos/platform/crosvm/+log
# Update the version, git revision, and hash in crosvm's default.nix.
subprocess.run(['update-source-version', 'crosvm', f'--rev={rev}', version])
# Update cargoHash.
subprocess.run(['nix-update', '--version=skip', 'crosvm'])

View File

@ -75,11 +75,11 @@ stdenv.mkDerivation (finalAttrs: {
+ lib.optionalString nixosTestRunner "-for-vm-tests"
+ lib.optionalString toolsOnly "-utils"
+ lib.optionalString userOnly "-user";
version = "9.1.0";
version = "9.1.1";
src = fetchurl {
url = "https://download.qemu.org/qemu-${finalAttrs.version}.tar.xz";
hash = "sha256-gWtwIqi6fCrDDi4M+XPoJva8yFBTOWAyEsXt6OlNeDQ=";
hash = "sha256-fcD52lSR/0SVAPMxAGOja2GfI27kVwb9CEbrN9S7qIk=";
};
depsBuildBuild = [ buildPlatformStdenv.cc ]

View File

@ -72,6 +72,10 @@ lib.fix (self: {
# Example: { "node_modules/axios" = { curlOptsList = [ "--verbose" ]; }; }
# This will download the axios package with curl's verbose option.
, fetcherOpts ? {}
# A map from node_module path to an alternative package to use instead of fetching the source in package-lock.json.
# Example: { "node_modules/axios" = stdenv.mkDerivation { ... }; }
# This is usefull if you want to inject custom sources for a specific package.
, packageSourceOverrides ? {}
}:
let
mapLockDependencies =
@ -94,10 +98,10 @@ lib.fix (self: {
mapAttrs
(modulePath: module:
let
src = fetchModule {
src = packageSourceOverrides.${modulePath} or (fetchModule {
inherit module npmRoot;
fetcherOpts = fetcherOpts.${modulePath} or {};
};
});
in
cleanModule module
// lib.optionalAttrs (src != null) {

View File

@ -0,0 +1,33 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "albedo";
version = "0.0.16";
src = fetchFromGitHub {
owner = "coreruleset";
repo = "albedo";
rev = "refs/tags/v${version}";
hash = "sha256-HMW0SIcPDCy2QNfxpMke+/d1XCNpyx6RL6RCZAmU+WE=";
};
vendorHash = "sha256-3YBcu/GEonEoORbB7x6YGpIl7kEzUQ9PAZNFB8NKb+c=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "HTTP reflector and black hole";
homepage = "https://github.com/coreruleset/albedo";
changelog = "https://github.com/coreruleset/albedo/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "albedo";
};
}

View File

@ -0,0 +1,36 @@
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "alioth";
version = "0.5.0";
src = fetchFromGitHub {
owner = "google";
repo = "alioth";
rev = "refs/tags/v${version}";
hash = "sha256-K0Hx6EJYyPJZA+FLIj44BtUuZZOqWW2DUJt1QbeZyu0=";
};
# Checks use `debug_assert_eq!`
checkType = "debug";
cargoHash = "sha256-J+1SXHQJJxT0qN/ELAvwQFnKCo13ZrQClpbfleM4PkA=";
separateDebugInfo = true;
meta = with lib; {
homepage = "https://github.com/google/alioth";
description = "Experimental Type-2 Hypervisor in Rust implemented from scratch";
license = licenses.asl20;
mainProgram = "alioth";
maintainers = with maintainers; [ astro ];
platforms = [
"aarch64-linux"
"x86_64-linux"
];
};
}

View File

@ -0,0 +1,78 @@
{
autoPatchelfHook,
boost,
bzip2,
cereal,
cmake,
eigen,
extra-cmake-modules,
fetchFromGitLab,
fmt,
freeglut,
glew,
lib,
libepoxy,
libGL,
lz4,
magic-enum,
nix-update-script,
opencv,
pkg-config,
stdenv,
tbb,
xorg,
}:
stdenv.mkDerivation {
pname = "basalt-monado";
version = "0-unstable-2024-06-21";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "mateosss";
repo = "basalt";
rev = "385c161f35720df3a6c606054565f9d49a1c5787";
hash = "sha256-+2/pc2OWDwE04xPcfHL5GGyhQ1ZTN6o7cCNAilDgd2Y=";
fetchSubmodules = true;
};
nativeBuildInputs = [
autoPatchelfHook
cmake
extra-cmake-modules
pkg-config
];
buildInputs = [
boost
bzip2
cereal
eigen
fmt
freeglut
glew
libepoxy
libGL
lz4
magic-enum
opencv
tbb
xorg.libX11
];
cmakeFlags = [
(lib.cmakeBool "BASALT_INSTANTIATIONS_DOUBLE" false)
(lib.cmakeBool "BUILD_TESTS" false)
(lib.cmakeFeature "EIGEN_ROOT" "${eigen}/include/eigen3")
];
passthru.updateScript = nix-update-script { };
meta = {
description = "A fork of Basalt improved for tracking XR devices with Monado";
homepage = "https://gitlab.freedesktop.org/mateosss/basalt";
license = lib.licenses.bsd3;
mainProgram = "basalt_vio";
maintainers = [ lib.maintainers.locochoco ];
platforms = lib.platforms.linux;
};
}

View File

@ -48,7 +48,10 @@ python3Packages.buildPythonApplication {
nativeBuildInputs = [ installShellFiles ];
build-system = with python3Packages; [ babel ];
build-system = with python3Packages; [
setuptools
babel
];
dependencies = with python3Packages; [
androguard

View File

@ -7,7 +7,7 @@
nix-update-script,
}:
let
version = "0.1.1";
version = "0.5.1";
in
rustPlatform.buildRustPackage {
pname = "git-prole";
@ -17,10 +17,10 @@ rustPlatform.buildRustPackage {
owner = "9999years";
repo = "git-prole";
rev = "refs/tags/v${version}";
hash = "sha256-IJsNZt5eID1ghz5Rj53OfidgPoMS2qq+7qgqYEu4zPc=";
hash = "sha256-jJEskahZRCpM2WEH4myTLfowQxEJ4WCNXbTwGkwBHnY=";
};
cargoHash = "sha256-2z7UEHVomm2zuImdcQq0G9fEhKrHLrPNUhVrFugG3w4=";
cargoHash = "sha256-u4UJH+dIDI+I6fEQTRe3RRufYZwxBENxnwULSSCOZF8=";
nativeCheckInputs = [
git

View File

@ -5,6 +5,7 @@
fetchFromGitHub,
git,
nix-update-script,
installShellFiles,
}:
buildGo123Module rec {
@ -22,6 +23,8 @@ buildGo123Module rec {
subPackages = [ "." ];
nativeBuildInputs = [ installShellFiles ];
nativeCheckInputs = [ git ];
buildInputs = [ git ];
@ -40,6 +43,13 @@ buildGo123Module rec {
rm testdata/script/branch_submit_multiple_pr_templates.txt
'';
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd gs \
--bash <($out/bin/gs shell completion bash) \
--zsh <($out/bin/gs shell completion zsh) \
--fish <($out/bin/gs shell completion fish)
'';
passthru.updateScript = nix-update-script { };
meta = {

View File

@ -0,0 +1,78 @@
{
lib,
stdenv,
fetchFromGitLab,
meson,
ninja,
pkg-config,
flex,
itstool,
rustPlatform,
rustc,
cargo,
wrapGAppsHook4,
desktop-file-utils,
exiv2,
libgsf,
taglib,
poppler,
samba,
gtest,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-commander";
version = "1.18.1-unstable-2024-10-18";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = "gnome-commander";
rev = "28dadb1ef9342bb1a5f9a65b1a5bf3bd80e3d30a";
hash = "sha256-DxsZJht+PD3vY5vc1vzpRD8FHBPKcjK4qfke5nhvHS0=";
};
# hard-coded schema paths
postPatch = ''
substituteInPlace src/gnome-cmd-data.cc plugins/fileroller/file-roller-plugin.cc \
--replace-fail \
'/share/glib-2.0/schemas' \
'/share/gsettings-schemas/${finalAttrs.finalPackage.name}/glib-2.0/schemas'
'';
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) pname version src;
hash = "sha256-Nx/e2H9NxCTj62xVDlKTpPdjlxAx2YAcQJh1kHByrd4=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
flex
itstool
rustPlatform.cargoSetupHook
rustc
cargo
wrapGAppsHook4
desktop-file-utils
];
buildInputs = [
exiv2
libgsf
taglib
poppler
samba
gtest
];
meta = {
description = "Fast and powerful twin-panel file manager for the Linux desktop";
homepage = "https://gcmd.github.io";
license = lib.licenses.gpl2Plus;
mainProgram = "gnome-commander";
maintainers = with lib.maintainers; [ aleksana ];
platforms = lib.platforms.linux;
};
})

View File

@ -0,0 +1,45 @@
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "graphpython";
version = "1.0-unstable-2024-07-28";
pyproject = true;
src = fetchFromGitHub {
owner = "mlcsec";
repo = "Graphpython";
# https://github.com/mlcsec/Graphpython/issues/1
rev = "ee7dbda7fe881a9a207ca8661d42c505b8491ea3";
hash = "sha256-64M/Cc49mlceY5roBVuSsDIcbDx+lrX6oSjPAu9YDwA=";
};
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
beautifulsoup4
cryptography
dnspython
pyjwt
requests
tabulate
termcolor
tqdm
];
pythonImportsCheck = [ "Graphpython" ];
# Project has no tests
doCheck = false;
meta = {
description = "Microsoft Graph API (Entra, o365, and Intune) enumeration and exploitation toolkit";
homepage = "https://github.com/mlcsec/Graphpython";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "graphpython";
};
}

View File

@ -0,0 +1,56 @@
{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
pkg-config,
gobject-introspection,
vala,
glib,
libsoup_3,
json-glib,
libxml2,
gst_all_1,
unstableGitUpdater,
}:
stdenv.mkDerivation {
pname = "gtuber";
version = "0-unstable-2024-10-11";
src = fetchFromGitHub {
owner = "Rafostar";
repo = "gtuber";
rev = "468bf02a8adcf69b1bd6dd7b5dbcdcc0bfdb6922";
hash = "sha256-pEiHqcxkrxZRD9xW/R9DNDdp5foxaHK2SAuzmPNegaY=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection # For g-ir-scanner
vala # For vapigen
];
buildInputs = [
glib
libsoup_3
json-glib
libxml2
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
];
passthru = {
updateScript = unstableGitUpdater { };
};
meta = {
description = "GStreamer plugin for streaming videos from websites";
homepage = "https://rafostar.github.io/gtuber/";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ chuangzhu ];
platforms = lib.platforms.unix;
};
}

View File

@ -1,25 +1,27 @@
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, cmake
, wayland
, wayland-protocols
, wayland-scanner
, hyprlang
, sdbus-cpp
, systemd
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
cmake,
hyprutils,
wayland,
wayland-protocols,
wayland-scanner,
hyprlang,
sdbus-cpp,
systemd,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hypridle";
version = "0.1.2";
version = "0.1.3";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "hypridle";
rev = "v${finalAttrs.version}";
hash = "sha256-7Ft5WZTMIjXOGgRCf31DZBwK6RK8xkeKlD5vFXz3gII=";
hash = "sha256-4EgQyprji92cmhGaQQsw6eN6cmEkQKs0+MeD7YLgHlg=";
};
nativeBuildInputs = [
@ -30,6 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
hyprlang
hyprutils
sdbus-cpp
systemd
wayland
@ -42,6 +45,9 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ iogamaster ];
mainProgram = "hypridle";
platforms = [ "aarch64-linux" "x86_64-linux" ];
platforms = [
"aarch64-linux"
"x86_64-linux"
];
};
})

View File

@ -131,6 +131,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/kanidm/kanidm";
license = licenses.mpl20;
platforms = platforms.linux;
maintainers = with maintainers; [ adamcstephens erictapen Flakebi ];
maintainers = with maintainers; [ adamcstephens Flakebi ];
};
}

View File

@ -13,13 +13,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "labwc-tweaks-gtk";
version = "0-unstable-2024-09-30";
version = "0-unstable-2024-10-20";
src = fetchFromGitHub {
owner = "labwc";
repo = "labwc-tweaks-gtk";
rev = "19ae222b6bab778d0f8a900d39c25ab020e33631";
hash = "sha256-coA8gU2AKeHs6OENxBWholk5sEL/oketxNFLd8M1kTM=";
rev = "c3f83aabb6dca20fd3c2304db15da2e68d027d3e";
hash = "sha256-1gzo9KMDHg5ZFMo5CpP36A5tomr2DFoU8UEwx7ik5F8=";
};
nativeBuildInputs = [

View File

@ -8,13 +8,13 @@
buildGoModule rec {
pname = "nvrh";
version = "0.1.13";
version = "0.1.14";
src = fetchFromGitHub {
owner = "mikew";
repo = "nvrh";
rev = "refs/tags/v${version}";
hash = "sha256-fVoyxq2iCUANEsq+mCaQnBV9kQ59PZsGi9r7bSwStwQ=";
hash = "sha256-ff+ZdUScgAaNHASYAASQ/lfkCyX600kNw2Rjpr3TbBc=";
};
postPatch = ''

View File

@ -18,13 +18,13 @@
stdenv.mkDerivation rec {
pname = "ovn";
version = "24.09.0";
version = "24.09.1";
src = fetchFromGitHub {
owner = "ovn-org";
repo = "ovn";
rev = "refs/tags/v${version}";
hash = "sha256-0KXr9oxZqIhPD0HIkDUECCjfEK50JkkJxx8xsZIoAnc=";
hash = "sha256-Fz/YNEbMZ2mB4Fv1nKE3H3XrihehYP7j0N3clnTJ5x8=";
fetchSubmodules = true;
};

View File

@ -28,6 +28,7 @@ python.pkgs.buildPythonApplication rec {
"sqlalchemy-utils"
"sqlalchemy"
"pycognito"
"qrcode"
"urllib3"
];

View File

@ -11,6 +11,8 @@ let
python = python3.override {
self = python;
packageOverrides = final: prev: {
django = prev.django_5;
django-bootstrap4 = prev.django-bootstrap4.overridePythonAttrs (oldAttrs: rec {
version = "3.0.0";
src = oldAttrs.src.override {
@ -26,16 +28,22 @@ let
# fails with some assertions
doCheck = false;
});
django-extensions = prev.django-extensions.overridePythonAttrs {
# Compat issues with Django 5.1
# https://github.com/django-extensions/django-extensions/issues/1885
doCheck = false;
};
};
};
version = "2024.2.1";
version = "2024.3.0";
src = fetchFromGitHub {
owner = "pretalx";
repo = "pretalx";
rev = "v${version}";
hash = "sha256-D0ju9aOVy/new9GWqyFalZYCisdmM7irWSbn2TVCJYQ=";
hash = "sha256-Xv3VwYrwCGgOUf1ilD58ATj+bkehF9+im4124ivCaEU=";
};
meta = with lib; {
@ -54,7 +62,7 @@ let
sourceRoot = "${src.name}/src/pretalx/frontend/schedule-editor";
npmDepsHash = "sha256-EAdeXdcC3gHun6BOHzvqpzv9+oDl1b/VTeNkYLiD+hA=";
npmDepsHash = "sha256-i7awRuR7NxhpxN2IZuI01PsN6FjXht7BxTbB1k039HA=";
npmBuildScript = "build";
@ -146,9 +154,6 @@ python.pkgs.buildPythonApplication rec {
++ plugins;
optional-dependencies = {
mysql = with python.pkgs; [
mysqlclient
];
postgres = with python.pkgs; [
psycopg2
];

View File

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "pretalx-downstream";
version = "1.3.0";
version = "1.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "pretalx";
repo = "pretalx-downstream";
rev = "v${version}";
hash = "sha256-xpacfU655vg6g1rD4uteeizj+Bll4fgI0AEddaGiCLE=";
hash = "sha256-Q9519jNKQUeNCHg3ivjYyQm1ePMxp/bhtcJAselQiiM=";
};
build-system = [ setuptools ];

View File

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "pretalx-media-ccc-de";
version = "1.3.0";
version = "1.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretalx";
repo = "pretalx-media-ccc-de";
rev = "v${version}";
hash = "sha256-Cr9qbkb1VOH2EtDLSA5jmLiCnn1ICdvHnmTugCvHLc0=";
hash = "sha256-U+26hit4xXUzN8JT3WL+iGohqomX1ENb+ihM9IT1XWQ=";
};
build-system = [ setuptools ];

View File

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "pretalx-pages";
version = "1.5.0";
version = "1.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretalx";
repo = "pretalx-pages";
rev = "v${version}";
hash = "sha256-wLMl+2hAJQksCyeBnXxMIFh1/Qkosm7PqByW6QxMsyg=";
hash = "sha256-9ZJSW6kdxpwHd25CuGTE4MMXylXaZKL3eAEKKdYiuXs=";
};
build-system = [ setuptools ];

View File

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "pretalx-public-voting";
version = "1.6.0";
version = "1.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretalx";
repo = "pretalx-public-voting";
rev = "v${version}";
hash = "sha256-1zxJ1b2CHfV2AVAneUJxurZ0L3QoMzuBf8c2wrj7yBA=";
hash = "sha256-ei6GgPPEXv9WVhh+4U+WDFCMsT4bND9O85cPLpPWMhQ=";
};
build-system = [ setuptools ];

View File

@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "pretalx-venueless";
version = "1.4.0";
version = "1.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretalx";
repo = "pretalx-venueless";
rev = "v${version}";
hash = "sha256-llgRa18hxVoRSwU5UH6w4sE2W5ozCZm4Btbia2y0LbE=";
hash = "sha256-1YWkyTaImnlGXZWrborvJrx8zc1FOZD/ugOik7S+fC8=";
};
nativeBuildInputs = [ gettext ];

View File

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "pretalx-vimeo";
version = "2.3.0";
version = "2.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretalx";
repo = "pretalx-vimeo";
rev = "v${version}";
hash = "sha256-ZlF/wWD5FaC4CfYIYvcbykPajoCOotmmaY+rQ0sGAo8=";
hash = "sha256-MwAKmPQif2wLy03II1t87lIdIf2th4BteaAo5pACjLE=";
};
build-system = [ setuptools ];

View File

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "pretalx-youtube";
version = "2.2.0";
version = "2.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretalx";
repo = "pretalx-youtube";
rev = "v${version}";
hash = "sha256-cTxkFSK84NRn7Z2uWYBJ2NvQ3pOsUbdZDg6XE5yswPg=";
hash = "sha256-5vQPFW0qABKQjFUvjMrtmIGEpMzLLbAOBA4GFqqBNw0=";
};
build-system = [ setuptools ];

View File

@ -101,6 +101,7 @@ python.pkgs.buildPythonApplication rec {
"protobuf"
"pyjwt"
"python-bidi"
"qrcode"
"redis"
"requests"
"sentry-sdk"

View File

@ -1819,7 +1819,7 @@ dependencies = [
[[package]]
name = "rye"
version = "0.41.0"
version = "0.42.0"
dependencies = [
"age",
"anyhow",

View File

@ -12,21 +12,21 @@
stdenv,
darwin,
versionCheckHook,
# passthru
nix-update-script,
testers,
rye,
}:
rustPlatform.buildRustPackage rec {
pname = "rye";
version = "0.41.0";
version = "0.42.0";
src = fetchFromGitHub {
owner = "mitsuhiko";
repo = "rye";
rev = "refs/tags/${version}";
hash = "sha256-JpCa+7SwShfVM4Z+uPo7W2bCEf1QYHxClE/LgGSyFY0=";
hash = "sha256-f+yVuyoer0bn38iYR94TUKRT5VzQHDZQyowtas+QOK0=";
};
cargoLock = {
@ -99,9 +99,14 @@ rustPlatform.buildRustPackage rec {
"--skip=test_version"
];
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion { package = rye; };
};
meta = {

View File

@ -23,12 +23,14 @@ let
Sans = "sha256-x5z6GYsfQ+8a8W0djJTY8iutuLNYvaemIpdYh94krk0=";
Serif = "sha256-3WK7vty3zZFNKkwViEsozU3qa+5hymYwXk6ta9AxmNM=";
};
extraOutputs = builtins.attrNames source;
in
stdenvNoCC.mkDerivation {
pname = "shanggu-fonts";
inherit version;
outputs = [ "out" ] ++ builtins.attrNames source;
outputs = [ "out" ] ++ extraOutputs;
nativeBuildInputs = [ p7zip ];
@ -49,13 +51,10 @@ stdenvNoCC.mkDerivation {
mkdir -p $out/share/fonts/truetype
''
+ lib.strings.concatLines (
lib.lists.forEach (builtins.attrNames source) (
name: (''
install -Dm444 ${name}/*.ttc -t $'' + name + ''/share/fonts/truetype
ln -s $'' + name + ''/share/fonts/truetype/*.ttc $out/share/fonts/truetype
''
)
)
lib.lists.forEach extraOutputs (name: ''
install -Dm444 ${name}/*.ttc -t ${placeholder name}/share/fonts/truetype
ln -s "${placeholder name}" /share/fonts/truetype/*.ttc $out/share/fonts/truetype
'')
) + ''
runHook postInstall
'';

View File

@ -1,6 +1,6 @@
{ lib
, stdenv
, buildGoModule
, buildGo123Module
, fetchFromGitHub
, fetchpatch
, makeWrapper
@ -17,7 +17,7 @@
let
version = "1.76.1";
in
buildGoModule {
buildGo123Module {
pname = "tailscale";
inherit version;

View File

@ -4,9 +4,11 @@
rustPlatform,
fetchFromGitHub,
pkg-config,
audioSupport ? true,
darwin,
audioSupport ? true,
alsa-lib,
webcamSupport ? false,
# passthru.tests.run
runCommand,
@ -30,7 +32,7 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-4XHKcmOeaeSGfl7uvQQdhm29DBWEdZLX021d9+Ebrww=";
nativeBuildInputs =
lib.optionals stdenv.hostPlatform.isDarwin [ rustPlatform.bindgenHook ]
lib.optionals (webcamSupport || stdenv.hostPlatform.isDarwin) [ rustPlatform.bindgenHook ]
++ lib.optionals audioSupport [ pkg-config ];
buildInputs =
@ -41,7 +43,7 @@ rustPlatform.buildRustPackage rec {
++ lib.optionals (audioSupport && stdenv.hostPlatform.isDarwin) [ AudioUnit ]
++ lib.optionals (audioSupport && stdenv.hostPlatform.isLinux) [ alsa-lib ];
buildFeatures = lib.optional audioSupport "audio";
buildFeatures = lib.optional audioSupport "audio" ++ lib.optional webcamSupport "webcam";
passthru.updateScript = ./update.sh;
passthru.tests.run = runCommand "uiua-test-run" { nativeBuildInputs = [ uiua ]; } ''

File diff suppressed because it is too large Load Diff

View File

@ -15,22 +15,23 @@
python3Packages.buildPythonApplication rec {
pname = "uv";
version = "0.4.20";
version = "0.4.25";
pyproject = true;
src = fetchFromGitHub {
owner = "astral-sh";
repo = "uv";
rev = "refs/tags/${version}";
hash = "sha256-PfjYGCPPRZVm4H9oxkWdjW7kHu4CqdkenFgL61dOU5k=";
hash = "sha256-qAfM9I2NboYkUukWnOjuGcdjp8IONAI6Qwwg1r9kCGg=";
};
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"async_zip-0.0.17" = "sha256-3k9rc4yHWhqsCUJ17K55F8aQoCKdVamrWAn6IDWo3Ss=";
"pubgrub-0.2.1" = "sha256-pU+F6hwqy+r6tz5OBoB6gU0+vdH6F3ikUaPrcvYRX2c=";
"reqwest-middleware-0.3.3" = "sha256-csQN7jZTifliSTsOm6YrjPVgsXBOfelY7LkHD1HkNGQ=";
"pubgrub-0.2.1" = "sha256-mSpRBdQJWtKKD1zHkV7vuyfKTDY6Ejgjll5q5ryCfmY=";
"reqwest-middleware-0.3.3" = "sha256-KjyXB65a7SAfwmxokH2PQFFcJc6io0xuIBQ/yZELJzM=";
"rust-netrc-0.1.1" = "sha256-DeDAm2k4/2A9Nw8zXeKOMdxhbseGIrRXH0KgGf2shOc=";
"tl-0.7.8" = "sha256-F06zVeSZA4adT6AzLzz1i9uxpI1b8P1h+05fFfjm3GQ=";
};
};

View File

@ -33,7 +33,7 @@
let
pname = "waveterm";
version = "0.8.10";
version = "0.8.12";
src =
let
@ -46,10 +46,10 @@ let
aarch64-darwin = "Wave-darwin-arm64-${version}.zip";
};
hash = selectSystem {
x86_64-linux = "sha256-jhXHuzHMwo9U5B+FA2xAreOYRVroMCXqDo+9pjAyh0Q=";
aarch64-linux = "sha256-JnKkjG67uvYNod+uosJ+svTAm9bulJzTpza3jQie1yQ=";
x86_64-darwin = "sha256-Dk/pKZrqkjKc7WEGkrLdZdgUEaz8ndXjZuINyVNxEa8=";
aarch64-darwin = "sha256-FgBbUrp+Z9K4gmM4mew0NQ2yIjuC+cgYrrYkjv0Ohhg=";
x86_64-linux = "sha256-lk+YBlsgS2kOsaesKJ0XMCnbxq5iza/0xG6qWjHLZA8=";
aarch64-linux = "sha256-57j5qp/1jGiqJP6Qmfw5XkoyXkNpnaTepfhSzlISExM=";
x86_64-darwin = "sha256-jBFkBC4PcWSQNw8A2w+2iUnSLoRvXQ3A0CVqkqfx4dI=";
aarch64-darwin = "sha256-pQ3TXKhiCI164qmmDkDFb3WUjd/lX1MnAOWqsQICHR4=";
};
in
fetchurl {

View File

@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bash curl coreutils jq common-updater-scripts
#!nix-shell -i bash -p bash nixVersions.latest curl coreutils jq common-updater-scripts
latestTag=$(curl https://api.github.com/repos/wavetermdev/waveterm/releases/latest | jq -r ".tag_name")
latestVersion="$(expr "$latestTag" : 'v\(.*\)')"
@ -19,7 +19,6 @@ for i in \
"aarch64-darwin Wave-darwin-arm64"; do
set -- $i
prefetch=$(nix-prefetch-url "https://github.com/wavetermdev/waveterm/releases/download/v$latestVersion/$2-$latestVersion.zip")
hash=$(nix-hash --type sha256 --to-sri $prefetch)
hash=$(nix hash convert --hash-algo sha256 --to sri $prefetch)
update-source-version waveterm $latestVersion $hash --system=$1 --ignore-same-version
done

View File

@ -44,8 +44,12 @@ python.pkgs.buildPythonApplication rec {
hash = "sha256-cIwCNYXbg7l6z9OAkMAGJ783QI/nCOyrhLPURDcDv+Y=";
};
# https://github.com/WeblateOrg/weblate/commit/1cf2a423b20fcd2dde18a43277311334e38208e7
pythonRelaxDeps = [ "rapidfuzz" ];
pythonRelaxDeps = [
# https://github.com/WeblateOrg/weblate/commit/9695f912b0d24ae999d9442bb49719b4bb552696
"qrcode"
# https://github.com/WeblateOrg/weblate/commit/1cf2a423b20fcd2dde18a43277311334e38208e7
"rapidfuzz"
];
patches = [
# FIXME This shouldn't be necessary and probably has to do with some dependency mismatch.

View File

@ -10,16 +10,16 @@
rustPlatform.buildRustPackage rec {
pname = "yara-x";
version = "0.9.0";
version = "0.10.0";
src = fetchFromGitHub {
owner = "VirusTotal";
repo = "yara-x";
rev = "refs/tags/v${version}";
hash = "sha256-W5qZHPNfRe9RmsmRzA8xGPvLl6JCoVJ59N87p2ZnXGo=";
hash = "sha256-HZA4olgHYTlPnTZNGxQNQlGX//XgqslHOMOil5G76xs=";
};
cargoHash = "sha256-ofmTDO11hqr95vSKRtJgMZL2BeA4AkCRNLknzr4n88I=";
cargoHash = "sha256-l66vRrFxwxVThBy98RWIpUi6SJkPH6VZLd5fkq5AStU=";
nativeBuildInputs = [ cmake installShellFiles ];

View File

@ -17,13 +17,13 @@ python3Packages.buildPythonApplication rec {
# The websites yt-dlp deals with are a very moving target. That means that
# downloads break constantly. Because of that, updates should always be backported
# to the latest stable release.
version = "2024.10.7";
version = "2024.10.22";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "yt_dlp";
hash = "sha256-C68atRfJdI1+M3ztkcVUPDb8FiRqnr7awy6/IMGZjOs=";
hash = "sha256-R7gqH9IkEbXJXvLwoa4a9Obf1zbqmf2yoOpBRFq8Yro=";
};
build-system = with python3Packages; [

View File

@ -1,6 +1,5 @@
{ lib
, mkXfceDerivation
, fetchpatch2
, gobject-introspection
, glib
, gtk3
@ -15,19 +14,10 @@
mkXfceDerivation {
category = "apps";
pname = "mousepad";
version = "0.6.2";
version = "0.6.3";
odd-unstable = false;
sha256 = "sha256-A4siNxbTf9ObJJg8inPuH7Lo4dckLbFljV6aPFQxRto=";
patches = [
# shortcuts-plugin: Fix shortcuts-editor include
# https://gitlab.xfce.org/apps/mousepad/-/merge_requests/131
(fetchpatch2 {
url = "https://gitlab.xfce.org/apps/mousepad/-/commit/d2eb43ae4d692cc4753647111eb3deebfa26abbb.patch";
hash = "sha256-Ldn0ZVmCzqG8lOkeaazkodEMip3lTm/lJEhfsL8TyT8=";
})
];
sha256 = "sha256-L1txMS86lOEE9tOPTIOr1Gh4lwH7krnAeq4f3yS5kN0=";
nativeBuildInputs = [ gobject-introspection ];

View File

@ -170,6 +170,11 @@ package-maintainers:
- hnix
- hnix-store-core
- hnix-store-remote
artem:
- BNFC-meta
- alex-meta
- happy-meta
- vector-hashtables
arturcygan:
- hevm
athas:

View File

@ -1369,6 +1369,7 @@ self: {
];
description = "Deriving Parsers and Quasi-Quoters from BNF Grammars";
license = lib.licenses.gpl2Only;
maintainers = [ lib.maintainers.artem ];
}) {};
"BPS" = callPackage
@ -28261,6 +28262,7 @@ self: {
libraryToolDepends = [ alex happy ];
description = "Quasi-quoter for Alex lexers";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.artem ];
}) {};
"alex-prelude" = callPackage
@ -138764,6 +138766,7 @@ self: {
libraryToolDepends = [ happy ];
description = "Quasi-quoter for Happy parsers";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.artem ];
}) {};
"happybara" = callPackage
@ -325767,6 +325770,7 @@ self: {
];
description = "Efficient vector-based mutable hashtables implementation";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.artem ];
}) {};
"vector-heterogenous" = callPackage

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
description = "Library to read and manipulate EXIF data in digital photographs";
license = licenses.lgpl21;
platforms = platforms.unix;
maintainers = with maintainers; [ erictapen ];
maintainers = [ ];
};
}

View File

@ -25,6 +25,13 @@ stdenv.mkDerivation rec {
hash = "sha256-Q74t00na/+AW3RQAxdEShYKMIv6jXKUQnyHz7VBgUIA=";
};
patches = [
# Drop use of deprecated libxml2 HTTP API.
# From: https://www.gaia-gis.it/fossil/libspatialite/info/7c452740fe
# see also: https://github.com/NixOS/nixpkgs/issues/347085
./xmlNanoHTTPCleanup.patch
];
nativeBuildInputs = [
pkg-config
validatePkgConfig
@ -35,7 +42,7 @@ stdenv.mkDerivation rec {
freexl
geos
librttopo
(libxml2.override { enableHttp = true; })
libxml2
minizip
proj
sqlite

View File

@ -0,0 +1,26 @@
diff --git a/src/wfs/wfs_in.c b/src/wfs/wfs_in.c
index fe07a0d..7f2557d 100644
--- a/src/wfs/wfs_in.c
+++ b/src/wfs/wfs_in.c
@@ -76,7 +76,10 @@ Regione Toscana - Settore Sistema Informativo Territoriale ed Ambientale
#ifdef ENABLE_LIBXML2 /* LIBXML2 enabled: supporting XML documents */
#include <libxml/parser.h>
-#include <libxml/nanohttp.h>
+
+#ifdef LIBXML_HTTP_ENABLED
+ #include <libxml/nanohttp.h>
+#endif
#define MAX_GTYPES 28
@@ -4637,7 +4640,9 @@ SPATIALITE_DECLARE void
reset_wfs_http_connection (void)
{
/* Resets the libxml2 "nano HTTP": useful when changing the HTTP_PROXY settings */
+#ifdef LIBXML_HTTP_ENABLED
xmlNanoHTTPCleanup ();
+#endif
}
#else /* LIBXML2 isn't enabled */

View File

@ -2,12 +2,12 @@
, stdenv
, fetchFromGitHub
, cmake
, boost
, boost186 # (boost181) breaks on darwin
}:
stdenv.mkDerivation (finalAttrs: {
pname = "quantlib";
version = "1.35";
version = "1.36";
outputs = [ "out" "dev" ];
@ -15,11 +15,11 @@ stdenv.mkDerivation (finalAttrs: {
owner = "lballabio";
repo = "QuantLib";
rev = "v${finalAttrs.version}";
hash = "sha256-L0cdfrVZTwyRcDnYhbmRbH53+mBt6AnrKm+in++du2M=";
hash = "sha256-u1ePmtgv+kAvH2/yTuxJFcafbfULZ8daHj4gKmKzV78=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost ];
buildInputs = [ boost186 ];
# Required by RQuantLib, may be beneficial for others too
cmakeFlags = [ "-DQL_HIGH_RESOLUTION_DATE=ON" ];
@ -32,6 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; {
description = "Free/open-source library for quantitative finance";
homepage = "https://quantlib.org";
changelog = "https://github.com/lballabio/QuantLib/releases/tag/v${finalAttrs.version}";
platforms = platforms.unix;
license = licenses.bsd3;
maintainers = [ maintainers.kupac ];

View File

@ -29,13 +29,14 @@ buildPythonPackage rec {
hash = "sha256-Sr7L3ioeofyADHb1NSgs0GmVbzX7rro7yhhG9Gq6GJE=";
};
nativeBuildInputs = [
setuptools-scm
build-system = [ setuptools-scm ];
pythonRelaxDeps = [
"django-phonenumber-field"
"qrcode"
];
pythonRelaxDeps = [ "django-phonenumber-field" ];
propagatedBuildInputs = [
dependencies = [
django
django-formtools
django-otp

View File

@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "dncil";
version = "1.0.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "mandiant";
repo = "dncil";
rev = "refs/tags/v${version}";
hash = "sha256-bndkiXkIYTd071J+mgkmJmA+9J5yJ+9/oDfAypN7wYo=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dncil" ];
meta = {
description = "Module to disassemble Common Intermediate Language (CIL) instructions";
homepage = "https://github.com/mandiant/dncil";
changelog = "https://github.com/mandiant/dncil/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "fastcore";
version = "1.7.17";
version = "1.7.19";
pyproject = true;
disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "fastai";
repo = "fastcore";
rev = "refs/tags/${version}";
hash = "sha256-QBRlJoAOUMNCUQnb4yzU0g/RN0FkX4+swcdxyKROZTE=";
hash = "sha256-CJG/cKgqdUrJcYV5pgGjrnoXzRAj3xya7LwvchNGrPU=";
};
build-system = [ setuptools ];

View File

@ -41,6 +41,7 @@ buildPythonPackage rec {
pythonRelaxDeps = [
"cookiecutter"
"packaging"
"qrcode"
"watchdog"
"websockets"
];

View File

@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "google-cloud-bigquery-datatransfer";
version = "3.15.7";
version = "3.16.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -24,7 +24,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "google_cloud_bigquery_datatransfer";
inherit version;
hash = "sha256-GLarRvI2eud/iNwj7ujZwIpK/b0ClhO0XUdBi4J9Lp0=";
hash = "sha256-EyYdNDLDmIPyBZ9zYLASahS0gUrJ9SXhdjokKKWZ4lU=";
};
build-system = [ setuptools ];

View File

@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "google-cloud-bigquery-storage";
version = "2.26.0";
version = "2.27.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -24,7 +24,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "google_cloud_bigquery_storage";
inherit version;
hash = "sha256-hAJ1vQpLIHwKyCG8xnQUBv+zte+UD6BQiakOtEA0U/o=";
hash = "sha256-Ui+rqaaL6n6YVwccM/r85e5SC3sXXaAEiQFyQq3o7Cc=";
};
build-system = [ setuptools ];

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "google-cloud-container";
version = "2.51.0";
version = "2.52.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -23,7 +23,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "google_cloud_container";
inherit version;
hash = "sha256-q1F+/uzyVY10pP/XrF1sL0+6o7uKfITSuZTc+NqA/Zw=";
hash = "sha256-ei+sdoCmpbsndrSUof0eLmTkk1ZDsqAfuTu40btzsO8=";
};
build-system = [ setuptools ];

View File

@ -16,14 +16,15 @@
buildPythonPackage rec {
pname = "google-cloud-error-reporting";
version = "1.11.0";
version = "1.11.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-+oeVT/ag00BEObbqzkC/EazEwnrWvRURnz3gnCBbn4k=";
pname = "google_cloud_error_reporting";
inherit version;
hash = "sha256-1ir8o3jwzmfi7E8QPTn3E6RGtTOL9KM05NRaMRYzh5A=";
};
build-system = [ setuptools ];
@ -38,8 +39,8 @@ buildPythonPackage rec {
nativeCheckInputs = [
google-cloud-testutils
mock
pytestCheckHook
pytest-asyncio
pytestCheckHook
];
disabledTests = [

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "google-cloud-texttospeech";
version = "2.17.2";
version = "2.18.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -22,7 +22,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "google_cloud_texttospeech";
inherit version;
hash = "sha256-hRzD46MqUA/edzeEBh6c6l6ZYKxXaIOid19w1hNZhQo=";
hash = "sha256-jR91d6b4btSDNeEIFGgCYeKXbaVIiMih1YYETuGRlvQ=";
};
build-system = [ setuptools ];

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "ha-mqtt-discoverable";
version = "0.14.0";
version = "0.16.0";
pyproject = true;
disabled = pythonOlder "3.10";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "unixorn";
repo = "ha-mqtt-discoverable";
rev = "refs/tags/v${version}";
hash = "sha256-vL4EzeU+8nUPyLR22MJtLhknWF4DWMo49EKvkIqIWhA=";
hash = "sha256-IdyrcqRX5YXS6tx5qP7vOnAJpvy5sOsCwFpWMdyYaeI=";
};
pythonRelaxDeps = [ "pyaml" ];

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "holidays";
version = "0.58";
version = "0.59";
pyproject = true;
disabled = pythonOlder "3.8";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "vacanza";
repo = "python-holidays";
rev = "refs/tags/v${version}";
hash = "sha256-qsBKUdYZLSxWAGExydOO37IWqEOrYdlRnE/MJmz7Nr8=";
hash = "sha256-g7ldsWqVWM1FtOB2gFrCuATD5PthZhbelKT4NV6Rovg=";
};
build-system = [

View File

@ -1,31 +1,31 @@
{
lib,
anyio,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
hatchling,
anyio,
httpcore,
httpx,
wsproto,
pytestCheckHook,
pythonOlder,
starlette,
trio,
uvicorn,
wsproto,
}:
buildPythonPackage rec {
pname = "httpx-ws";
version = "0.6.1";
version = "0.6.2";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "frankie567";
repo = "httpx-ws";
rev = "refs/tags/v${version}";
hash = "sha256-mynr07px+rQb7x8GepQoUgBbh0720S0K2RJrboOoJXA=";
hash = "sha256-VsIYOGNEdX4rxjEa01M77arA3ddJS3cPFxXlf13QTuE=";
};
# we don't need to use the hatch-regex-commit plugin
@ -46,8 +46,6 @@ buildPythonPackage rec {
wsproto
];
pythonImportsCheck = [ "httpx_ws" ];
nativeCheckInputs = [
pytestCheckHook
starlette
@ -55,6 +53,8 @@ buildPythonPackage rec {
uvicorn
];
pythonImportsCheck = [ "httpx_ws" ];
disabledTestPaths = [
# hang
"tests/test_api.py"
@ -63,6 +63,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "WebSocket support for HTTPX";
homepage = "https://github.com/frankie567/httpx-ws";
changelog = "https://github.com/frankie567/httpx-ws/releases/tag/v${version}";
license = licenses.mit;
maintainers = [ ];
};
}

View File

@ -18,14 +18,14 @@
buildPythonPackage rec {
pname = "huggingface-hub";
version = "0.25.2";
version = "0.26.1";
pyproject = true;
src = fetchFromGitHub {
owner = "huggingface";
repo = "huggingface_hub";
rev = "refs/tags/v${version}";
hash = "sha256-wUZkh8ti35F8bGtEKJZGSRySLvCkIWEFajQNWo/WCys=";
hash = "sha256-tro4Cvjyjc1vfAvYnfeKjh8ej83Z8l4cKe8SqIBVLXg=";
};
build-system = [ setuptools ];

View File

@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "influxdb-client";
version = "1.46.0";
version = "1.47.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "influxdata";
repo = "influxdb-client-python";
rev = "refs/tags/v${version}";
hash = "sha256-oq6VXsCizqs7ZGocFWvD6SK1HRgQerlAEDW6+SBoM+A=";
hash = "sha256-1QWy+mdVttowdbIBmtW6gYwkJ4p9sL0D+DxsHk3xgvc=";
};
build-system = [ setuptools ];

View File

@ -1,9 +1,10 @@
{
lib,
fetchPypi,
buildPythonPackage,
smbus2,
fetchPypi,
poetry-core,
pythonOlder,
smbus2,
}:
buildPythonPackage rec {
@ -11,14 +12,24 @@ buildPythonPackage rec {
version = "0.2.3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-NYBaCXBmuTziT0WYEqrW10HRmRy3jpjH3YWQh5Y/TdQ=";
};
nativeBuildInputs = [ poetry-core ];
pythonRelaxDeps = [ "smbus2" ];
propagatedBuildInputs = [ smbus2 ];
build-system = [ poetry-core ];
dependencies = [ smbus2 ];
# Module has no tests
doCheck = false;
# Needs /dev/i2c-1
# pythonImportsCheck = [ "lcd_i2c" ];
meta = with lib; {
description = "Library for interacting with an I2C LCD screen through Python";

View File

@ -18,12 +18,12 @@
buildPythonPackage rec {
pname = "nitrokey";
version = "0.2.0";
version = "0.2.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-oWfhy7Mj1UnrC70G7fpkl4q4uG0CdvO0BHwfJYszR30=";
hash = "sha256-Hn/CYvuPRkT9NYzfB8skN3Z732xfmHu6xDTVI/nDbqU=";
};
disabled = pythonOlder "3.9";

View File

@ -29,14 +29,14 @@
}:
buildPythonPackage rec {
pname = "open-clip-torch";
version = "2.27.1";
version = "2.28.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mlfoundations";
repo = "open_clip";
rev = "refs/tags/v${version}";
hash = "sha256-1wOxnpNEipA0N6o4b5JCsrAtBnGP7x+MPXmVIjfDmLI=";
hash = "sha256-wHqSADiKlRyJXf3CCrXlSj6tpVVSdO8GVsKInl+OMrc=";
};
build-system = [ pdm-backend ];

View File

@ -8,15 +8,15 @@
pdoc-pyo3-sample-library,
pygments,
markupsafe,
astunparse,
pytestCheckHook,
hypothesis,
nix-update-script,
}:
buildPythonPackage rec {
pname = "pdoc";
version = "14.7.0";
disabled = pythonOlder "3.8";
version = "15.0.0";
disabled = pythonOlder "3.9";
pyproject = true;
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "mitmproxy";
repo = "pdoc";
rev = "v${version}";
hash = "sha256-U6gLEuyKvGGP5yKXb+bWDGJqmHTdPYLLPgHLVySAJ6I=";
hash = "sha256-6XEcHhaKkxY/FU748f+OsTcSgrM4iQTmJAL8rJ3EqnY=";
};
nativeBuildInputs = [ setuptools ];
@ -33,7 +33,7 @@ buildPythonPackage rec {
jinja2
pygments
markupsafe
] ++ lib.optional (pythonOlder "3.9") astunparse;
];
nativeCheckInputs = [
pytestCheckHook
@ -54,6 +54,8 @@ buildPythonPackage rec {
pythonImportsCheck = [ "pdoc" ];
passthru.updateScript = nix-update-script { };
meta = with lib; {
changelog = "https://github.com/mitmproxy/pdoc/blob/${src.rev}/CHANGELOG.md";
homepage = "https://pdoc.dev/";

View File

@ -22,7 +22,7 @@
buildPythonPackage rec {
pname = "playwrightcapture";
version = "1.26.1";
version = "1.26.2";
pyproject = true;
disabled = pythonOlder "3.8";
@ -31,7 +31,7 @@ buildPythonPackage rec {
owner = "Lookyloo";
repo = "PlaywrightCapture";
rev = "refs/tags/v${version}";
hash = "sha256-zVwsRTsxic0/K6HyTLVRYCnBpSIF9Ly0TRJS90nADTg=";
hash = "sha256-JSgWOHMwjxStwMxRe4sFYLeRRgOkfWXlIpqeDfGDSNQ=";
};
pythonRelaxDeps = [

View File

@ -161,9 +161,9 @@ dependencies = [
[[package]]
name = "libc"
version = "0.2.159"
version = "0.2.161"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5"
checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1"
[[package]]
name = "lock_api"
@ -235,16 +235,16 @@ checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2"
[[package]]
name = "proc-macro2"
version = "1.0.87"
version = "1.0.88"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3e4daa0dcf6feba26f985457cdf104d4b4256fc5a09547140f3631bb076b19a"
checksum = "7c3a7fc5db1e57d5a779a352c8cdb57b29aa4c40cc69c3a68a7fedc815fbf2f9"
dependencies = [
"unicode-ident",
]
[[package]]
name = "pycrdt"
version = "0.10.3"
version = "0.10.4"
dependencies = [
"pyo3",
"yrs",
@ -365,9 +365,9 @@ dependencies = [
[[package]]
name = "serde_json"
version = "1.0.128"
version = "1.0.132"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03"
dependencies = [
"itoa",
"memchr",
@ -392,9 +392,9 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
name = "syn"
version = "2.0.79"
version = "2.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590"
checksum = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021"
dependencies = [
"proc-macro2",
"quote",

View File

@ -23,14 +23,14 @@
buildPythonPackage rec {
pname = "pycrdt";
version = "0.10.3";
version = "0.10.4";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyter-server";
repo = "pycrdt";
rev = "refs/tags/v${version}";
hash = "sha256-Z7u0ix9IjXaq0OKgH3Yvt5cAmAYSCyHT/ZcPLANuVzU=";
rev = "refs/tags/${version}";
hash = "sha256-nKjXEXvEIGtwbSoabz7UBsx4nfsCgUXm+JdSL5Z/b38=";
};
postPatch = ''

View File

@ -67,6 +67,6 @@ buildPythonPackage rec {
homepage = "https://github.com/GenericMappingTools/pygmt";
license = licenses.bsd3;
changelog = "https://github.com/GenericMappingTools/pygmt/releases/tag/v${version}";
maintainers = with maintainers; [ sikmir ];
maintainers = with maintainers; teams.geospatial.members;
};
}

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "pyswitchbot";
version = "0.48.2";
version = "0.50.1";
pyproject = true;
disabled = pythonOlder "3.8";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "Danielhiversen";
repo = "pySwitchbot";
rev = "refs/tags/${version}";
hash = "sha256-5hoV7tM02dLrGvZ47ReVITayLFf2ceRVXOKbNa2t9iM=";
hash = "sha256-GA5BioH1z8N6I65q+7vSHM/eetN5dXSMZZ2hoQ8+0QA=";
};
build-system = [ setuptools ];

View File

@ -2,42 +2,47 @@
lib,
buildPythonPackage,
fetchPypi,
mock,
pythonAtLeast,
# build-system
poetry-core,
# dependencies
pillow,
pypng,
# tests
mock,
pytestCheckHook,
pythonAtLeast,
qrcode,
setuptools,
testers,
typing-extensions,
}:
buildPythonPackage rec {
pname = "qrcode";
version = "7.4.2";
version = "8.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-ndlpRUgn4Sfb2TaWsgdHI55tVA4IKTfJDxSslbMPWEU=";
hash = "sha256-AlzisVD3/kKW0Rbum61FWmZDq09ufc5UFhOkdYy840c=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
typing-extensions
pypng
# imports pkg_resouces in console_scripts.py
setuptools
];
optional-dependencies.pil = [ pillow ];
optional-dependencies = {
pil = [ pillow ];
png = [ pypng ];
all = [
pypng
pillow
];
};
nativeCheckInputs = [
mock
pytestCheckHook
] ++ optional-dependencies.pil;
] ++ lib.flatten (lib.attrValues optional-dependencies);
passthru.tests = {
version = testers.testVersion {

View File

@ -6,6 +6,7 @@
fetchFromGitHub,
home-assistant-bluetooth,
poetry-core,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
sensor-state-data,
@ -13,33 +14,31 @@
buildPythonPackage rec {
pname = "sensorpush-ble";
version = "1.6.2";
version = "1.7.0";
pyproject = true;
disabled = pythonOlder "3.9";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = "sensorpush-ble";
rev = "refs/tags/v${version}";
hash = "sha256-IZ2QSAHRdpDKFQYfqkcUm1o+7GaI8e50gEFRK3BV3s8=";
hash = "sha256-etsrXJn6n9yL0vhiZNnTepCcau50X0t2wPrhZ9R7XL4=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=sensorpush_ble --cov-report=term-missing:skip-covered" ""
'';
build-system = [ poetry-core ];
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
bluetooth-data-tools
bluetooth-sensor-state-data
home-assistant-bluetooth
sensor-state-data
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "sensorpush_ble" ];

View File

@ -28,14 +28,14 @@
buildPythonPackage rec {
pname = "sentence-transformers";
version = "3.2.0";
version = "3.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "UKPLab";
repo = "sentence-transformers";
rev = "refs/tags/v${version}";
hash = "sha256-T9y+usEOqz53Wv5gObD5o3gAlABHM3apoq/ySD5ynVg=";
hash = "sha256-5N5yObR3+3eV65ojFJFhzDbqtjNi/U2IhHlAaKttcVI=";
};
build-system = [ setuptools ];
@ -65,11 +65,16 @@ buildPythonPackage rec {
disabledTests = [
# Tests require network access
"test_cmnrl_same_grad"
"test_forward"
"test_initialization_with_embedding_dim"
"test_initialization_with_embedding_weights"
"test_LabelAccuracyEvaluator"
"test_model_card_reuse"
"test_paraphrase_mining"
"test_ParaphraseMiningEvaluator"
"test_save_and_load"
"test_simple_encode"
"test_tokenize"
"test_trainer"
"test_trainer_invalid_column_names"
"test_trainer_multi_dataset_errors"

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