Merge remote-tracking branch 'origin/master' into staging-next

This commit is contained in:
K900
2025-10-08 15:57:19 +03:00
108 changed files with 1060 additions and 1057 deletions
-6
View File
@@ -19683,12 +19683,6 @@
githubId = 7239200;
name = "panda2134";
};
pandaman = {
email = "kointosudesuyo@infoseek.jp";
github = "pandaman64";
githubId = 1788628;
name = "pandaman";
};
pandanz = {
email = "gate.rules-5j@icloud.com";
github = "pandanz";
+1 -1
View File
@@ -39,7 +39,7 @@ in
};
style = mkOption {
type = with types; nullOr str;
type = with types; nullOr lines;
default = null;
description = ''
CSS Stylesheet for gtklock.
@@ -53,6 +53,7 @@ in
serviceConfig = {
Type = "simple";
StateDirectory = "uptime-kuma";
StateDirectoryMode = "750";
DynamicUser = true;
ExecStart = "${cfg.package}/bin/uptime-kuma-server";
Restart = "on-failure";
@@ -60,18 +61,20 @@ in
CapabilityBoundingSet = "";
LockPersonality = true;
MemoryDenyWriteExecute = false; # enabling it breaks execution
MountAPIVFS = true;
NoNewPrivileges = true;
PrivateDevices = true;
PrivateMounts = true;
PrivateTmp = true;
PrivateUsers = true;
ProtectClock = true;
ProtectControlGroups = true;
ProtectControlGroups = "strict";
ProtectHome = true;
ProtectHostname = true;
ProtectKernelLogs = true;
ProtectKernelModules = true;
ProtectKernelTunables = true;
ProtectProc = "noaccess";
ProtectProc = "invisible";
ProtectSystem = "strict";
RemoveIPC = true;
RestrictAddressFamilies = [
+3 -1
View File
@@ -1,6 +1,6 @@
# This test runs rabbitmq and checks if rabbitmq is up and running.
{ pkgs, ... }:
{ lib, pkgs, ... }:
let
# in real life, you would keep this out of your repo and deploy it to a safe
# location using safe means.
@@ -40,6 +40,8 @@ in
].
'';
};
systemd.services.rabbitmq.serviceConfig.Restart = lib.mkForce "no";
# Ensure there is sufficient extra disk space for rabbitmq to be happy
virtualisation.diskSize = 1024;
};
+4 -6
View File
@@ -19,8 +19,6 @@
reproc,
platform-folders,
ruby_3_2,
erlang,
elixir,
beamPackages,
alsa-lib,
rtmidi,
@@ -73,8 +71,8 @@ stdenv.mkDerivation rec {
cmake
pkg-config
ruby
erlang
elixir
beamPackages.erlang
beamPackages.elixir
beamPackages.hex
];
@@ -224,8 +222,8 @@ stdenv.mkDerivation rec {
fi
# Remove runtime Erlang references
for file in $(grep -FrIl '${erlang}/lib/erlang' $out/app/server/beam/tau); do
substituteInPlace "$file" --replace '${erlang}/lib/erlang' $out/app/server/beam/tau/_build/prod/rel/tau
for file in $(grep -FrIl '${beamPackages.erlang}/lib/erlang' $out/app/server/beam/tau); do
substituteInPlace "$file" --replace '${beamPackages.erlang}/lib/erlang' $out/app/server/beam/tau/_build/prod/rel/tau
done
'';
@@ -7,8 +7,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "claude-code";
publisher = "anthropic";
version = "2.0.9";
hash = "sha256-uVCdFSpitKU0YPbhl1kbogrQ+bckhH6GYTd7GPjrMRA=";
version = "2.0.10";
hash = "sha256-wtqtjvU7HZZWUxRRN/H7I0lgCMRzGZy/Mu5s30ZbJ0g=";
};
meta = {
@@ -43,14 +43,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "gajim";
version = "2.3.5";
version = "2.3.6";
src = fetchFromGitLab {
domain = "dev.gajim.org";
owner = "gajim";
repo = "gajim";
tag = version;
hash = "sha256-tYcb4CLzK6GNSrVxt2bpynWpnaEE3WZ1H22Lm4s3wRw=";
hash = "sha256-Mvi69FI2zRefcCnLsurdVNMxYaqKsUCKgeFxOh6vg/o=";
};
format = "pyproject";
File diff suppressed because it is too large Load Diff
@@ -52,6 +52,7 @@ stdenv.mkDerivation (finalAttrs: {
NIX_LDFLAGS = "-lm";
cmakeFlags = [
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
"-DCMAKE_INSTALL_INCLUDEDIR=include"
"-DCMAKE_INSTALL_LIBDIR=lib"
];
@@ -19,11 +19,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "fossil";
version = "2.26";
version = "2.27";
src = fetchurl {
url = "https://www.fossil-scm.org/home/tarball/version-${finalAttrs.version}/fossil-${finalAttrs.version}.tar.gz";
hash = "sha256-uzT3iOGB1MRQXWmtQNZWazOYiGH4kdtt/KJ6uVQrcqo=";
hash = "sha256-1YVOgyNBDy/CeuVfrhE/D4LfQwv5uFfykoYwiZ3eFFY=";
};
# required for build time tool `./tools/translate.c`
@@ -55,6 +55,11 @@ stdenv.mkDerivation (finalAttrs: {
export USER=nonexistent-but-specified-user
'';
# see https://fossil-scm.org/home/vinfo/4619d2efab946460?diff=1
preCheck = ''
mv test/settings.test test/settings.test.off
'';
installPhase = ''
mkdir -p $out/bin
INSTALLDIR=$out/bin make install
+4
View File
@@ -58,6 +58,10 @@ stdenv.mkDerivation (finalAttrs: {
env.NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL2}/include/SDL2";
cmakeFlags = [
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
];
nativeBuildInputs = [
copyDesktopItems
cmake
+2 -2
View File
@@ -23,13 +23,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "aquamarine";
version = "0.9.4";
version = "0.9.5";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "aquamarine";
tag = "v${finalAttrs.version}";
hash = "sha256-POePremlUY5GyA1zfbtic6XLxDaQcqHN6l+bIxdT5gc=";
hash = "sha256-UNzYHLWfkSzLHDep5Ckb5tXc0fdxwPIrT+MY4kpQttM=";
};
nativeBuildInputs = [
@@ -14,7 +14,7 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "blackmagic-desktop-video";
version = "15.0";
version = "15.1";
buildInputs = [
autoPatchelfHook
@@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
{
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = "sha256-+89enkB+Lxuzpkwwfy0y1NajNqx6QQfeVVrak4LgawQ=";
outputHash = "sha256-nZXfUbUyk9PDhBeXUHGt6T95hfMMDEH1oOgcm1wwi3E=";
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
+2
View File
@@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
];
cmakeFlags = [
# NOTE: this can be removed once version 6.2.8 is released
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
"-DCUPS_SERVER_BIN=lib/cups"
"-DCUPS_DATA_DIR=share/cups"
];
+2 -2
View File
@@ -7,11 +7,11 @@
}:
buildNpmPackage (finalAttrs: {
pname = "claude-code";
version = "2.0.9";
version = "2.0.10";
src = fetchzip {
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${finalAttrs.version}.tgz";
hash = "sha256-eBhg8RCATVIgC5Dex+cTnLDzLKfnJI8M7eOSGDE4bAw=";
hash = "sha256-f90cIyUofV3emYtluLL/KtfAsgjG3gFQGQPGYgDWL2M=";
};
npmDepsHash = "sha256-DehkeMZvzn+hvcCDzJfd4p9oYc1GSZm8gu8vKS4Uncw=";
+3 -7
View File
@@ -11,7 +11,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "collada-dom";
version = "2.5.1";
version = "2.5.2";
__structuredAttrs = true;
strictDeps = true;
@@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "Gepetto";
repo = "collada-dom";
tag = "v${finalAttrs.version}";
hash = "sha256-DYdqrwRIrVq0BQqZB0vtZzADteJGVaJtFC5kC/cD250=";
hash = "sha256-53Gf6OLwrflZcrWKPuNPS0k+jlj5yTzCkI/QYQFta48=";
};
postInstall = ''
@@ -36,11 +36,6 @@ stdenv.mkDerivation (finalAttrs: {
readline
];
cmakeFlags = [
# See https://github.com/NixOS/nixpkgs/issues/445447
"-DCMAKE_POLICY_VERSION_MINIMUM=3.10"
];
meta = {
description = "API that provides a C++ object representation of a COLLADA XML instance document";
longDescription = "This is a fork of [rdiankov/collada-dom](https://github.com/rdiankov/collada-dom) which has been unmaintained for six years.";
@@ -50,6 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = with lib.maintainers; [
sigmasquadron
marius851000
nim65s
];
platforms = lib.platforms.all;
+5 -5
View File
@@ -18,7 +18,7 @@
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "dbeaver-bin";
version = "25.2.0";
version = "25.2.2";
src =
let
@@ -31,10 +31,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
aarch64-darwin = "macos-aarch64.dmg";
};
hash = selectSystem {
x86_64-linux = "sha256-JGqzoqCkZjrV1SNrJSXNotd3YaOUtqXJYhHDy7/xZSU=";
aarch64-linux = "sha256-+byvDpqaijxt0LnGJuWg1ooVnb1bLdaFfvEmlaEmBCA=";
x86_64-darwin = "sha256-59mrDs00XxIjfiqm3OsoHqbuNQI3VdB1ff3l/51lzEg=";
aarch64-darwin = "sha256-jUWZr5DwUv6aFfGEox62r+PRoEqZIvdP6YHCsWshYJA=";
x86_64-linux = "sha256-e0xIFoDmhX1+VetCEJoDZqu6+wrFwTwgIzU8hQ/mXnI=";
aarch64-linux = "sha256-80HW2GGBAuCYo+fxz+XZG3sZm0/QW5krHLS4jSGgGvU=";
x86_64-darwin = "sha256-w1b22Uce2PmX3f6UMrrkVxSxT/E5rFhiSgb3PjYaYvY=";
aarch64-darwin = "sha256-oQ10VB4puNBxFcFRdOtFFF+FcN9I7CUbWMc56V1Z90E=";
};
in
fetchurl {
+10
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
}:
@@ -16,6 +17,15 @@ stdenv.mkDerivation rec {
sha256 = "1qchxnxvghbma6gp1g78wnjxsri0b72ha9axyk31cplssl7yn73f";
};
patches = [
# cmake-4 compatibility
(fetchpatch {
name = "cmake-4.patch";
url = "https://github.com/bo0ts/ddate/commit/0fbae46cb004c0acc48982b8e3533556d7b2edcc.patch?full_index=1";
hash = "sha256-EbOmZYhFN8t8E/GW9ctcvhYfQauGZnX+5ZQmrEl6F18=";
})
];
nativeBuildInputs = [ cmake ];
meta = with lib; {
+2 -2
View File
@@ -27,13 +27,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "dosbox-x";
version = "2025.05.03";
version = "2025.10.07";
src = fetchFromGitHub {
owner = "joncampbell123";
repo = "dosbox-x";
rev = "dosbox-x-v${finalAttrs.version}";
hash = "sha256-VYJn1ddDkSHpWVsE7NunwRvuAVRqbvCNw/TzkWe8TLQ=";
hash = "sha256-6y41xAs2FyOL8v+c5ma3zVIw186PU48CcbM3T050jeI=";
};
# sips is unavailable in sandbox, replacing with imagemagick breaks build due to wrong Foundation propagation(?) so don't generate resolution variants
+3
View File
@@ -105,6 +105,9 @@ stdenv.mkDerivation {
# The non-free (Debian) packages uses this directory structure so do the same when compiling
# from source so we can easily merge them.
"-DCMAKE_INSTALL_LIBDIR=lib/${system}-gnu"
# There are many CMakeLists.txt files with various minimum versions. It's much easier to set this
# here, instead of substituting those everywhere
"-DCMAKE_POLICY_VERSION_MINIMUM=3.10"
]
++ lib.optionals (!withGui) [
"-DNO_GUI=ON"
+3 -3
View File
@@ -6,16 +6,16 @@
buildGoModule rec {
pname = "favirecon";
version = "1.0.1";
version = "1.0.2";
src = fetchFromGitHub {
owner = "edoardottt";
repo = "favirecon";
tag = "v${version}";
hash = "sha256-fxUukhKbxxUUaOMcYxNR29H1nxRb0IWT0Qy5XJNOYjU=";
hash = "sha256-GpPqTtbSVLwNLKpxSb2YMZIOEHgfKn0U6K2f1ISrufc=";
};
vendorHash = "sha256-Xsi4EA6wBgF7jmel38csh1T3I/SQfkMI0g1pR54nwCM=";
vendorHash = "sha256-jjKDiow5sdwKpA1f+Dzkyb8wQuU26MHcafNYhk9H9MM=";
ldflags = [
"-s"
+3 -3
View File
@@ -28,13 +28,13 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "fishnet";
version = "2.10.0";
version = "2.11.0";
src = fetchFromGitHub {
owner = "lichess-org";
repo = "fishnet";
tag = "v${finalAttrs.version}";
hash = "sha256-BtOPLqfE6SjCr8/HS5oev1j3R26+wkWw051gZwDyCM0=";
hash = "sha256-hdeg8fqrzBwXgGteapFt0Aec5/yxmRRY2ZvKl2JoJV4=";
fetchSubmodules = true;
};
@@ -45,7 +45,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
cp -v '${nnueSmall}' 'Fairy-Stockfish/src/${nnueSmallFile}'
'';
cargoHash = "sha256-1Pk9vXo1ivE8H6ctS8PEsCEv/EKFxFtgnmrvik6Gwug=";
cargoHash = "sha256-zceH1Ctj4p5deMWQYpoSSvkbT9Y3bcaBw4Pti62ckqU=";
nativeInstallCheckInputs = [
versionCheckHook
+3 -3
View File
@@ -13,16 +13,16 @@
buildNpmPackage (finalAttrs: {
pname = "gemini-cli";
version = "0.7.0";
version = "0.8.1";
src = fetchFromGitHub {
owner = "google-gemini";
repo = "gemini-cli";
tag = "v${finalAttrs.version}";
hash = "sha256-tAX32t/NLO9j7kRxR9kipfl/afLfANN/jzWKXJC9mS4=";
hash = "sha256-NuOlBFN1IVwXAfGQt6sIV0plOuVHS1hHKTFYMA5L1Ps=";
};
npmDepsHash = "sha256-nSNGWjRbAR2IFod3yC7d30Siui7N4Z0KZVxtsJ01UX8=";
npmDepsHash = "sha256-k9xMjKaimgt6sw5nq0xFUBIStuKkXpGRTj4rfdRQAGw=";
nativeBuildInputs = [
jq
+3 -3
View File
@@ -9,16 +9,16 @@
buildGoModule rec {
pname = "go-mod-upgrade";
version = "0.11.0";
version = "0.12.0";
src = fetchFromGitHub {
owner = "oligot";
repo = "go-mod-upgrade";
tag = "v${version}";
hash = "sha256-RjP9Yt3jzLcgkPKFboMnOZw0qRJQzSRstQtadj8bzlI=";
hash = "sha256-eBes8PDx3E8hAcSXiRmEJTelsm7EWtI3Ffsl5RIAVJ8=";
};
vendorHash = "sha256-Qx+8DfeZyNSTf5k4juX7+0IXT4zY2LJMuMw3e1HrxBs=";
vendorHash = "sha256-92lKUBkSx5Rvm1FfZLAd3LZS+TPAasRYOMFLTt/QzXc=";
ldflags = [
"-X main.version=${version}"
+2 -2
View File
@@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "gpxsee";
version = "13.48";
version = "14.0";
src = fetchFromGitHub {
owner = "tumic0";
repo = "GPXSee";
tag = finalAttrs.version;
hash = "sha256-3MkZpTrm8WVgv9k59XqwfhR1SDxNGDaD0TFBWeH4wQY=";
hash = "sha256-oLwkryR2C1rGAUM7Gvn0uUy1aQGtFaAkFy8RQAAnNHU=";
};
buildInputs = [
+1
View File
@@ -41,6 +41,7 @@ stdenv.mkDerivation rec {
"-DHIGHFIVE_EXAMPLES=OFF"
"-DHIGHFIVE_UNIT_TESTS=OFF"
"-DHIGHFIVE_USE_INSTALL_DEPS=ON"
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5")
]
++ (lib.optionals mpiSupport [ "-DHIGHFIVE_PARALLEL_HDF5=ON" ]);
+3 -3
View File
@@ -13,16 +13,16 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "hyprshell";
version = "4.6.4";
version = "4.7.1";
src = fetchFromGitHub {
owner = "H3rmt";
repo = "hyprshell";
tag = "v${finalAttrs.version}";
hash = "sha256-+Uo7xbLlPrMG94eISub2l3Esj8l6IxwwKEfu8nZLWRg=";
hash = "sha256-SRw1X2oC7V/h2Tqo/wTXcu6d1kKVMPrW2HGsNGE4nCA=";
};
cargoHash = "sha256-jZiOLFI3VVrPvvb2YR92mvS8QELzIoQU6ER70rZ7o1E=";
cargoHash = "sha256-ULuztkKukOyfQkiGZY7HtWn5nSs2PWX8B86FQP/z7RU=";
nativeBuildInputs = [
wrapGAppsHook4
+8 -3
View File
@@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "ipu6-camera-bins";
version = "unstable-2024-09-27";
version = "unstable-2025-06-27";
src = fetchFromGitHub {
repo = "ipu6-camera-bins";
owner = "intel";
rev = "98ca6f2a54d20f171628055938619972514f7a07";
hash = "sha256-DAjAzHMqX41mrfQVpDUJLw4Zjb9pz6Uy3TJjTGIkd6o=";
rev = "30e87664829782811a765b0ca9eea3a878a7ff29";
hash = "sha256-YPPzuK13o2jnRSB3ORoMUU5E9/IifKVSetAqZHRofhw=";
};
nativeBuildInputs = [
@@ -41,6 +41,11 @@ stdenv.mkDerivation (finalAttrs: {
'';
postFixup = ''
for lib in $out/lib/lib*.so.*; do \
lib=''${lib##*/}; \
ln -s $lib $out/lib/''${lib%.*}; \
done
for pcfile in $out/lib/pkgconfig/*.pc; do
substituteInPlace $pcfile \
--replace 'prefix=/usr' "prefix=$out"
+2 -2
View File
@@ -6,14 +6,14 @@
python3Packages.buildPythonApplication rec {
pname = "jj-pre-push";
version = "0.2.1";
version = "0.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "acarapetis";
repo = "jj-pre-push";
tag = "v${version}";
hash = "sha256-9HyVWxYmemF/K3ttQ0L1lZF/XFkSeqwli/Mm+FFI8lQ=";
hash = "sha256-SdGnhHk8MelX6hqKQmZnQYXBJ5VpjPBe+PWUxaGsxC4=";
};
build-system = [
+9 -2
View File
@@ -1,5 +1,6 @@
{
lib,
stdenv,
python3Packages,
fetchFromGitHub,
ledger,
@@ -11,11 +12,10 @@ python3Packages.buildPythonApplication rec {
version = "1.2.0";
pyproject = true;
# no tests included in PyPI tarball
src = fetchFromGitHub {
owner = "egh";
repo = "ledger-autosync";
rev = "v${version}";
tag = "v${version}";
hash = "sha256-bbFjDdxYr85OPjdvY3JYtCe/8Epwi+8JN60PKVKbqe0=";
};
@@ -33,6 +33,13 @@ python3Packages.buildPythonApplication rec {
python3Packages.pytestCheckHook
];
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
# keyring.errors.KeyringError: Can't get password from keychain: (-50, 'Unknown Error')
# keyring.backends.macOS.api.Error: (-50, 'Unknown Error')
"tests/test_cli.py"
"tests/test_weird_ofx.py"
];
meta = {
homepage = "https://github.com/egh/ledger-autosync";
changelog = "https://github.com/egh/ledger-autosync/releases/tag/v${version}";
+29 -15
View File
@@ -13,21 +13,30 @@
installShellFiles,
texinfo,
gnused,
versionCheckHook,
nix-update-script,
usePython ? false,
gpgmeSupport ? false,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "ledger";
version = "3.3.2";
src = fetchFromGitHub {
owner = "ledger";
repo = "ledger";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-Uym4s8EyzXHlISZqThcb6P1H5bdgD9vmdIOLkk5ikG0=";
};
# by default, it will query the python interpreter for it's sitepackages location
# however, that would write to a different nixstore path, pass our own sitePackages location
prePatch = lib.optionalString usePython ''
substituteInPlace src/CMakeLists.txt \
--replace-fail 'DESTINATION ''${Python_SITEARCH}' 'DESTINATION "${placeholder "py"}/${python3.sitePackages}"'
'';
patches = [
(fetchpatch2 {
name = "ledger-boost-1.85-compat.patch";
@@ -86,18 +95,15 @@ stdenv.mkDerivation rec {
];
cmakeFlags = [
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DBUILD_DOCS:BOOL=ON"
"-DUSE_PYTHON:BOOL=${if usePython then "ON" else "OFF"}"
"-DUSE_GPGME:BOOL=${if gpgmeSupport then "ON" else "OFF"}"
];
(lib.cmakeFeature "CMAKE_INSTALL_LIBDIR" "lib")
(lib.cmakeBool "BUILD_DOCS" true)
(lib.cmakeBool "USE_PYTHON" usePython)
(lib.cmakeBool "USE_GPGME" gpgmeSupport)
# by default, it will query the python interpreter for it's sitepackages location
# however, that would write to a different nixstore path, pass our own sitePackages location
prePatch = lib.optionalString usePython ''
substituteInPlace src/CMakeLists.txt \
--replace 'DESTINATION ''${Python_SITEARCH}' 'DESTINATION "${placeholder "py"}/${python3.sitePackages}"'
'';
# CMake 4 dropped support of versions lower than 3.5, and versions
# lower than 3.10 are deprecated.
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
];
installTargets = [
"doc"
@@ -108,11 +114,19 @@ stdenv.mkDerivation rec {
installShellCompletion --cmd ledger --bash $src/contrib/ledger-completion.bash
'';
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Double-entry accounting system with a command-line reporting interface";
mainProgram = "ledger";
homepage = "https://www.ledger-cli.org/";
changelog = "https://github.com/ledger/ledger/raw/v${version}/NEWS.md";
changelog = "https://github.com/ledger/ledger/raw/v${finalAttrs.version}/NEWS.md";
license = lib.licenses.bsd3;
longDescription = ''
Ledger is a powerful, double-entry accounting system that is accessed
@@ -123,4 +137,4 @@ stdenv.mkDerivation rec {
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ jwiegley ];
};
}
})
@@ -33,21 +33,21 @@
let
pname = "legends-of-equestria";
version = "2025.02.001";
version = "2025.04.001";
description = "Free-to-play MMORPG";
srcOptions = {
x86_64-linux = {
url = "https://mega.nz/file/w6pxUQJS#5r_oxsCqLyIUya8fbIATPtKAbsacXkD-bVArjjOBu3w";
outputHash = "k5kASgZwCoKVtHDEFjegAl31KZlrkNse4Baph1l/SUc=";
url = "https://mega.nz/file/w7BQTCAD#zW1atRLzSd1-V8GV7s7yj_HVZwB4v8zuX3aWIjA0ztc";
outputHash = "YYPxS/qNl/DvNmiGZorRGoONbtAI3nJslqCRzctwoz8=";
};
x86_64-darwin = {
url = "https://mega.nz/file/wyoHSZTK#ig1laiSWijTxnN_tS2m5di1Mdly8zDHP1euLVFqG_ug";
outputHash = "pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
url = "https://mega.nz/file/IqgBEJTD#aUd6LgigncoQ8o3owSkadYRp7GkfIOWl4B1Hwzti1qk";
outputHash = "XdcHM6zCDNFU5VJo3/QISuhtYnBKm1f6IEDfy6Fjnp8=";
};
aarch64-darwin = {
url = "https://mega.nz/file/EihRWKgb#KDtmmzLWVKW5uxkKkBEVE0yJioYPkOqutWwwMLhbedA";
outputHash = "pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
url = "https://mega.nz/file/QyZnkYYB#EtAZrVdHgqX10ag09M9nhJVEboG0J_5f_nVKxCHskYg";
outputHash = "GA0Zin+vlgYfBFC1ZbkkgX1eSn/NVBYuxuv8fayXMLU=";
};
};
+16 -7
View File
@@ -4,8 +4,9 @@
set -eu -o pipefail
ATTR=legends-of-equestria
DOWNLOADS_PAGE=https://www.legendsofequestria.com/downloads
OLD_VERSION=$(nix-instantiate --eval -A $ATTR.version | tr -d '"')
DOWNLOADS_PAGE="$(curl -s "$(nix-instantiate --eval -A "$ATTR.meta.downloadPage" | tr -d '"')")"
OLD_VERSION="$(nix-instantiate --eval -A "$ATTR.version" | tr -d '"')"
NIX_FILE="$(nix-instantiate --eval -A "$ATTR.meta.position" | sed -re 's/^"(.*):[0-9]+"$/\1/')"
TMP=$(mktemp -d)
findHash() {
@@ -30,24 +31,32 @@ applyUpdate() {
system=$1
echo "checking for updates for $system..." >&2
systemText="$2"
regex='<a href="(https.+)">'"$systemText"'</a>.+v(([0-9]+\.)+[0-9]+)'
regex='<a href="(https[^"]+)">'"$systemText"'</a>.+v(([0-9]+\.)+[0-9]+)'
if [[ "$(curl -s $DOWNLOADS_PAGE | grep -Fi "$systemText")" =~ $regex ]]; then
mapfile -t matches < <(echo "$DOWNLOADS_PAGE" | grep -Fi "$systemText")
for ((i=${#matches[@]}-1; i>=0; i--)); do
if [[ ${matches[i]} =~ $regex ]]; then
url="${BASH_REMATCH[1]}"
version="${BASH_REMATCH[2]}"
echo "$version $url" >&2
else
break
fi
done
if [[ -z $url || -z $version ]]; then
echo "cannot find the latest version for $system" >&2
exit 1
fi
if [[ $OLD_VERSION == $version ]]; then
echo "already up-to-date at version $version" >&2
exit 1
exit 0
fi
hash="$(findHash $system "$url" | sed -E 's/sha256-(.+)/\1/')"
echo "output hash: $hash" >&2
update-source-version $ATTR $version "$hash" "$url" --system=$system --ignore-same-version --ignore-same-hash
oldUrl="$(nix-instantiate --system $system --eval -A $ATTR.src.url | tr -d '"')"
oldHash="$(nix-instantiate --system $system --eval -A $ATTR.src.outputHash | tr -d '"')"
sed -i "s|$OLD_VERSION|$version|; s|$oldUrl|$url|; s|$oldHash|$hash|" "$NIX_FILE"
}
applyUpdate x86_64-linux Linux
+1 -2
View File
@@ -2,7 +2,6 @@
lib,
beamPackages,
fetchFromGitHub,
elixir,
nix-update-script,
versionCheckHook,
}:
@@ -34,7 +33,7 @@ beamPackages.mixRelease rec {
postInstall = ''
substituteInPlace "$out/bin/start_lexical.sh" \
--replace-fail 'elixir_command=' 'elixir_command="${elixir}/bin/"'
--replace-fail 'elixir_command=' 'elixir_command="${beamPackages.elixir}/bin/"'
mv "$out/bin" "$out/libexec"
makeWrapper "$out/libexec/start_lexical.sh" "$out/bin/lexical" \
+1
View File
@@ -70,6 +70,7 @@ stdenv.mkDerivation (finalAttrs: {
cmakeFlags = [
"-DWITH_DESKTOP_INTEGRATION=ON"
"-DWITH_WEBP_SUPPORT=ON"
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
];
hardeningDisable = lib.optional stdenv.hostPlatform.isDarwin "format";
+6
View File
@@ -44,6 +44,12 @@ stdenv.mkDerivation rec {
boost
];
cmakeFlags = [
# CMake 4 dropped support of versions lower than 3.5,
# versions lower than 3.10 are deprecated.
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
];
configureFlags = [
"--with-boost-libdir=${boost.out}/lib"
"--with-boost=${boost.dev}"
@@ -14,14 +14,14 @@
python3Packages.buildPythonApplication rec {
pname = "matrix-synapse";
version = "1.139.0";
version = "1.139.2";
format = "pyproject";
src = fetchFromGitHub {
owner = "element-hq";
repo = "synapse";
rev = "v${version}";
hash = "sha256-L9oTTdGF//srC3sDrI8aNMjc9lOkof+J2VLFy091HBo=";
hash = "sha256-lPVwJ+BkSQRkGrWlq4B4gbJlIly/hUW1jOMmbsK9R6M=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
+5
View File
@@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
cmake
];
cmakeFlags = [
# Fix configure with cmake4
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
];
meta = with lib; {
description = "Public domain mDNS/DNS-SD library in C";
homepage = "https://github.com/mjansson/mdns";
+3 -4
View File
@@ -2,8 +2,7 @@
stdenv,
lib,
fetchFromGitHub,
elixir,
erlang,
beamPackages,
}:
stdenv.mkDerivation rec {
@@ -17,8 +16,8 @@ stdenv.mkDerivation rec {
hash = "sha256-hD4lpP8GPkNXuMMDOOTEmy+rOwOSCxQwR0Mjq8i4oDM=";
};
nativeBuildInputs = [ elixir ];
buildInputs = [ erlang ];
nativeBuildInputs = [ beamPackages.elixir ];
buildInputs = [ beamPackages.erlang ];
buildPhase = "mix escript.build";
installPhase = "install -Dt $out/bin mix2nix";
+2 -2
View File
@@ -6,12 +6,12 @@
}:
stdenv.mkDerivation (finalAttrs: {
version = "11.53";
version = "11.54";
pname = "monkeys-audio";
src = fetchzip {
url = "https://monkeysaudio.com/files/MAC_${builtins.concatStringsSep "" (lib.strings.splitString "." finalAttrs.version)}_SDK.zip";
hash = "sha256-g1I63K67upEL0in1NceayLDTQgmx4LAHd0eA0MYEp44=";
hash = "sha256-6QYy0AKzh1dA2Myy3i2/0Dw/v6qrZFLLGS2WAiCOgRo=";
stripRoot = false;
};
+2 -2
View File
@@ -11,13 +11,13 @@
stdenv.mkDerivation rec {
pname = "nb";
version = "7.21.3";
version = "7.22.1";
src = fetchFromGitHub {
owner = "xwmx";
repo = "nb";
rev = version;
hash = "sha256-jvjAxXynLo19D5GdnEXtmcrxjXQRYQYOiZ6I1Wl47xA=";
hash = "sha256-WYOU4ybcuZa45P68r6NlhMYii1YUvCTmYicpVuGg7BM=";
};
nativeBuildInputs = [ installShellFiles ];
+2 -2
View File
@@ -6,13 +6,13 @@
stdenvNoCC.mkDerivation rec {
pname = "nuclei-templates";
version = "10.2.9";
version = "10.3.0";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "nuclei-templates";
tag = "v${version}";
hash = "sha256-ZncJFBWt+7NwK4zxPXr1wxtAuxjMuaGmcC1a5RAQ2Y8=";
hash = "sha256-WzPH3uyRAseN51gpmezfD0Mcbjh2K2mSkRbo3LFShG4=";
};
installPhase = ''
+13
View File
@@ -25,6 +25,19 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
mkdir -p $out/share/numbat
cp -r $src/numbat/modules $out/share/numbat/
mkdir -p $out/share/applications
cp $src/assets/numbat.desktop $out/share/applications
for size in 16 22 24 32 48 64 128 256 512; do
dims="''${size}x''${size}"
dest=$out/share/icons/hicolor/''${dims}/apps
mkdir -p $dest
cp $src/assets/numbat-''${dims}.png ''${dest}/numbat.png
done
mkdir -p $out/share/icons/hicolor/scalable/apps
cp $src/assets/numbat.svg $out/share/icons/hicolor/scalable/apps
'';
preCheck = ''
+38
View File
@@ -0,0 +1,38 @@
{
lib,
python3Packages,
fetchPypi,
}:
python3Packages.buildPythonApplication rec {
pname = "onionprobe";
version = "1.4.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-rjExMm1mkoeRiv+aNuC6Ieo0/X5sbsjuSiAHcnQxjFo=";
};
build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
requests
stem
prometheus-client
pyyaml
pysocks
cryptography
];
meta = {
description = "Tooling for onion service monitoring";
homepage = "https://onionservices.torproject.org/apps/web/onionprobe/";
changelog = "https://gitlab.torproject.org/tpo/onion-services/onionprobe/-/blob/${version}/docs/changelog.md";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.ForgottenBeast ];
mainProgram = "onionprobe";
};
}
+7 -8
View File
@@ -9,13 +9,13 @@
}:
let
pname = "open-webui";
version = "0.6.32";
version = "0.6.33";
src = fetchFromGitHub {
owner = "open-webui";
repo = "open-webui";
tag = "v${version}";
hash = "sha256-+P/IjELE1G2Fm8OwS5l7k78f78s/o1/Dy945aw+lfQw=";
hash = "sha256-+dxE+rYqVzjuTgV/PYb9fOW0kE4o+uf+h1IB0b1SU1M=";
};
frontend = buildNpmPackage rec {
@@ -32,7 +32,7 @@ let
url = "https://github.com/pyodide/pyodide/releases/download/${pyodideVersion}/pyodide-${pyodideVersion}.tar.bz2";
};
npmDepsHash = "sha256-BcSDzLg2voHyUz4cnXQ0KRNSbLCsCwJ1itEJSbfAQhU=";
npmDepsHash = "sha256-ztoLi386RTJXTxt8PjRQtrqY4y7clSOc7UbxdtoXFaI=";
# See https://github.com/open-webui/open-webui/issues/15880
npmFlags = [
@@ -115,7 +115,6 @@ python3Packages.buildPythonApplication rec {
fake-useragent
fastapi
faster-whisper
firecrawl-py
fpdf2
ftfy
google-api-python-client
@@ -152,7 +151,6 @@ python3Packages.buildPythonApplication rec {
opentelemetry-instrumentation-logging
opentelemetry-instrumentation-httpx
opentelemetry-instrumentation-aiohttp-client
oracledb
pandas
passlib
peewee
@@ -185,7 +183,6 @@ python3Packages.buildPythonApplication rec {
soundfile
starlette-compress
starsessions
tencentcloud-sdk-python
tiktoken
transformers
unstructured
@@ -206,14 +203,16 @@ python3Packages.buildPythonApplication rec {
all = [
colbert-ai
elasticsearch
moto
firecrawl-py
gcp-storage-emulator
playwright
moto
oracledb
pinecone-client
playwright
pymilvus
pymongo
qdrant-client
tencentcloud-sdk-python
]
++ moto.optional-dependencies.s3
++ postgres;
+3 -3
View File
@@ -22,12 +22,12 @@ let
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "opencode";
version = "0.14.5";
version = "0.14.6";
src = fetchFromGitHub {
owner = "sst";
repo = "opencode";
tag = "v${finalAttrs.version}";
hash = "sha256-B5usCIYji85jIDAnBL/zLhmm14aEchq2DRzHb5pGkUo=";
hash = "sha256-L1B5N3nTYe65CFpVWshhZEpEC1zhHYkJ1WMGcVtS9Ec=";
};
tui = buildGoModule {
@@ -36,7 +36,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
modRoot = "packages/tui";
vendorHash = "sha256-H+TybeyyHTbhvTye0PCDcsWkcN8M34EJ2ddxyXEJkZI=";
vendorHash = "sha256-g3+2q7yRaM6BgIs5oIXz/u7B84ZMMjnxXpvFpqDePU4=";
subPackages = [ "cmd/opencode" ];
+3 -10
View File
@@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "osgQt";
version = "3.5.7";
version = "3.5.7-unstable-2025-10-08";
src = fetchFromGitHub {
owner = "openscenegraph";
repo = "osgQt";
rev = finalAttrs.version;
hash = "sha256-iUeIqRDlcAHdKXWAi4WhEaOCxa7ZivQw0K5E7ccEKnM=";
rev = "effd111b747d786d4937de93973188a48eee3412";
hash = "sha256-+rjy2a266p755Mbfk6jRApiERpOL8axHklK0cYokX40=";
};
buildInputs = [ libsForQt5.qtbase ];
@@ -32,13 +32,6 @@ stdenv.mkDerivation (finalAttrs: {
"-DOpenGL_GL_PREFERENCE=GLVND"
];
postPatch = ''
substituteInPlace CMakeLists.txt --replace-fail \
"FIND_PACKAGE(Qt5Widgets REQUIRED)" \
"FIND_PACKAGE(Qt5Widgets REQUIRED)
FIND_PACKAGE(Qt5OpenGL REQUIRED)"
'';
meta = {
description = "Qt bindings for OpenSceneGraph";
homepage = "https://github.com/openscenegraph/osgQt";
+3 -3
View File
@@ -14,16 +14,16 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "pixi";
version = "0.55.0";
version = "0.56.0";
src = fetchFromGitHub {
owner = "prefix-dev";
repo = "pixi";
tag = "v${finalAttrs.version}";
hash = "sha256-hMHOhdy8J/LQsrA1EWDuOP2weXB0NbXB++vyjaU4bkI=";
hash = "sha256-3YVIJLzFNJ5PlgT7NnxOtyA363A+qMpQPTr1N1E2daI=";
};
cargoHash = "sha256-W/kjdqyMMs6ICzDgPeZyaOlS8fVfdS7bFcGcxlp6aQo=";
cargoHash = "sha256-z9lsxQ08ZJ1xjhIXSP6adO+sMJk3adUKrXqKJy4MA0g=";
nativeBuildInputs = [
pkg-config
-1
View File
@@ -12,7 +12,6 @@
brotli,
tailwindcss_3,
esbuild,
...
}:
let
+2 -2
View File
@@ -8,11 +8,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "quarkus-cli";
version = "3.28.1";
version = "3.28.2";
src = fetchurl {
url = "https://github.com/quarkusio/quarkus/releases/download/${finalAttrs.version}/quarkus-cli-${finalAttrs.version}.tar.gz";
hash = "sha256-cJpAm4OOYHtWctY9JVHNz9Nh/YCWv9TaA2fU5QYFOTQ=";
hash = "sha256-d5OrUShc8TKJAcFd0Y3Cu1nkuj+dJBOg5uCrEbssNyw=";
};
nativeBuildInputs = [ makeWrapper ];
+4 -5
View File
@@ -1,9 +1,8 @@
{
lib,
beamPackages,
stdenv,
fetchurl,
erlang,
elixir,
python3,
libxml2,
libxslt,
@@ -27,7 +26,7 @@
let
runtimePath = lib.makeBinPath (
[
erlang
beamPackages.erlang
getconf # for getting memory limits
socat
gnused
@@ -62,8 +61,8 @@ stdenv.mkDerivation rec {
];
buildInputs = [
erlang
elixir
beamPackages.erlang
beamPackages.elixir
libxml2
libxslt
glibcLocales
+3 -3
View File
@@ -7,17 +7,17 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "reaction";
version = "2.2.0";
version = "2.2.1";
src = fetchFromGitLab {
domain = "framagit.org";
owner = "ppom";
repo = "reaction";
tag = "v${finalAttrs.version}";
hash = "sha256-TVxBW47GqnfP8K8ZcjSR0P84dnb8Z5c3o11Ql5wsvLg=";
hash = "sha256-81i0bkrf86adQWxeZgIoZp/zQQbRJwPqQqZci0ANRFw=";
};
cargoHash = "sha256-ACacxDbJjbv7sP1D0wO6vjCVhlPui1ogXZKxY5l+3JU=";
cargoHash = "sha256-Bf9XmlY0IMPY4Convftd0Hv8mQbYoiE8WrkkAeaS6Z8=";
nativeBuildInputs = [
installShellFiles
+1
View File
@@ -33,6 +33,7 @@ stdenv.mkDerivation {
cmakeFlags = [
"-Wno-dev"
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
]
++ lib.optional buildOpenGLES "-DUSE_GL_ES=ON";
+8 -5
View File
@@ -7,18 +7,21 @@
php84,
}:
php84.buildComposerProject2 (finalAttrs: {
let
php = php84;
in
php.buildComposerProject2 (finalAttrs: {
pname = "snipe-it";
version = "8.3.2";
version = "8.3.3";
src = fetchFromGitHub {
owner = "grokability";
repo = "snipe-it";
tag = "v${finalAttrs.version}";
hash = "sha256-ZmOij8oDaMtLKbNEbzufvXy5fmLrGqwiDXzIpDVQ93o=";
hash = "sha256-Ttvq5KXTLtl3ZCRQACtVj4jC2cVGfDd+hUdRO3CbQjU=";
};
vendorHash = "sha256-13Mw2sjeSk4AmELjuD6Z7SgxLBgIeqzolq+rR992sEs=";
vendorHash = "sha256-Y5Jf9x0YIFHkuRwMR9X2D0b5/ULr6sTjmPHnQRXbF/s=";
postInstall = ''
snipe_it_out="$out/share/php/snipe-it"
@@ -42,7 +45,7 @@ php84.buildComposerProject2 (finalAttrs: {
passthru = {
tests = nixosTests.snipe-it;
phpPackage = php84;
phpPackage = php;
};
meta = {
+1
View File
@@ -35,6 +35,7 @@ stdenv.mkDerivation rec {
];
cmakeFlags = [
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
"-DBUILD_SPECTRE_TESTS=ON"
];
@@ -8,13 +8,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "spam-filter";
version = "2.0.3";
version = "2.0.4";
src = fetchFromGitHub {
owner = "stalwartlabs";
repo = "spam-filter";
tag = "v${finalAttrs.version}";
hash = "sha256-NhD/qUiGhgESwR2IOzAHfDATRlgWMcCktlktvVfDONk=";
hash = "sha256-unSRgmXE5T1QfE41E29BjJKpEAnMtYiAefcL2p7Cjak=";
};
buildPhase = ''
+3 -3
View File
@@ -19,13 +19,13 @@
}:
rustPlatform.buildRustPackage {
pname = "steel";
version = "0-unstable-2025-09-25";
version = "0-unstable-2025-10-07";
src = fetchFromGitHub {
owner = "mattwparas";
repo = "steel";
rev = "27532d855c71a4080f46f69fb9bae0eccfdaea7f";
hash = "sha256-GxmpBsL/ktR/Sd4q3/5FXQBV0tpdfsnBfbQcUzPIXHw=";
rev = "f18298647e727f9f79f312511bbf4e8e397998bb";
hash = "sha256-vXSwAfJVjMuz2O/FSF+ijzTK8TYVY4a0Zuzrnqhpja8=";
};
cargoHash = "sha256-CrmQhOfh7SQ5GvBywmYkfU6wMlgZq2x61+T+mIeQ7z4=";
@@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
zlib
];
cmakeFlags = [ (lib.strings.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5") ];
# Workaround for upstream bug https://bugs.kde.org/show_bug.cgi?id=357181
preConfigure = ''
sed -i -e 's/STRLESS/VERSION_LESS/g' cmake/modules/FindTaglib.cmake
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
cmakeFlags = [ (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5") ];
# https://github.com/tinyobjloader/tinyobjloader/issues/336
postPatch = ''
substituteInPlace tinyobjloader.pc.in \
+9 -3
View File
@@ -12,19 +12,25 @@
buildGoModule rec {
pname = "vault";
version = "1.20.3";
version = "1.20.4";
src = fetchFromGitHub {
owner = "hashicorp";
repo = "vault";
rev = "v${version}";
hash = "sha256-q7Uz8gq092JU1v6sEQvraV6wxgBEGGnZFCBEw2f9GMw=";
hash = "sha256-GZ+/NzOjcKTYOq4HajKGD68RNxIdXxfLo/pAewaZ8F8=";
};
vendorHash = "sha256-504WH4KaL1ecsuwXlELKhpbHHK67IcaI+I4DvEQerwA=";
vendorHash = "sha256-mhT5s1nIdX/57TDEaWwbni0E7DX0W0WwwvrSr7L66hI=";
proxyVendor = true;
postPatch = ''
# Remove defunct github.com/hashicorp/go-cmp dependency
sed -i '/github\.com\/hashicorp\/go-cmp/d' go.mod
sed -i '/github\.com\/hashicorp\/go-cmp/d' go.sum
'';
subPackages = [ "." ];
nativeBuildInputs = [
+6 -10
View File
@@ -34,25 +34,21 @@ rec {
callErlang =
drv: args:
let
builder = callPackage ../../development/interpreters/erlang/generic-builder.nix args;
genericBuilder =
versionArgs: import ../../development/interpreters/erlang/generic-builder.nix (versionArgs // args);
in
callPackage drv {
mkDerivation = pkgs.makeOverridable builder;
};
pkgs.callPackage (import drv genericBuilder) { };
/*
Uses generic-builder to evaluate provided drv containing Elixir version
specific data.
drv: package containing version-specific args;
builder: generic builder for all Erlang versions;
drv: file containing version-specific args;
genericBuilder: generic builder for all Erlang versions;
args: arguments merged into version-specific args, used mostly to customize
dependencies;
high level options;
Arguments passed to the generic-builder are overridable.
Please note that "mkDerivation" defined here is the one called from 1.4.nix
and similar files.
*/
callElixir =
drv: args:
+2 -2
View File
@@ -27,11 +27,11 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "go";
version = "1.24.7";
version = "1.24.8";
src = fetchurl {
url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz";
hash = "sha256-Ko9Q2w+IgDYHxQ1+qINNy3vUg8a0KKkeNg/fhiS0ZGQ=";
hash = "sha256-sf8yxcSlDd+hoct4tg3Vo2KushhLt48Ai0JbYglXVfs=";
};
strictDeps = true;
+1 -1
View File
@@ -659632,7 +659632,7 @@ self: {
hydraPlatforms = lib.platforms.none;
broken = true;
}
) { inherit (pkgs) libtcod; };
) { libtcod = null; };
tconfig = callPackage (
{
+3 -3
View File
@@ -1,6 +1,6 @@
{ mkDerivation }:
genericBuilder:
mkDerivation {
genericBuilder {
version = "26.2.5.15";
sha256 = "sha256-D2JfB7D9mhbmYvJfjSMbcdNrlYNWa/BfqAeqsbjTZlE=";
hash = "sha256-D2JfB7D9mhbmYvJfjSMbcdNrlYNWa/BfqAeqsbjTZlE=";
}
+3 -3
View File
@@ -1,6 +1,6 @@
{ mkDerivation }:
genericBuilder:
mkDerivation {
genericBuilder {
version = "27.3.4.3";
sha256 = "sha256-p4M1PPrbpNq6la4kgTTCOa2f5/oYxNwMaSi59mhlM4o=";
hash = "sha256-p4M1PPrbpNq6la4kgTTCOa2f5/oYxNwMaSi59mhlM4o=";
}
+3 -3
View File
@@ -1,6 +1,6 @@
{ mkDerivation }:
genericBuilder:
mkDerivation {
genericBuilder {
version = "28.1";
sha256 = "sha256-rR31Zj7c2eNf608HhLNlrGnVQN/Nymug6EcPfeNHfqk=";
hash = "sha256-rR31Zj7c2eNf608HhLNlrGnVQN/Nymug6EcPfeNHfqk=";
}
@@ -1,253 +1,181 @@
{
lib,
stdenv,
# options set through beam-packages
# systemd support for epmd only
systemdSupport ? null,
wxSupport ? true,
# options set by version specific files, e.g. 28.nix
version,
hash ? null,
}:
{
# overridable options
enableDebugInfo ? false,
enableHipe ? true,
enableKernelPoll ? true,
enableSmpSupport ? true,
enableThreads ? true,
javacSupport ? false,
odbcSupport ? false,
parallelBuild ? true,
fetchFromGitHub,
makeWrapper,
gawk,
gnum4,
gnused,
lib,
libGL,
libGLU,
libxml2,
libxslt,
makeWrapper,
ncurses,
nix-update-script,
openjdk11,
openssl,
perl,
runtimeShell,
openjdk11 ? null, # javacSupport
unixODBC ? null, # odbcSupport
libGL ? null,
libGLU ? null,
wxGTK ? null,
xorg ? null,
parallelBuild ? false,
stdenv,
systemd,
wxSupport ? true,
# systemd support for epmd
systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd,
unixODBC,
wrapGAppsHook3,
wxGTK32,
xorg,
zlib,
}:
{
baseName ? "erlang",
version,
sha256 ? null,
rev ? "OTP-${version}",
src ? fetchFromGitHub {
inherit rev sha256;
owner = "erlang";
repo = "otp";
},
enableHipe ? true,
enableDebugInfo ? false,
enableThreads ? true,
enableSmpSupport ? true,
enableKernelPoll ? true,
javacSupport ? false,
javacPackages ? [ openjdk11 ],
odbcSupport ? false,
odbcPackages ? [ unixODBC ],
opensslPackage ? openssl,
wxPackages ? [
libGL
libGLU
wxGTK
xorg.libX11
wrapGAppsHook3
],
preUnpack ? "",
postUnpack ? "",
patches ? [ ],
patchPhase ? "",
prePatch ? "",
postPatch ? "",
configureFlags ? [ ],
configurePhase ? "",
preConfigure ? "",
postConfigure ? "",
buildPhase ? "",
preBuild ? "",
postBuild ? "",
installPhase ? "",
preInstall ? "",
postInstall ? "",
checkPhase ? "",
preCheck ? "",
postCheck ? "",
fixupPhase ? "",
preFixup ? "",
postFixup ? "",
meta ? { },
}:
assert
wxSupport
-> (
if stdenv.hostPlatform.isDarwin then
wxGTK != null
else
libGL != null && libGLU != null && wxGTK != null && xorg != null
);
assert odbcSupport -> unixODBC != null;
assert javacSupport -> openjdk11 != null;
let
inherit (lib)
optional
optionals
optionalAttrs
optionalString
;
wxPackages2 = if stdenv.hostPlatform.isDarwin then [ wxGTK ] else wxPackages;
wxPackages2 =
if stdenv.hostPlatform.isDarwin then
[ wxGTK32 ]
else
[
libGL
libGLU
wxGTK32
xorg.libX11
wrapGAppsHook3
];
major = builtins.head (builtins.splitVersion version);
enableSystemd =
if (systemdSupport == null) then
lib.meta.availableOn stdenv.hostPlatform systemd
else
systemdSupport;
runtimePath = lib.makeBinPath [
gawk
gnused
];
in
stdenv.mkDerivation (
{
# name is used instead of pname to
# - not have to pass pnames as argument
# - have a separate pname for erlang (main module)
name =
"${baseName}"
+ optionalString javacSupport "_javac"
+ optionalString odbcSupport "_odbc"
+ "-${version}";
stdenv.mkDerivation {
pname = "erlang" + optionalString javacSupport "_javac" + optionalString odbcSupport "_odbc";
inherit version;
inherit src version;
src = fetchFromGitHub {
owner = "erlang";
repo = "otp";
tag = "OTP-${version}";
inherit hash;
};
env = {
# only build man pages and shell/IDE docs
DOC_TARGETS = "man chunks";
LANG = "C.UTF-8";
};
nativeBuildInputs = [
makeWrapper
perl
gnum4
libxslt
libxml2
];
nativeBuildInputs = [
makeWrapper
perl
gnum4
libxslt
libxml2
];
env = {
# only build man pages and shell/IDE docs
DOC_TARGETS = "man chunks";
buildInputs = [
ncurses
openssl
zlib
]
++ optionals wxSupport wxPackages2
++ optionals odbcSupport [ unixODBC ]
++ optionals javacSupport [ openjdk11 ]
++ optionals enableSystemd [ systemd ];
# disksup requires a shell
postPatch = ''
substituteInPlace lib/os_mon/src/disksup.erl --replace-fail '"sh ' '"${runtimeShell} '
'';
debugInfo = enableDebugInfo;
# On some machines, parallel build reliably crashes on `GEN asn1ct_eval_ext.erl` step
enableParallelBuilding = parallelBuild;
configureFlags = [
"--with-ssl=${lib.getOutput "out" openssl}"
"--with-ssl-incl=${lib.getDev openssl}"
]
++ optional enableThreads "--enable-threads"
++ optional enableSmpSupport "--enable-smp-support"
++ optional enableKernelPoll "--enable-kernel-poll"
++ optional enableHipe "--enable-hipe"
++ optional javacSupport "--with-javac"
++ optional odbcSupport "--with-odbc=${unixODBC}"
++ optional wxSupport "--enable-wx"
++ optional enableSystemd "--enable-systemd"
++ optional stdenv.hostPlatform.isDarwin "--enable-darwin-64bit"
# make[3]: *** [yecc.beam] Segmentation fault: 11
++ optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) "--disable-jit";
installTargets = [
"install"
"install-docs"
];
postInstall = ''
ln -sv $out/lib/erlang/lib/erl_interface*/bin/erl_call $out/bin/erl_call
wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${runtimePath}"
wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${runtimePath}"
'';
passthru = {
updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"OTP-(${major}.*)"
"--override-filename"
"pkgs/development/interpreters/erlang/${major}.nix"
];
};
};
buildInputs = [
ncurses
opensslPackage
zlib
]
++ optionals wxSupport wxPackages2
++ optionals odbcSupport odbcPackages
++ optionals javacSupport javacPackages
++ optional systemdSupport systemd;
meta = {
homepage = "https://www.erlang.org/";
downloadPage = "https://www.erlang.org/download.html";
description = "Programming language used for massively scalable soft real-time systems";
debugInfo = enableDebugInfo;
# On some machines, parallel build reliably crashes on `GEN asn1ct_eval_ext.erl` step
enableParallelBuilding = parallelBuild;
postPatch = ''
patchShebangs make
${postPatch}
''
+ optionalString (lib.versionOlder "25" version) ''
substituteInPlace lib/os_mon/src/disksup.erl \
--replace-fail '"sh ' '"${runtimeShell} '
longDescription = ''
Erlang is a programming language used to build massively scalable
soft real-time systems with requirements on high availability.
Some of its uses are in telecoms, banking, e-commerce, computer
telephony and instant messaging. Erlang's runtime system has
built-in support for concurrency, distribution and fault
tolerance.
'';
configureFlags = [
"--with-ssl=${lib.getOutput "out" opensslPackage}"
]
++ [ "--with-ssl-incl=${lib.getDev opensslPackage}" ] # This flag was introduced in R24
++ optional enableThreads "--enable-threads"
++ optional enableSmpSupport "--enable-smp-support"
++ optional enableKernelPoll "--enable-kernel-poll"
++ optional enableHipe "--enable-hipe"
++ optional javacSupport "--with-javac"
++ optional odbcSupport "--with-odbc=${unixODBC}"
++ optional wxSupport "--enable-wx"
++ optional systemdSupport "--enable-systemd"
++ optional stdenv.hostPlatform.isDarwin "--enable-darwin-64bit"
# make[3]: *** [yecc.beam] Segmentation fault: 11
++ optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) "--disable-jit"
++ configureFlags;
# install-docs will generate and install manpages and html docs
# (PDFs are generated only when fop is available).
installTargets = [
"install"
"install-docs"
];
postInstall = ''
ln -s $out/lib/erlang/lib/erl_interface*/bin/erl_call $out/bin/erl_call
${postInstall}
'';
# Some erlang bin/ scripts run sed and awk
postFixup = ''
wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/"
wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${
lib.makeBinPath [
gnused
gawk
]
}"
'';
passthru = {
updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"OTP-(${major}.*)"
"--override-filename"
"pkgs/development/interpreters/erlang/${major}.nix"
];
};
};
meta =
with lib;
(
{
homepage = "https://www.erlang.org/";
downloadPage = "https://www.erlang.org/download.html";
description = "Programming language used for massively scalable soft real-time systems";
longDescription = ''
Erlang is a programming language used to build massively scalable
soft real-time systems with requirements on high availability.
Some of its uses are in telecoms, banking, e-commerce, computer
telephony and instant messaging. Erlang's runtime system has
built-in support for concurrency, distribution and fault
tolerance.
'';
platforms = platforms.unix;
teams = [ teams.beam ];
license = licenses.asl20;
}
// meta
);
}
// optionalAttrs (preUnpack != "") { inherit preUnpack; }
// optionalAttrs (postUnpack != "") { inherit postUnpack; }
// optionalAttrs (patches != [ ]) { inherit patches; }
// optionalAttrs (prePatch != "") { inherit prePatch; }
// optionalAttrs (patchPhase != "") { inherit patchPhase; }
// optionalAttrs (configurePhase != "") { inherit configurePhase; }
// optionalAttrs (preConfigure != "") { inherit preConfigure; }
// optionalAttrs (postConfigure != "") { inherit postConfigure; }
// optionalAttrs (buildPhase != "") { inherit buildPhase; }
// optionalAttrs (preBuild != "") { inherit preBuild; }
// optionalAttrs (postBuild != "") { inherit postBuild; }
// optionalAttrs (checkPhase != "") { inherit checkPhase; }
// optionalAttrs (preCheck != "") { inherit preCheck; }
// optionalAttrs (postCheck != "") { inherit postCheck; }
// optionalAttrs (installPhase != "") { inherit installPhase; }
// optionalAttrs (preInstall != "") { inherit preInstall; }
// optionalAttrs (fixupPhase != "") { inherit fixupPhase; }
// optionalAttrs (preFixup != "") { inherit preFixup; }
// optionalAttrs (postFixup != "") { inherit postFixup; }
)
platforms = lib.platforms.unix;
teams = [ lib.teams.beam ];
license = lib.licenses.asl20;
};
}
@@ -31,13 +31,13 @@ let
in
stdenv.mkDerivation {
pname = "${ipuVersion}-camera-hal";
version = "unstable-2024-09-29";
version = "unstable-2025-06-27";
src = fetchFromGitHub {
owner = "intel";
repo = "ipu6-camera-hal";
rev = "f98f72b156563fe8373e4f8d017a9f609676bb33";
hash = "sha256-zVcgKW7/GHYd1oMvsaI77cPyj3G68dL+OXBJDz5+Td4=";
rev = "c933525a6efe8229a7129b7b0b66798f19d2bef7";
hash = "sha256-ZWwszteRmUBn0wGgN5rmzw/onfzBoPGadcmpk+93kAM=";
};
nativeBuildInputs = [
@@ -46,15 +46,14 @@ stdenv.mkDerivation {
];
cmakeFlags = [
"-DIPU_VER=${ipuVersion}"
"-DTARGET_SUFFIX=-${ipuVersion}"
# missing libiacss
"-DUSE_PG_LITE_PIPE=ON"
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_INSTALL_PREFIX=${placeholder "out"}"
"-DCMAKE_INSTALL_SUB_PATH=${ipuTarget}"
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
"-DBUILD_CAMHAL_ADAPTOR=ON"
"-DBUILD_CAMHAL_PLUGIN=ON"
"-DIPU_VERSIONS=${ipuVersion}"
"-DUSE_PG_LITE_PIPE=ON"
];
NIX_CFLAGS_COMPILE = [
@@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "aioshelly";
version = "13.11.0";
version = "13.12.0";
pyproject = true;
disabled = pythonOlder "3.11";
@@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "home-assistant-libs";
repo = "aioshelly";
tag = version;
hash = "sha256-Nx7CFGCQ5lJO21fjkR5yis3Rh+TzqWKAiK52BaKBAts=";
hash = "sha256-ajo7Uu9U2Xowncb4hF95Gx6YbVjTxY4a52mlU4yOy/0=";
};
build-system = [ setuptools ];
+112 -123
View File
@@ -1,5 +1,4 @@
{
callPackage,
lib,
buildPythonPackage,
fetchFromGitHub,
@@ -25,6 +24,7 @@
gui ? true,
tkinter,
aniso8601,
pycryptodome,
pg8000,
pymysql,
@@ -48,131 +48,120 @@
boto3,
}:
# ideally we'd use finalAttrs.finalPackage instead of lib.fix for self-reference,
# but buildPythonPackage doesn't support it yet
lib.fix (
self:
buildPythonPackage rec {
pname = "arelle${lib.optionalString (!gui) "-headless"}";
version = "2.37.59";
pyproject = true;
buildPythonPackage rec {
pname = "arelle${lib.optionalString (!gui) "-headless"}";
version = "2.37.61";
pyproject = true;
src = fetchFromGitHub {
owner = "Arelle";
repo = "Arelle";
tag = version;
hash = "sha256-ao4OKe3e1V3Df7396gVn4nqmpKNAbs5ny2y/GsxQwcE=";
};
src = fetchFromGitHub {
owner = "Arelle";
repo = "Arelle";
tag = version;
hash = "sha256-xz3sDAgE1Qpml8V+2y+q/tTda6uGZuMnNSEGdIjLlzI=";
};
outputs = [
"out"
"doc"
outputs = [
"out"
"doc"
];
postPatch = ''
substituteInPlace pyproject.toml --replace-fail \
'requires = ["setuptools>=80.9,<81", "wheel>=0.45,<1", "setuptools_scm[toml]>=9.2,<10"]' \
'requires = ["setuptools", "wheel", "setuptools_scm[toml]"]'
'';
build-system = [
setuptools
setuptools-scm
];
dependencies = [
bottle
certifi
filelock
isodate
jsonschema
lxml
numpy
openpyxl
pillow
pyparsing
python-dateutil
regex
truststore
typing-extensions
]
++ lib.optionals gui [ tkinter ];
optional-dependencies = {
crypto = [ pycryptodome ];
db = [
pg8000
pymysql
pyodbc
rdflib
];
efm = [
holidays
pytz
];
esef = [ tinycss2 ];
objectmaker = [ graphviz ];
webserver = [
cheroot
cherrypy
tornado
];
xule = [ aniso8601 ];
};
postPatch = ''
substituteInPlace pyproject.toml --replace-fail \
'requires = ["setuptools>=80.9,<81", "wheel>=0.45,<1", "setuptools_scm[toml]>=9.2,<10"]' \
'requires = ["setuptools", "wheel", "setuptools_scm[toml]"]'
nativeBuildInputs = [
# deps for docs
sphinxHook
sphinx-autodoc2
myst-parser
sphinx-copybutton
furo
];
# the arelleGUI executable doesn't work when the gui option is false
postInstall = lib.optionalString (!gui) ''
find $out/bin -name "*arelleGUI*" -delete
'';
nativeCheckInputs = [
pytestCheckHook
boto3
]
++ lib.flatten (lib.attrValues optional-dependencies);
preCheck = ''
export HOME=$(mktemp -d)
'';
disabledTestPaths = [
"tests/integration_tests"
]
++ lib.optionals (!gui) [
# these tests import tkinter
"tests/unit_tests/arelle/test_updater.py"
"tests/unit_tests/arelle/test_import.py"
];
meta = {
description = "Open source XBRL platform";
longDescription = ''
An open source facility for XBRL, the eXtensible Business Reporting
Language supporting various standards, exposed through a Python or
REST API ${lib.optionalString gui " and a graphical user interface"}.
'';
build-system = [
setuptools
setuptools-scm
mainProgram = "arelle";
homepage = "http://arelle.org/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
tomasajt
roberth
];
dependencies = [
bottle
certifi
filelock
isodate
jsonschema
lxml
numpy
openpyxl
pillow
pyparsing
python-dateutil
regex
truststore
typing-extensions
]
++ lib.optionals gui [ tkinter ];
optional-dependencies = {
crypto = [ pycryptodome ];
db = [
pg8000
pymysql
pyodbc
rdflib
];
efm = [
holidays
pytz
];
esef = [ tinycss2 ];
objectmaker = [ graphviz ];
webserver = [
cheroot
cherrypy
tornado
];
};
nativeBuildInputs = [
# deps for docs
sphinxHook
sphinx-autodoc2
myst-parser
sphinx-copybutton
furo
];
# the arelleGUI executable doesn't work when the gui option is false
postInstall = lib.optionalString (!gui) ''
find $out/bin -name "*arelleGUI*" -delete
'';
nativeCheckInputs = [
pytestCheckHook
boto3
]
++ lib.flatten (lib.attrValues optional-dependencies);
preCheck = ''
export HOME=$(mktemp -d)
'';
disabledTestPaths = [
"tests/integration_tests"
]
++ lib.optionals (!gui) [
# these tests import tkinter
"tests/unit_tests/arelle/test_updater.py"
"tests/unit_tests/arelle/test_import.py"
];
passthru.hasGUI = gui;
passthru.tests = {
cli = callPackage ./test-cli.nix { arelle = self; };
};
meta = {
changelog = "https://github.com/Arelle/Arelle/releases/tag/${src.tag}";
description = "Open source XBRL platform";
longDescription = ''
An open source facility for XBRL, the eXtensible Business Reporting
Language supporting various standards, exposed through a Python or
REST API ${lib.optionalString gui " and a graphical user interface"}.
'';
mainProgram = "arelle";
homepage = "http://arelle.org/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
tomasajt
roberth
];
};
}
)
};
}
@@ -359,7 +359,7 @@
buildPythonPackage rec {
pname = "boto3-stubs";
version = "1.40.46";
version = "1.40.47";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -367,7 +367,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "boto3_stubs";
inherit version;
hash = "sha256-TMRvhoZ0vqFwCLF8vlMK2dO5zV77rETMrKRTvVmz7U0=";
hash = "sha256-ZD7iS/i3ZREw6Z4VI4BWa9NKs10QL1lPMza6Ycyeeuw=";
};
build-system = [ setuptools ];
@@ -7,20 +7,17 @@
commoncode,
pytestCheckHook,
setuptools-scm,
pythonOlder,
}:
buildPythonPackage rec {
pname = "debian-inspector";
version = "31.1.0";
version = "31.1.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "debian_inspector";
inherit version;
hash = "sha256-68+8FwZPEL07bSEizbyXtxpJSvDruvr5qM6t/osWT5k=";
hash = "sha256-uyFsYrb7D9cM1OQzkIERX0oV711uI/TEKF6t67z8egU=";
};
dontConfigure = true;
@@ -42,6 +39,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Utilities to parse Debian package, copyright and control files";
homepage = "https://github.com/nexB/debian-inspector";
changelog = "https://github.com/aboutcode-org/debian-inspector/blob/v${version}/CHANGELOG.rst";
license = with licenses; [
asl20
bsd3
@@ -12,7 +12,6 @@
opencv4,
pandas,
pillow,
pythonOlder,
requests,
retinaface,
setuptools,
@@ -22,16 +21,14 @@
buildPythonPackage rec {
pname = "deepface";
version = "0.0.94";
version = "0.0.95";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "serengil";
repo = "deepface";
tag = "v${version}";
hash = "sha256-jtDj1j2STjoEW6MdQai6ZuRYVmLo0Ga+VPJ01105Byc=";
hash = "sha256-BLbDW/NBeLKFcijMSeYfYxSFmqfG8WYHbVQpFyvMEZY=";
};
postPatch = ''
@@ -9,31 +9,28 @@
scipy,
numpy,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "dtw-python";
version = "1.5.3";
format = "pyproject";
disabled = pythonOlder "3.6";
version = "1.7.2";
pyproject = true;
src = fetchFromGitHub {
owner = "DynamicTimeWarping";
repo = "dtw-python";
tag = "v${version}";
hash = "sha256-Q2TffroAGS6DeU5hUE/M2Luuxa5VfU+wxbGdfhcioSA=";
hash = "sha256-DaYqKvjbp2yjL0a5f+vkB4OFOCWqt+f1HUUfarbns3A=";
};
nativeBuildInputs = [
build-system = [
cython
oldest-supported-numpy
setuptools
wheel
];
propagatedBuildInputs = [
dependencies = [
scipy
numpy
];
@@ -44,16 +41,17 @@ buildPythonPackage rec {
appendToVar enabledTestPaths "$src/tests"
cd $out
'';
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dtw" ];
meta = with lib; {
description = "Python port of R's Comprehensive Dynamic Time Warp algorithms package";
mainProgram = "dtw";
homepage = "https://github.com/DynamicTimeWarping/dtw-python";
changelog = "https://github.com/DynamicTimeWarping/dtw-python/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/DynamicTimeWarping/dtw-python/blob/${src.tag}/CHANGELOG.md";
license = licenses.gpl3Only;
maintainers = with maintainers; [ mbalatsko ];
mainProgram = "dtw";
};
}
@@ -3,11 +3,9 @@
buildPythonPackage,
fetchFromGitHub,
fsspec,
funcy,
pytest-asyncio,
pytest-mock,
pytestCheckHook,
pythonOlder,
reflink,
setuptools-scm,
shortuuid,
@@ -15,16 +13,14 @@
buildPythonPackage rec {
pname = "dvc-objects";
version = "5.1.1";
version = "5.1.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "iterative";
repo = "dvc-objects";
tag = version;
hash = "sha256-NjpQJhpNkl+M+aFWG0AaPUc546F7L23PcduMKNtGDL4=";
hash = "sha256-Lq881EnszwS+o8vaiiVgerdXAcalLT0PIJoW98+rw7w=";
};
postPatch = ''
@@ -32,9 +28,9 @@ buildPythonPackage rec {
--replace " --benchmark-skip" ""
'';
nativeBuildInputs = [ setuptools-scm ];
build-system = [ setuptools-scm ];
propagatedBuildInputs = [ fsspec ] ++ lib.optionals (pythonOlder "3.12") [ funcy ];
dependencies = [ fsspec ];
nativeCheckInputs = [
pytest-asyncio
@@ -13,7 +13,6 @@
pytest-asyncio,
pytestCheckHook,
python-dateutil,
pythonOlder,
setuptools,
syrupy,
voluptuous,
@@ -21,16 +20,14 @@
buildPythonPackage rec {
pname = "env-canada";
version = "0.11.2";
version = "0.11.3";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "michaeldavie";
repo = "env_canada";
tag = "v${version}";
hash = "sha256-r0a2bMgWY6dH88aOJoNpmcSyQi207XDI3Ehu37kU9hY=";
hash = "sha256-9sgdoHsYklszt1y63WQ4BkIGLxprILx2kh7+BmmUlqE=";
};
build-system = [ setuptools ];
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "ffmpy";
version = "0.6.1";
version = "0.6.2";
pyproject = true;
disabled = pythonOlder "3.8.1";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "Ch00k";
repo = "ffmpy";
tag = version;
hash = "sha256-u//L2vxucFlWmk1+pdp+iCrpzzMZUonDAn1LELgX86E=";
hash = "sha256-XFC7f8wdIsySIn4qXqo61GmRcaF0QciLYN5lwhzlIuA=";
};
postPatch =
@@ -16,14 +16,14 @@
buildPythonPackage rec {
pname = "githubkit";
version = "0.13.3";
version = "0.13.4";
pyproject = true;
src = fetchFromGitHub {
owner = "yanyongyu";
repo = "githubkit";
tag = "v${version}";
hash = "sha256-4THc5BNQGSrpf3Y3OoFisywEdKp8ZgNjle4yvVLUy1A=";
hash = "sha256-67Y0r4Po3z4YmnbWC0HBLmsKD68HMIGvHKo5SLe+KRc=";
};
pythonRelaxDeps = [ "hishel" ];
@@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "holidays";
version = "0.81";
version = "0.82";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "vacanza";
repo = "python-holidays";
tag = "v${version}";
hash = "sha256-p1+/BRi/4QG524nT9lns1AGc6jeO9KTJNJ2rljkrmko=";
hash = "sha256-H+qG9GqSPFODn0kWSIY/XJ1wAPI/iArCWR3yG+pFZXE=";
};
build-system = [
@@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "iamdata";
version = "0.1.202510071";
version = "0.1.202510081";
pyproject = true;
src = fetchFromGitHub {
owner = "cloud-copilot";
repo = "iam-data-python";
tag = "v${version}";
hash = "sha256-BFcJBRuVV7+x89MuLova58HMNDLAmI0GwWo0nHWYkEs=";
hash = "sha256-hN5gHYhylmrOYiMTW+FE8G0CXf2kxKbPGbtQmjd8X7A=";
};
build-system = [ hatchling ];
@@ -7,21 +7,18 @@
pytestCheckHook,
pytest-cov-stub,
setuptools,
pythonOlder,
}:
buildPythonPackage rec {
pname = "kasa-crypt";
version = "0.6.3";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bdraco";
repo = "kasa-crypt";
tag = "v${version}";
hash = "sha256-PQycv0JHXKIEzuKVnXoyuU/BfKG19r3eDE4rYDiYYaY=";
hash = "sha256-rSRLrlV3QLatI2G8sd2jDwd6U8k4MrJil62ki1kNEMc=";
};
build-system = [
@@ -14,12 +14,12 @@
buildPythonPackage rec {
pname = "meshcore";
version = "2.1.7";
version = "2.1.9";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-VEkpS6FTs7mCjhqFRL6+AisR0IKYrOWbx6irGfsucEc=";
sha256 = "sha256-FhTOuVHhpYvmITgxfhXys8AJhRfYnMwCJ3fWJhMf53w=";
};
build-system = [ hatchling ];
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
# build-system
setuptools,
@@ -22,16 +21,14 @@
buildPythonPackage rec {
pname = "minio";
version = "7.2.17";
version = "7.2.18";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "minio";
repo = "minio-py";
tag = version;
hash = "sha256-SP681EBKSyLl9V1TaI/7jsQOLPKKI+XwkR6hpoaSG/Y=";
hash = "sha256-2SmqtCWOwmSxi9vsBvH2bhYiUwc2LyZ/zO2jJpnhPDw=";
};
postPatch = ''
@@ -28,24 +28,24 @@
buildPythonPackage rec {
pname = "mkdocs-material";
version = "9.6.20";
version = "9.6.21";
pyproject = true;
src = fetchFromGitHub {
owner = "squidfunk";
repo = "mkdocs-material";
tag = version;
hash = "sha256-4VvMy3eAkITASX8qRu8Qdgj2n92dz0vfZJo4q8EFLuU=";
hash = "sha256-zd1KJQOH3uHrePJbBgLuq++GSoM1KYW9VwpYnCrZZQY=";
};
nativeBuildInputs = [
build-system = [
hatch-requirements-txt
hatch-nodejs-version
hatchling
trove-classifiers
];
propagatedBuildInputs = [
dependencies = [
babel
backrefs
colorama
@@ -1061,8 +1061,8 @@ in
"sha256-T04icQC+XwQZhaAEBWRiqfCUaayXP1szpbLdAG/7t3k=";
mypy-boto3-proton =
buildMypyBoto3Package "proton" "1.40.16"
"sha256-6HufCNGwO9QsEJofZEWhyFwuGe5rA0hunAqudPXLw4o=";
buildMypyBoto3Package "proton" "1.40.47"
"sha256-BEHP+U37pdHVP7UABWkS3zUYNg+xE6Z/A8mmmd0/LmE=";
mypy-boto3-qldb =
buildMypyBoto3Package "qldb" "1.40.16"
@@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "nicegui-highcharts";
version = "2.1.0";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "zauberzeug";
repo = "nicegui-highcharts";
tag = "v${version}";
hash = "sha256-9COui3gqLZqJSeZyzazxQcOc2oM9Li+dLBoy5VcEKBw=";
hash = "sha256-kP7wU0gZRmBtcMFPypkGowSK2s8B2UD8A2XyK87WqEU=";
};
postPatch = ''
@@ -3,22 +3,19 @@
buildPythonPackage,
fetchPypi,
gitpython,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "pyexploitdb";
version = "0.2.100";
version = "0.2.101";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "pyExploitDb";
inherit version;
hash = "sha256-z98mrmfIM96rb+PT25HzwkfFDgZ50wRw9eQlsD4yqik=";
hash = "sha256-ZiNFLX3L4Fc6fJxd2sUlF+tU2PL544fOu36niFN+aoM=";
};
build-system = [ setuptools ];
@@ -3,23 +3,20 @@
buildPythonPackage,
cython,
fetchFromGitHub,
pythonOlder,
setuptools,
wheel,
}:
buildPythonPackage rec {
pname = "pyjson5";
version = "1.6.9";
version = "2.0.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Kijewski";
repo = "pyjson5";
tag = "v${version}";
hash = "sha256-3uxuJvxTn6C3MWShXQlILPApgtumgGOeaaMlBvRaHiU=";
hash = "sha256-vHO354ZjaQirOWavfaDvenE+MLQLhWF3bCHa5Z1NNXg=";
fetchSubmodules = true;
};
@@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "pylamarzocco";
version = "2.1.1";
version = "2.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "zweckj";
repo = "pylamarzocco";
tag = "v${version}";
hash = "sha256-ciOyz+d91zYP8XJF7HnDeZ0XmqDyQgP1DAOwJeQLnm0=";
hash = "sha256-gDIp7QcjXqJUlsr0xEIJEDQnmuOkD/BxATfv0fiGGpI=";
};
build-system = [ setuptools ];
@@ -32,14 +32,14 @@
buildPythonPackage rec {
pname = "pylance";
version = "0.38.1";
version = "0.38.2";
pyproject = true;
src = fetchFromGitHub {
owner = "lancedb";
repo = "lance";
tag = "v${version}";
hash = "sha256-0oFErLwyApLIgX4SqU0qi02NidL9iZQ2zBSwdUFfX7Q=";
hash = "sha256-H4HQzLmQdDS8aS/OMsIHjWEogmctkF+5N5ClozeuITU=";
};
sourceRoot = "${src.name}/python";
@@ -51,7 +51,7 @@ buildPythonPackage rec {
src
sourceRoot
;
hash = "sha256-j2Wy8o9erM7c5eA6W+dr38uAODNhMMEqQa7limZ8Rmg=";
hash = "sha256-A4qZERrYm8FELuJNqy/fhbJxLxTp73oY7jc5bZavFFI=";
};
nativeBuildInputs = [
@@ -55,6 +55,7 @@ buildPythonPackage rec {
homepage = "https://qiling.io/";
changelog = "https://github.com/qilingframework/qiling/releases/tag/${version}";
license = licenses.gpl2Only;
broken = true;
maintainers = [ ];
};
}
@@ -71,8 +71,6 @@ buildPythonPackage rec {
downloadPage = "https://github.com/QISKit/qiskit/releases";
changelog = "https://qiskit.org/documentation/release_notes.html";
license = licenses.asl20;
maintainers = with maintainers; [
pandaman
];
maintainers = [ ];
};
}
@@ -42,14 +42,14 @@
buildPythonPackage rec {
pname = "reflex";
version = "0.8.12";
version = "0.8.14";
pyproject = true;
src = fetchFromGitHub {
owner = "reflex-dev";
repo = "reflex";
tag = "v${version}";
hash = "sha256-NNjabOL5ls5aUaM+KiyLRwrkh2nAnwMYwDsd+jIsGLc=";
hash = "sha256-w3qikUqo61UBJHVjbzeNCf97AZyBHLI+PkkXrVQBNAk=";
};
# 'rich' is also somehow checked when building the wheel,
@@ -5,23 +5,20 @@
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pythonOlder,
requests,
responses,
}:
buildPythonPackage rec {
pname = "securityreporter";
version = "1.2.0";
version = "1.3.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "dongit-org";
repo = "python-reporter";
tag = "v${version}";
hash = "sha256-fpsvjbPE6iaOmLxykGSkCjkhFTmb8xhXa8pDrWN66KM=";
hash = "sha256-YvUDgsKM0JUajp8JAR2vj30QsNtcGvADGCZ791ZZD/8=";
};
postPatch = ''
@@ -28,6 +28,10 @@ buildPythonPackage rec {
hash = "sha256-JKCTn2YkdyGLvchMT9C61PxjYxuQFzt3SjCE9JvgtVc=";
};
postPatch = ''
substituteInPlace pyproject.toml --replace-fail 'version = "0.0.0"' 'version = "${version}"'
'';
build-system = [
poetry-core
poetry-dynamic-versioning
@@ -39,9 +43,15 @@ buildPythonPackage rec {
sphinx
];
nativeCheckInputs = [ pytestCheckHook ];
# upstream pins these unnecessarily in their requirements.txt
pythonRelaxDeps = [
"certifi"
"requests"
"urllib3"
"zipp"
];
pythonRelaxDeps = [ "requests" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Sphinx extension for creating unselectable prompt";
@@ -4,20 +4,17 @@
buildPythonPackage,
fetchPypi,
file,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "sqlmap";
version = "1.9.9";
version = "1.9.10";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-7h9683YdzKT+oDToy9GW1+k7LoaHqBBZeLlXiCDelFA=";
hash = "sha256-S5A/zjf5PpauzIU3BGiijgGEq7OrFoj13xkYAJgdnOA=";
};
postPatch = ''
@@ -4,22 +4,19 @@
fetchFromGitHub,
flit-core,
pytestCheckHook,
pythonOlder,
pyyaml,
}:
buildPythonPackage rec {
pname = "svg-py";
version = "1.8.0";
version = "1.9.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "orsinium-labs";
repo = "svg.py";
tag = version;
hash = "sha256-wHbAsmFkJ3VGBuaKElB+qT8OaKleJ2DgGKr0LvojWws=";
hash = "sha256-ILnPviXUHJrdeT6VTUYAZog3zY0tVA+13ddf8yVRYqE=";
};
build-system = [ flit-core ];
@@ -16,14 +16,14 @@
buildPythonPackage rec {
pname = "testcontainers";
version = "4.13.1";
version = "4.13.2";
pyproject = true;
src = fetchFromGitHub {
owner = "testcontainers";
repo = "testcontainers-python";
tag = "testcontainers-v${version}";
hash = "sha256-pDHSwVFrveCJAfSUZROUDZf6WZ+ZRIE+cCmPgKd52Jc=";
hash = "sha256-S2k+zRNxQJcgVdZcU4TM2JHFJ+UflpXt6r6ooYxyOXo=";
};
postPatch = ''
@@ -16,14 +16,14 @@
buildPythonPackage rec {
pname = "trl";
version = "0.23.0";
version = "0.23.1";
pyproject = true;
src = fetchFromGitHub {
owner = "huggingface";
repo = "trl";
tag = "v${version}";
hash = "sha256-LHBFcf1araJ9Eosrr2z87HrRt5en1jIZ9C9pjqi9Nik=";
hash = "sha256-Zqc9hdi0r4F5/e5SV8ZiY8/x/xHOEQDZ/Rv9G/Dh1zM=";
};
build-system = [
@@ -27,14 +27,14 @@
buildPythonPackage rec {
pname = "tyro";
version = "0.9.28";
version = "0.9.32";
pyproject = true;
src = fetchFromGitHub {
owner = "brentyi";
repo = "tyro";
tag = "v${version}";
hash = "sha256-dxciOLNxOjTTIm7P1XTRMgW1a6Sdbnfnqc0EEfyq7IM=";
hash = "sha256-Tp94PSJmVgMnJjf1xBq8JUtHhSZPK135h9F3QzPyWa0=";
};
build-system = [ hatchling ];

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