Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-11-12 12:06:14 +00:00 committed by GitHub
commit b4d4509dd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
57 changed files with 1249 additions and 605 deletions

View file

@ -9,7 +9,7 @@
</p> </p>
<p align="center"> <p align="center">
<a href="https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md"><img src="https://img.shields.io/github/contributors-anon/NixOS/nixpkgs" alt="Contributors badge" /></a> <a href="CONTRIBUTING.md"><img src="https://img.shields.io/github/contributors-anon/NixOS/nixpkgs" alt="Contributors badge" /></a>
<a href="https://opencollective.com/nixos"><img src="https://opencollective.com/nixos/tiers/supporter/badge.svg?label=supporters&color=brightgreen" alt="Open Collective supporters" /></a> <a href="https://opencollective.com/nixos"><img src="https://opencollective.com/nixos/tiers/supporter/badge.svg?label=supporters&color=brightgreen" alt="Open Collective supporters" /></a>
</p> </p>
@ -74,7 +74,7 @@ Community contributions are always welcome through GitHub Issues and
Pull Requests. Pull Requests.
For more information about contributing to the project, please visit For more information about contributing to the project, please visit
the [contributing page](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md). the [contributing page](CONTRIBUTING.md).
# Donations # Donations

View file

@ -5,6 +5,8 @@
lib, lib,
stdenvNoCC, stdenvNoCC,
callPackage, callPackage,
devmode,
mkShellNoCC,
documentation-highlighter, documentation-highlighter,
nixos-render-docs, nixos-render-docs,
nixpkgs ? { }, nixpkgs ? { },
@ -95,10 +97,14 @@ stdenvNoCC.mkDerivation (
pythonInterpreterTable = callPackage ./python-interpreter-table.nix { }; pythonInterpreterTable = callPackage ./python-interpreter-table.nix { };
shell = callPackage ../../pkgs/tools/nix/web-devmode.nix { shell =
buildArgs = "./."; let
open = "/share/doc/nixpkgs/manual.html"; devmode' = devmode.override {
}; buildArgs = "./.";
open = "/share/doc/nixpkgs/manual.html";
};
in
mkShellNoCC { packages = [ devmode' ]; };
tests.manpage-urls = callPackage ../tests/manpage-urls.nix { }; tests.manpage-urls = callPackage ../tests/manpage-urls.nix { };
}; };

View file

@ -6,8 +6,11 @@ let
common = import ./common.nix; common = import ./common.nix;
inherit (common) outputPath indexPath; inherit (common) outputPath indexPath;
devmode = pkgs.devmode.override {
buildArgs = "../../release.nix -A manualHTML.${builtins.currentSystem}";
open = "/${outputPath}/${indexPath}";
};
in in
pkgs.callPackage ../../../pkgs/tools/nix/web-devmode.nix { pkgs.mkShellNoCC {
buildArgs = "../../release.nix -A manualHTML.${builtins.currentSystem}"; packages = [ devmode ];
open = "/${outputPath}/${indexPath}";
} }

View file

@ -37,7 +37,7 @@ If you want to prevent Athens from writing to disk, you can instead configure it
} }
``` ```
To use the local proxy in Go builds, you can set the proxy as environment variable: To use the local proxy in Go builds (outside of `nix`), you can set the proxy as environment variable:
```nix ```nix
{ {
@ -47,6 +47,21 @@ To use the local proxy in Go builds, you can set the proxy as environment variab
} }
``` ```
It is currently not possible to use the local proxy for builds done by the Nix daemon. This might be enabled To also use the local proxy for Go builds happening in `nix` (with `buildGoModule`), the nix daemon can be configured to pass the GOPROXY environment variable to the `goModules` fixed-output derivation.
by experimental features, specifically [`configurable-impure-env`](https://nixos.org/manual/nix/unstable/contributing/experimental-features#xp-feature-configurable-impure-env),
in upcoming Nix versions. This can either be done via the nix-daemon systemd unit:
```nix
{
systemd.services.nix-daemon.environment.GOPROXY = "http://localhost:3000";
}
```
or via the [impure-env experimental feature](https://nix.dev/manual/nix/2.24/command-ref/conf-file#conf-impure-env):
```nix
{
nix.settings.experimental-features = [ "configurable-impure-env" ];
nix.settings.impure-env = "GOPROXY=http://localhost:3000";
}
```

View file

@ -482,6 +482,9 @@ in {
# so NSS can look up usernames # so NSS can look up usernames
"${pkgs.glibc}/lib/libnss_files.so.2" "${pkgs.glibc}/lib/libnss_files.so.2"
# Resolving sysroot symlinks without code exec
"${pkgs.chroot-realpath}/bin/chroot-realpath"
] ++ optionals cfg.package.withCryptsetup [ ] ++ optionals cfg.package.withCryptsetup [
# fido2 support # fido2 support
"${cfg.package}/lib/cryptsetup/libcryptsetup-token-systemd-fido2.so" "${cfg.package}/lib/cryptsetup/libcryptsetup-token-systemd-fido2.so"
@ -522,7 +525,7 @@ in {
script = /* bash */ '' script = /* bash */ ''
set -uo pipefail set -uo pipefail
export PATH="/bin:${cfg.package.util-linux}/bin" export PATH="/bin:${cfg.package.util-linux}/bin:${pkgs.chroot-realpath}/bin"
# Figure out what closure to boot # Figure out what closure to boot
closure= closure=
@ -543,7 +546,7 @@ in {
# Resolve symlinks in the init parameter. We need this for some boot loaders # Resolve symlinks in the init parameter. We need this for some boot loaders
# (e.g. boot.loader.generationsDir). # (e.g. boot.loader.generationsDir).
closure="$(chroot /sysroot ${pkgs.coreutils}/bin/realpath "$closure")" closure="$(chroot-realpath /sysroot "$closure")"
# Assume the directory containing the init script is the closure. # Assume the directory containing the init script is the closure.
closure="$(dirname "$closure")" closure="$(dirname "$closure")"
@ -578,14 +581,10 @@ in {
]; ];
services.initrd-nixos-activation = { services.initrd-nixos-activation = {
requires = [ after = [ "initrd-switch-root.target" ];
config.boot.initrd.systemd.services.initrd-find-nixos-closure.name requiredBy = [ "initrd-switch-root.service" ];
]; before = [ "initrd-switch-root.service" ];
after = [ unitConfig.DefaultDependencies = false;
"initrd-fs.target"
config.boot.initrd.systemd.services.initrd-find-nixos-closure.name
];
requiredBy = [ "initrd.target" ];
unitConfig = { unitConfig = {
AssertPathExists = "/etc/initrd-release"; AssertPathExists = "/etc/initrd-release";
RequiresMountsFor = [ RequiresMountsFor = [

View file

@ -139,10 +139,10 @@
closure="$(realpath /nixos-closure)" closure="$(realpath /nixos-closure)"
metadata_image="$(chroot /sysroot ${lib.getExe' pkgs.coreutils "realpath"} "$closure/etc-metadata-image")" metadata_image="$(${pkgs.chroot-realpath}/bin/chroot-realpath /sysroot "$closure/etc-metadata-image")"
ln -s "/sysroot$metadata_image" /etc-metadata-image ln -s "/sysroot$metadata_image" /etc-metadata-image
basedir="$(chroot /sysroot ${lib.getExe' pkgs.coreutils "realpath"} "$closure/etc-basedir")" basedir="$(${pkgs.chroot-realpath}/bin/chroot-realpath /sysroot "$closure/etc-basedir")"
ln -s "/sysroot$basedir" /etc-basedir ln -s "/sysroot$basedir" /etc-basedir
''; '';
}; };

View file

@ -28,6 +28,8 @@
, go_1_23 , go_1_23
, buildGo123Module , buildGo123Module
, nix-update-script , nix-update-script
, makeBinaryWrapper
, autoSignDarwinBinariesHook
}: }:
with python3Packages; with python3Packages;
@ -85,9 +87,11 @@ buildPythonApplication rec {
sphinx-inline-tabs sphinx-inline-tabs
go_1_23 go_1_23
fontconfig fontconfig
makeBinaryWrapper
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
imagemagick imagemagick
libicns # For the png2icns tool. libicns # For the png2icns tool.
autoSignDarwinBinariesHook
] ++ lib.optionals stdenv.hostPlatform.isLinux [ ] ++ lib.optionals stdenv.hostPlatform.isLinux [
wayland-scanner wayland-scanner
]; ];

View file

@ -99,8 +99,7 @@ stdenv.mkDerivation rec {
zlib zlib
] ]
++ optionals withGUI [ cmark ] ++ optionals withGUI [ cmark ]
++ optionals stdenv.hostPlatform.isLinux [ qtwayland ] ++ optionals stdenv.hostPlatform.isLinux [ qtwayland ];
++ optionals stdenv.hostPlatform.isDarwin [ libiconv ];
# autoupdate is not needed but it silences a ton of pointless warnings # autoupdate is not needed but it silences a ton of pointless warnings
postPatch = '' postPatch = ''

View file

@ -1,22 +1,26 @@
{ {
fetchFromGitHub,
buildGo122Module, buildGo122Module,
lib, lib,
fetchFromGitHub,
versionCheckHook, versionCheckHook,
}: }:
buildGo122Module rec { buildGo122Module rec {
pname = "baidupcs-go"; pname = "baidupcs-go";
version = "3.9.5"; version = "3.9.5-unstable-2024-06-23";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "qjfoidnh"; owner = "qjfoidnh";
repo = "BaiduPCS-Go"; repo = "BaiduPCS-Go";
rev = "v${version}"; rev = "5612fc337b9556ed330274987a2f876961639cff";
hash = "sha256-zNodRQzflOOB3hAeq4KbjRFlHQwknVy+4ucipUcoufY="; hash = "sha256-4mCJ5gVHjjvR6HNo47NTJvQEu7cdZZMfO8qQA7Kqzqo=";
}; };
vendorHash = "sha256-msTlXtidxLTe3xjxTOWCqx/epFT0XPdwGPantDJUGpc="; vendorHash = "sha256-msTlXtidxLTe3xjxTOWCqx/epFT0XPdwGPantDJUGpc=";
doCheck = false; doCheck = false;
ldflags = [
"-X main.Version=${version}"
];
nativeInstallCheckInputs = [ nativeInstallCheckInputs = [
versionCheckHook versionCheckHook
]; ];
@ -24,10 +28,10 @@ buildGo122Module rec {
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}"; versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
meta = { meta = {
mainProgram = "BaiduPCS-Go";
maintainers = with lib.maintainers; [ xddxdd ]; maintainers = with lib.maintainers; [ xddxdd ];
description = "Baidu Netdisk commandline client, mimicking Linux shell file handling commands"; description = "Baidu Netdisk commandline client, mimicking Linux shell file handling commands";
homepage = "https://github.com/qjfoidnh/BaiduPCS-Go"; homepage = "https://github.com/qjfoidnh/BaiduPCS-Go";
license = lib.licenses.asl20; license = lib.licenses.asl20;
mainProgram = "BaiduPCS-Go";
}; };
} }

View file

@ -0,0 +1,21 @@
{
lib,
rustPlatform,
}:
let
cargo = lib.importTOML ./src/Cargo.toml;
in
rustPlatform.buildRustPackage {
pname = cargo.package.name;
version = cargo.package.version;
src = ./src;
cargoLock.lockFile = ./src/Cargo.lock;
meta = {
description = "Output a path's realpath within a chroot.";
maintainers = [ lib.maintainers.elvishjerricco ];
};
}

View file

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "chroot-realpath"
version = "0.1.0"

View file

@ -0,0 +1,9 @@
[package]
name = "chroot-realpath"
version = "0.1.0"
edition = "2021"
[dependencies]
[profile.release]
opt-level = "z"

View file

@ -0,0 +1,24 @@
use std::env;
use std::io::{stdout, Error, ErrorKind, Write};
use std::os::unix::ffi::OsStrExt;
use std::os::unix::fs;
fn main() -> std::io::Result<()> {
let args: Vec<String> = env::args().collect();
if args.len() != 3 {
return Err(Error::new(
ErrorKind::InvalidInput,
format!("Usage: {} <chroot> <path>", args[0]),
));
}
fs::chroot(&args[1])?;
std::env::set_current_dir("/")?;
let path = std::fs::canonicalize(&args[2])?;
stdout().write_all(path.into_os_string().as_bytes())?;
Ok(())
}

View file

@ -1,6 +1,7 @@
{ lib {
, stdenvNoCC lib,
, fetchFromGitHub stdenvNoCC,
fetchFromGitHub,
}: }:
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
@ -14,6 +15,11 @@ stdenvNoCC.mkDerivation (finalAttrs: {
hash = "sha256-KIRVztkE72juIgXquZlC6AYo78QKHBD7iCvCa+ri66k="; hash = "sha256-KIRVztkE72juIgXquZlC6AYo78QKHBD7iCvCa+ri66k=";
}; };
postPatch = ''
substituteInPlace cmake/CPM.cmake \
--replace-fail "set(CURRENT_CPM_VERSION 1.0.0-development-version)" "set(CURRENT_CPM_VERSION ${finalAttrs.version})"
'';
dontConfigure = true; dontConfigure = true;
dontBuild = true; dontBuild = true;
@ -27,7 +33,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
runHook postInstall runHook postInstall
''; '';
meta = with lib; { meta = {
homepage = "https://github.com/cpm-cmake/CPM.cmake"; homepage = "https://github.com/cpm-cmake/CPM.cmake";
description = "CMake's missing package manager"; description = "CMake's missing package manager";
longDescription = '' longDescription = ''
@ -36,8 +42,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
CMake's FetchContent module that adds version control, caching, a CMake's FetchContent module that adds version control, caching, a
simple API and more. simple API and more.
''; '';
license = licenses.mit; license = lib.licenses.mit;
maintainers = [ ]; maintainers = with lib.maintainers; [ pandapip1 ];
platforms = platforms.all; platforms = lib.platforms.all;
}; };
}) })

View file

@ -1,22 +1,22 @@
{ {
lib, lib,
findutils, findutils,
mkShell,
nodejs_latest, nodejs_latest,
parallel, parallel,
rsync, rsync,
watchexec, watchexec,
writeShellScriptBin, writeShellScriptBin,
# arguments to `nix-build`, e.g. `"foo.nix -A bar"` # arguments to `nix-build`, e.g. `"foo.nix -A bar"`
buildArgs, buildArgs ? "",
# what path to open a browser at # what path to open a browser at
open, open ? "/index.html",
}: }:
let let
inherit (nodejs_latest.pkgs) live-server; inherit (nodejs_latest.pkgs) live-server;
error_page = writeShellScriptBin "error_page" '' error-page = writeShellScriptBin "error-page" ''
echo "<!DOCTYPE html> cat << EOF
<!DOCTYPE html>
<html> <html>
<head> <head>
<style> <style>
@ -26,7 +26,8 @@ let
</style> </style>
</head> </head>
<body><pre>$1</pre></body> <body><pre>$1</pre></body>
</html>" </html>
EOF
''; '';
# The following would have been simpler: # The following would have been simpler:
@ -38,7 +39,7 @@ let
# Using rsync here, instead of `cp`, to get as close to an atomic # Using rsync here, instead of `cp`, to get as close to an atomic
# directory copy operation as possible. `--delay-updates` should # directory copy operation as possible. `--delay-updates` should
# also go towards that. # also go towards that.
build_and_copy = writeShellScriptBin "build_and_copy" '' build-and-copy = writeShellScriptBin "build-and-copy" ''
set -euxo pipefail set -euxo pipefail
set +e set +e
@ -49,7 +50,7 @@ let
if [ $exit_status -eq 0 ]; if [ $exit_status -eq 0 ];
then then
# setting permissions to be able to clean up # setting permissions to be able to clean up
${lib.getBin rsync}/bin/rsync \ ${lib.getExe rsync} \
--recursive \ --recursive \
--chmod=u=rwX \ --chmod=u=rwX \
--delete-before \ --delete-before \
@ -58,10 +59,10 @@ let
$serve/ $serve/
else else
set +x set +x
${lib.getBin error_page}/bin/error_page "$stderr" > $error_page_absolute ${lib.getExe error-page} "$stderr" > $error_page_absolute
set -x set -x
${lib.getBin findutils}/bin/find $serve \ ${lib.getExe findutils} $serve \
-type f \ -type f \
! -name $error_page_relative \ ! -name $error_page_relative \
-delete -delete
@ -72,20 +73,20 @@ let
watcher = writeShellScriptBin "watcher" '' watcher = writeShellScriptBin "watcher" ''
set -euxo pipefail set -euxo pipefail
${lib.getBin watchexec}/bin/watchexec \ ${lib.getExe watchexec} \
--shell=none \ --shell=none \
--restart \ --restart \
--print-events \ --print-events \
${lib.getBin build_and_copy}/bin/build_and_copy ${lib.getExe build-and-copy}
''; '';
# A Rust alternative to live-server exists, but it was not in nixpkgs. # A Rust alternative to live-server exists, but it fails to open the temporary directory.
# `--no-css-inject`: without this it seems that only CSS is auto-reloaded. # `--no-css-inject`: without this it seems that only CSS is auto-reloaded.
# https://www.npmjs.com/package/live-server # https://www.npmjs.com/package/live-server
server = writeShellScriptBin "server" '' server = writeShellScriptBin "server" ''
set -euxo pipefail set -euxo pipefail
${lib.getBin live-server}/bin/live-server \ ${lib.getExe' live-server "live-server"} \
--host=127.0.0.1 \ --host=127.0.0.1 \
--verbose \ --verbose \
--no-css-inject \ --no-css-inject \
@ -93,34 +94,29 @@ let
--open=${open} \ --open=${open} \
$serve $serve
''; '';
devmode = writeShellScriptBin "devmode" ''
set -euxo pipefail
function handle_exit {
rm -rf "$tmpdir"
}
tmpdir=$(mktemp -d)
trap handle_exit EXIT
export out_link="$tmpdir/result"
export serve="$tmpdir/serve"
mkdir $serve
export error_page_relative=error.html
export error_page_absolute=$serve/$error_page_relative
${lib.getBin error_page}/bin/error_page "building " > $error_page_absolute
${lib.getBin parallel}/bin/parallel \
--will-cite \
--line-buffer \
--tagstr '{/}' \
::: \
"${lib.getBin watcher}/bin/watcher" \
"${lib.getBin server}/bin/server"
'';
in in
mkShell { writeShellScriptBin "devmode" ''
name = "web-devmode"; set -euxo pipefail
packages = [ devmode ];
} function handle_exit {
rm -rf "$tmpdir"
}
tmpdir=$(mktemp -d)
trap handle_exit EXIT
export out_link="$tmpdir/result"
export serve="$tmpdir/serve"
mkdir $serve
export error_page_relative=error.html
export error_page_absolute=$serve/$error_page_relative
${lib.getExe error-page} "building " > $error_page_absolute
${lib.getExe parallel} \
--will-cite \
--line-buffer \
--tagstr '{/}' \
::: \
"${lib.getExe watcher}" \
"${lib.getExe server}"
''

View file

@ -9,13 +9,13 @@
buildGoModule rec { buildGoModule rec {
pname = "distribution"; pname = "distribution";
version = "3.0.0-beta.1"; version = "3.0.0-rc.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "distribution"; owner = "distribution";
repo = "distribution"; repo = "distribution";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-tiTwrcRtOEIs1sCkzHXY1TPYw0TOdDvM2Y8YdgQjEmI="; hash = "sha256-dfy3P8zAFlni2heQcz61+sjivHE97Syh/ICreTgxUAM=";
}; };
vendorHash = null; vendorHash = null;
@ -45,7 +45,7 @@ buildGoModule rec {
homepage = "https://distribution.github.io/distribution/"; homepage = "https://distribution.github.io/distribution/";
changelog = "https://github.com/distribution/distribution/releases/tag/v${version}"; changelog = "https://github.com/distribution/distribution/releases/tag/v${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ ]; maintainers = with lib.maintainers; [ katexochen ];
mainProgram = "registry"; mainProgram = "registry";
platforms = platforms.unix; platforms = platforms.unix;
}; };

View file

@ -6,12 +6,12 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "fava"; pname = "fava";
version = "1.28"; version = "1.29";
pyproject = true; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-sWHVkR0/0VMGzH5OMxOCK4usf7G0odzMtr82ESRQhrk="; hash = "sha256-UZZ142FchYXqPtHb6EWnKjV+xtJ0Gvu+SovTH6+kVn8=";
}; };
postPatch = '' postPatch = ''

View file

@ -8,13 +8,13 @@
buildGoModule rec { buildGoModule rec {
pname = "go-ios"; pname = "go-ios";
version = "1.0.150"; version = "1.0.155";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "danielpaulus"; owner = "danielpaulus";
repo = "go-ios"; repo = "go-ios";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-xa2/qshZ4k+Df5l817BXlotR6L/CX6Lw2+tWDYnr96I="; sha256 = "sha256-cIB03BSdhOgXaw/Pjvh40S02egE7P53gf0TmwhqbbZY=";
}; };
proxyVendor = true; proxyVendor = true;

View file

@ -1,28 +1,21 @@
{ cmake {
, fetchFromGitHub fetchFromGitHub,
, gitUpdater gitUpdater,
, lib lib,
, openssl rustPlatform,
, pkg-config
, rustPlatform
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "hatsu"; pname = "hatsu";
version = "0.2.2"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "importantimport"; owner = "importantimport";
repo = "hatsu"; repo = "hatsu";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-iQrwqv5q002rJMcvUhlsLVN3O7mHyL5zmLGjegZDVG0="; hash = "sha256-K+8X/bNPdjxBSJdlFIXUUOXlTq7Cgol3fFToj5KzbeE=";
}; };
cargoHash = "sha256-LkGkifmHy7cEGrPg0WCf1nCGfcW60AGWQSB0Zb01mk0="; cargoHash = "sha256-+fNFy3WnQKtDjpNU3veoR2JrBNHj6/Wz2MQP38SR23I=";
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ openssl ];
env = { OPENSSL_NO_VENDOR = true; };
passthru.updateScript = gitUpdater { passthru.updateScript = gitUpdater {
rev-prefix = "v"; rev-prefix = "v";
@ -32,6 +25,7 @@ rustPlatform.buildRustPackage rec {
meta = { meta = {
description = "Self-hosted and fully-automated ActivityPub bridge for static sites"; description = "Self-hosted and fully-automated ActivityPub bridge for static sites";
homepage = "https://github.com/importantimport/hatsu"; homepage = "https://github.com/importantimport/hatsu";
changelog = "https://github.com/importantimport/hatsu/releases/tag/v${version}";
license = lib.licenses.agpl3Only; license = lib.licenses.agpl3Only;
mainProgram = "hatsu"; mainProgram = "hatsu";
maintainers = with lib.maintainers; [ kwaa ]; maintainers = with lib.maintainers; [ kwaa ];

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "hcxtools"; pname = "hcxtools";
version = "6.3.4"; version = "6.3.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ZerBea"; owner = "ZerBea";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-03NPzSThmUPAEg5dBr2QkwaXPgGeu/lEe9nqhY8EkyA="; sha256 = "sha256-8VfGiIXl/F2wgCMuS3+lt9sT/re9YgoRKwzgSHCir04=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -0,0 +1,32 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "kangaru";
version = "4.3.2";
src = fetchFromGitHub {
owner = "gracicot";
repo = "kangaru";
rev = "refs/tags/v${finalAttrs.version}";
sha256 = "sha256-30gmNo68cDGmGjS75KySyORC6s1NBI925QuZyOv3Kag=";
};
nativeBuildInputs = [
cmake
];
doCheck = true;
meta = {
description = "Inversion of control container for C++11, C++14 and later";
homepage = "https://github.com/gracicot/kangaru";
maintainers = with lib.maintainers; [ l33tname ];
platforms = lib.platforms.all;
license = lib.licenses.mit;
};
})

View file

@ -6,14 +6,14 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "ldeep"; pname = "ldeep";
version = "1.0.72"; version = "1.0.73";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "franc-pentest"; owner = "franc-pentest";
repo = "ldeep"; repo = "ldeep";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-WfrQd0P1TegeIwxQVycgx2n+IxqnKLRF1wxzNnjHaEo="; hash = "sha256-rFcl7Zf8Q6eugcEL79xpKIvXuhDdI6iEyAPDtqGX6xw=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [

View file

@ -14,14 +14,14 @@
let buildToxAV = !stdenv.hostPlatform.isAarch32; let buildToxAV = !stdenv.hostPlatform.isAarch32;
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "libtoxcore"; pname = "libtoxcore";
version = "0.2.19"; version = "0.2.20";
src = src =
# We need the prepared sources tarball. # We need the prepared sources tarball.
fetchurl { fetchurl {
url = url =
"https://github.com/TokTok/c-toxcore/releases/download/v${version}/c-toxcore-${version}.tar.gz"; "https://github.com/TokTok/c-toxcore/releases/download/v${version}/c-toxcore-${version}.tar.gz";
hash = "sha256-i0GPZHDbCFz1mpkVaFYTVWVW3yv0JxSPGBS3sRhihZQ="; hash = "sha256-qciaja6nRdU+XXjnqsuZx7R5LEQApaaccSOPRdYWT0w=";
}; };
cmakeFlags = [ cmakeFlags = [

View file

@ -93,7 +93,7 @@ let
$out/lib/lightworks/ntcardvt $out/lib/lightworks/ntcardvt
wrapProgram $out/lib/lightworks/ntcardvt \ wrapProgram $out/lib/lightworks/ntcardvt \
--prefix LD_LIBRARY_PATH : ${fullPath}:$out/lib/lightworks \ --prefix LD_LIBRARY_PATH : $out/lib/lightworks:${fullPath} \
--set FONTCONFIG_FILE $out/lib/lightworks/fonts.conf --set FONTCONFIG_FILE $out/lib/lightworks/fonts.conf
cp -r usr/share $out/share cp -r usr/share $out/share

View file

@ -15,24 +15,24 @@
}: }:
let let
version = "7.0.14"; version = "8.0.3";
srcs = version: { srcs = version: {
"x86_64-linux" = { "x86_64-linux" = {
url = "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2204-${version}.tgz"; url = "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2204-${version}.tgz";
hash = "sha256-tM+MquEIeFE17Mi4atjtbfXW77hLm5WlDsui/CRs4IQ="; hash = "sha256-AFnfK6ADPMBndL3k068IfY4wyD8Aa0/UZhY2g+jS31M=";
}; };
"aarch64-linux" = { "aarch64-linux" = {
url = "https://fastdl.mongodb.org/linux/mongodb-linux-aarch64-ubuntu2204-${version}.tgz"; url = "https://fastdl.mongodb.org/linux/mongodb-linux-aarch64-ubuntu2204-${version}.tgz";
hash = "sha256-4XiHv6JKopZ/3xrXwT+nvQ2OsbkhL79uwBCnOOMaNlc="; hash = "sha256-7FGzHMdr8+1Bkx+3QFmDf/DGw5DxfDFEuzU6yICtOBo=";
}; };
"x86_64-darwin" = { "x86_64-darwin" = {
url = "https://fastdl.mongodb.org/osx/mongodb-macos-x86_64-${version}.tgz"; url = "https://fastdl.mongodb.org/osx/mongodb-macos-x86_64-${version}.tgz";
hash = "sha256-mw9w/qz3xBVC7n0JBeL4CQsJ1bhBPwyQeUBsCa/XosA="; hash = "sha256-GUIFG7F/KNyoPu9HGMs0UVw/HyK5T7jwTrSGY55/UUE=";
}; };
"aarch64-darwin" = { "aarch64-darwin" = {
url = "https://fastdl.mongodb.org/osx/mongodb-macos-arm64-${version}.tgz"; url = "https://fastdl.mongodb.org/osx/mongodb-macos-arm64-${version}.tgz";
hash = "sha256-iAX4szgBzQe5ARjCXlB7DeIcatQms3X75J6Jb/xXXQ4="; hash = "sha256-erTgU4XQ9Jh1ltPKbyyW6zf3hRHAcopGuHCRFw/AH5g=";
}; };
}; };
in in
@ -81,7 +81,7 @@ stdenv.mkDerivation (finalAttrs: {
text = text =
'' ''
# Get latest version string from Github # Get latest version string from Github
NEW_VERSION=$(curl -s "https://api.github.com/repos/mongodb/mongo/tags?per_page=1000" | jq -r 'first(.[] | .name | select(startswith("r7.0")) | select(contains("rc") | not) | .[1:])') NEW_VERSION=$(curl -s "https://api.github.com/repos/mongodb/mongo/tags?per_page=1000" | jq -r 'first(.[] | .name | select(startswith("r8.0")) | select(contains("rc") | not) | .[1:])')
# Check if the new version is available for download, if not, exit # Check if the new version is available for download, if not, exit
curl -s https://www.mongodb.com/try/download/community-edition/releases | pup 'h3:not([id]) text{}' | grep "$NEW_VERSION" curl -s https://www.mongodb.com/try/download/community-edition/releases | pup 'h3:not([id]) text{}' | grep "$NEW_VERSION"
@ -109,7 +109,7 @@ stdenv.mkDerivation (finalAttrs: {
}; };
meta = { meta = {
changelog = "https://www.mongodb.com/docs/upcoming/release-notes/7.0/"; changelog = "https://www.mongodb.com/docs/upcoming/release-notes/8.0/";
description = "MongoDB is a general purpose, document-based, distributed database."; description = "MongoDB is a general purpose, document-based, distributed database.";
homepage = "https://www.mongodb.com/"; homepage = "https://www.mongodb.com/";
license = with lib.licenses; [ sspl ]; license = with lib.licenses; [ sspl ];

View file

@ -33,13 +33,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "picom"; pname = "picom";
version = "12.3"; version = "12.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "yshui"; owner = "yshui";
repo = "picom"; repo = "picom";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-FwjMlHP8xNJikkPpz+8BORrqqKYvRpkqm9GbExCoLAU="; hash = "sha256-5kScnKUHck86fsYrraeV2O2r6fsVFllRMp4GeNT627A=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View file

@ -28,13 +28,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "planify"; pname = "planify";
version = "4.11.4"; version = "4.11.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alainm23"; owner = "alainm23";
repo = "planify"; repo = "planify";
rev = version; rev = version;
hash = "sha256-ADNMSXvfeAT53coAtCu3CVCU5XUFhLbvAH3WPFoKJVE="; hash = "sha256-tHn3677bfJgAZnOfDjBJ87DUzr+e9I2lnCke/cN4olE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -8,13 +8,13 @@ let config-module = "github.com/f1bonacc1/process-compose/src/config";
in in
buildGoModule rec { buildGoModule rec {
pname = "process-compose"; pname = "process-compose";
version = "1.34.0"; version = "1.40.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "F1bonacc1"; owner = "F1bonacc1";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Ymd3X6qvdYENbjb2F0ajjb1j0tuy835W6YWCeuvLoXc="; hash = "sha256-/A/5tdALlb1ultEPTj6+EztjGc7PT9O7VyWey/EyLbQ=";
# populate values that require us to use git. By doing this in postFetch we # populate values that require us to use git. By doing this in postFetch we
# can delete .git afterwards and maintain better reproducibility of the src. # can delete .git afterwards and maintain better reproducibility of the src.
leaveDotGit = true; leaveDotGit = true;
@ -43,7 +43,7 @@ buildGoModule rec {
installShellFiles installShellFiles
]; ];
vendorHash = "sha256-G4ar+9ARBwR77t/6NswUDXpUw38rYnLy9lIep302mNI="; vendorHash = "sha256-ekNISmU9TVi+YA2f3uJVyMsv8xkT8DmDUBw1ASqIfcY=";
doCheck = false; doCheck = false;

View file

@ -17,7 +17,7 @@
wayland-scanner, wayland-scanner,
}: }:
let let
version = "1.0_beta15"; version = "1.0_beta16";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "sfwbar"; pname = "sfwbar";
@ -27,7 +27,7 @@ stdenv.mkDerivation {
owner = "LBCrion"; owner = "LBCrion";
repo = "sfwbar"; repo = "sfwbar";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-nNtnHOM/ArbYx5ZGlnxgMB33YaGAOigxgW4SAywg66Q="; hash = "sha256-jMEbw3Xla2cod/oKFQ4bD3sTHi7DZ0deG0H0Yt0Y7ck=";
}; };
buildInputs = [ buildInputs = [

File diff suppressed because it is too large Load diff

View file

@ -12,13 +12,13 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "stirling-pdf"; pname = "stirling-pdf";
version = "0.29.0"; version = "0.30.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Stirling-Tools"; owner = "Stirling-Tools";
repo = "Stirling-PDF"; repo = "Stirling-PDF";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-pdk8TG+wtFjV3Opv42wovlZ0CNWl4jC/PSVYsDyH0Gw="; hash = "sha256-/458O/JJcBlHS66WRVLIUyv9dtuQSW2X3WUpzW1YuFk=";
}; };
patches = [ patches = [

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "talosctl"; pname = "talosctl";
version = "1.8.1"; version = "1.8.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "siderolabs"; owner = "siderolabs";
repo = "talos"; repo = "talos";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-6WHeiVH/vZHiM4bqq3T5lC0ARldJyZtIErPeDgrZgxc="; hash = "sha256-sD/Nn1ZLM6JIZdWQsBioKyhrAvhz749LL4xWleQ80xY=";
}; };
vendorHash = "sha256-aTtvVpL979BUvSBwBqRqCWSWIBBmmty9vBD97Q5P4+E="; vendorHash = "sha256-pWG8DbZ9N57p2Q9w/IzETcvwaSfzaUvJgcz7Th/Oi9c=";
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "vitess"; pname = "vitess";
version = "20.0.2"; version = "21.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vitessio"; owner = "vitessio";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-I+pz8bz/H1mg7cQnPiJZxYr1gyzajMLVqg8yHbBXYLc="; hash = "sha256-F+iL1mvGH2B6Bp+wHpsoqJb3FcFdtaGZd6liVx1+A3g=";
}; };
vendorHash = "sha256-ZDPDL7vJoPv5pIS5xhHAgLiZsiF2B85KNnqGQJPk1SQ="; vendorHash = "sha256-ash8IzT3mw7cpbkX/TU+lnIS7pSjaiFXuLbloZhuCBg=";
buildInputs = [ sqlite ]; buildInputs = [ sqlite ];

View file

@ -16,13 +16,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "yaru"; pname = "yaru";
version = "24.04.3"; version = "24.10.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ubuntu"; owner = "ubuntu";
repo = "yaru"; repo = "yaru";
rev = version; rev = version;
hash = "sha256-Z0qW3hW5Sije5Hn6OB9f5M6xnmMmRnP76p0kjiQZznw="; hash = "sha256-ioBni/prc2HzrXd6zBgZQQsfQDWxlfWOphtY0o/8uM0=";
}; };
nativeBuildInputs = [ meson sassc pkg-config glib ninja python3 ]; nativeBuildInputs = [ meson sassc pkg-config glib ninja python3 ];

View file

@ -6,7 +6,7 @@
# assert !stdenv.hostPlatform.isLinux || stdenv.hostPlatform != stdenv.buildPlatform; # TODO: improve on cross # assert !stdenv.hostPlatform.isLinux || stdenv.hostPlatform != stdenv.buildPlatform; # TODO: improve on cross
stdenv.mkDerivation rec { stdenv.mkDerivation (rec {
pname = "libiconv"; pname = "libiconv";
version = "1.17"; version = "1.17";
@ -87,4 +87,7 @@ stdenv.mkDerivation rec {
# This library is not needed on GNU platforms. # This library is not needed on GNU platforms.
hydraPlatforms = with lib.platforms; cygwin ++ darwin ++ freebsd; hydraPlatforms = with lib.platforms; cygwin ++ darwin ++ freebsd;
}; };
} } // lib.optionalAttrs (stdenv.hostPlatform.libc == "bionic") {
# https://github.com/NixOS/nixpkgs/pull/192630#discussion_r978985593
hardeningDisable = [ "fortify" ];
})

View file

@ -1,14 +1,17 @@
{ lib, buildDunePackage, fetchFromGitHub, ocaml, ppxlib, ounit { lib, buildDunePackage, fetchFromGitHub, ocaml, ppxlib, ounit, ounit2
, ppx_deriving, yojson , ppx_deriving, result, yojson
}: }:
let param = let param =
if lib.versionAtLeast ppxlib.version "0.26" then { if lib.versionAtLeast ppxlib.version "0.30" then {
version = "3.7.0"; version = "3.9.0";
sha256 = "sha256-niKxn1fX0mL1MhlZvbN1wgRed9AHh+z9s6l++k1VX9k="; sha256 = "sha256-0d6YcBkeFoHXffCYjLIIvruw8B9ZB6NbUijhTv9uyN8=";
checkInputs = [ ounit2 ];
} else { } else {
version = "3.6.1"; version = "3.6.1";
sha256 = "1icz5h6p3pfj7my5gi7wxpflrb8c902dqa17f9w424njilnpyrbk"; sha256 = "1icz5h6p3pfj7my5gi7wxpflrb8c902dqa17f9w424njilnpyrbk";
checkInputs = [ ounit ];
propagatedBuildInputs = [ result ];
} }
; in ; in
@ -25,10 +28,11 @@ buildDunePackage rec {
inherit (param) sha256; inherit (param) sha256;
}; };
propagatedBuildInputs = [ ppxlib ppx_deriving yojson ]; propagatedBuildInputs = [ ppxlib ppx_deriving yojson ]
++ param.propagatedBuildInputs or [];
doCheck = lib.versionAtLeast ocaml.version "4.08"; doCheck = lib.versionAtLeast ocaml.version "4.08";
checkInputs = [ ounit ]; inherit (param) checkInputs;
meta = { meta = {
description = "Yojson codec generator for OCaml >= 4.04"; description = "Yojson codec generator for OCaml >= 4.04";

View file

@ -14,7 +14,7 @@ buildPythonPackage rec {
version = "3.1.0"; version = "3.1.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "home-assistant-libs"; owner = "home-assistant-libs";
@ -25,12 +25,12 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace-fail "--cov" "" --replace-fail 'version = "0.0.0"' 'version = "${version}"'
''; '';
nativeBuildInputs = [ setuptools ]; build-system = [ setuptools ];
propagatedBuildInputs = [ dependencies = [
aiohttp aiohttp
async-timeout async-timeout
pillow pillow
@ -45,7 +45,7 @@ buildPythonPackage rec {
description = "Module to control Squeezebox players"; description = "Module to control Squeezebox players";
homepage = "https://github.com/home-assistant-libs/aioslimproto"; homepage = "https://github.com/home-assistant-libs/aioslimproto";
changelog = "https://github.com/home-assistant-libs/aioslimproto/releases/tag/${version}"; changelog = "https://github.com/home-assistant-libs/aioslimproto/releases/tag/${version}";
license = with licenses; [ asl20 ]; license = licenses.asl20;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };
} }

View file

@ -0,0 +1,101 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
django,
pythonOlder,
setuptools,
django-classy-tags,
django-formtools,
django-treebeard,
django-sekizai,
djangocms-admin-style,
python,
dj-database-url,
djangocms-text-ckeditor,
fetchpatch,
django-cms,
gettext,
iptools,
}:
buildPythonPackage rec {
pname = "django-cms";
version = "4.1.3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "django-cms";
repo = "django-cms";
rev = "refs/tags/${version}";
hash = "sha256-ucGxc6f2UYdmSLuyxVV2nIcl35qoeQMlk1paN6XeBFY=";
};
patches = [
# Removed django-app-manage dependency by updating ./manage.py
# https://github.com/django-cms/django-cms/pull/8061
(fetchpatch {
url = "https://github.com/django-cms/django-cms/commit/3270edb72f6a736b5cb448864ce2eaf68f061740.patch";
hash = "sha256-DkgAfE/QGAXwKMNvgcYxtO0yAc7oAaAAui2My8ml1Vk=";
name = "remove_django_app_manage_dependency.patch";
})
(fetchpatch {
url = "https://github.com/django-cms/django-cms/pull/8061/commits/04005ff693e775db645c62fefbb62367822e66f9.patch";
hash = "sha256-4M/VKEv7pnqCk6fDyA6FurSCCu/k9tNnz16wT4Tr0Rw=";
name = "manage_py_update_dj_database_url.patch";
})
];
build-system = [ setuptools ];
dependencies = [
django
django-classy-tags
django-formtools
django-treebeard
django-sekizai
djangocms-admin-style
];
nativeCheckInputs = [ gettext ];
checkInputs = [
dj-database-url
djangocms-text-ckeditor
iptools
];
preCheck = ''
# Disable ruff formatter test
rm cms/tests/test_static_analysis.py
'';
checkPhase = ''
runHook preCheck
${python.interpreter} manage.py test
runHook postCheck
'';
# Tests depend on djangocms-text-ckeditor and djangocms-admin-style,
# which depends on this package.
# To avoid infinite recursion, we only enable tests when building passthru.tests.
doCheck = false;
passthru.tests = {
runTests = django-cms.overridePythonAttrs (_: {
doCheck = true;
});
};
pythonImportCheck = [ "cms" ];
meta = {
description = "Lean enterprise content management powered by Django";
homepage = "https://django-cms.org";
changelog = "https://github.com/django-cms/django-cms/releases/tag/${version}";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.onny ];
};
}

View file

@ -0,0 +1,73 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
django,
pythonOlder,
pytestCheckHook,
setuptools,
pytest-django,
django-cms,
djangocms-admin-style,
}:
buildPythonPackage rec {
pname = "djangocms-admin-style";
version = "3.3.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "django-cms";
repo = "djangocms-admin-style";
rev = "refs/tags/${version}";
hash = "sha256-cDbmC7IJTT3NuVXBnbUVqC7dUfusMdntDGu2tSvxIdQ=";
};
build-system = [ setuptools ];
dependencies = [ django ];
nativeCheckInputs = [
pytestCheckHook
pytest-django
];
checkInputs = [ django-cms ];
preCheck = ''
export DJANGO_SETTINGS_MODULE="tests.settings"
'';
disabledTests = [
# django.template.exceptions.TemplateDoesNotExist: admin/inc/cms_upgrade_notification.html
"test_render_update_notification"
# AssertionError: 'my site' != 'example.com'
"test_current_site_name"
# django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured
"test_render_update_notification"
"test_current_site_name"
"test_for_missing_migrations"
];
# Tests depend on django-cms which depends on this package.
# To avoid infinite recursion, we only enable tests when building passthru.tests.
doCheck = false;
passthru.tests = {
runTests = djangocms-admin-style.overridePythonAttrs (_: {
doCheck = true;
});
};
pythonImportCheck = [ "djangocms_admin_style" ];
meta = {
description = "Django Theme tailored to the needs of django CMS";
homepage = "https://django-cms.org";
changelog = "https://github.com/django-cms/djangocms-admin-style/releases/tag/${version}";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.onny ];
};
}

View file

@ -0,0 +1,56 @@
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
pytestCheckHook,
setuptools,
html5lib,
pillow,
django-cms,
pytest-django,
}:
buildPythonPackage rec {
pname = "djangocms-text-ckeditor";
version = "5.1.6";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit version;
pname = "djangocms_text_ckeditor";
hash = "sha256-ow2S4FJkO037QUkAf3FheVl2O4BaLw1PSSCVRBhlRX0=";
};
build-system = [ setuptools ];
dependencies = [
django-cms
html5lib
pillow
];
nativeCheckInputs = [
pytestCheckHook
pytest-django
];
preCheck = ''
export DJANGO_SETTINGS_MODULE="tests.settings"
'';
# Tests require module "djangocms-helper" which is not yet packaged
doCheck = false;
pythonImportCheck = [ "djangocms_text_ckeditor" ];
meta = {
description = "Text Plugin for django CMS using CKEditor 4";
homepage = "https://github.com/django-cms/djangocms-text-ckeditor";
changelog = "https://github.com/django-cms/djangocms-text-ckeditor/blob/${version}/CHANGELOG.rst";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.onny ];
};
}

View file

@ -70,14 +70,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mlflow"; pname = "mlflow";
version = "2.16.2"; version = "2.17.2";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mlflow"; owner = "mlflow";
repo = "mlflow"; repo = "mlflow";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-7W1gpVgJSN/iXoW987eCHfcOeE3D/ZJ2W/eilDdzOww="; hash = "sha256-s3t6RAJh129d5XJKtMNxS0wgGO4mKbAfMCXDBXEKBxM=";
}; };
# Remove currently broken dependency `shap`, a model explainability package. # Remove currently broken dependency `shap`, a model explainability package.

View file

@ -1,13 +1,11 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
click,
colorful, colorful,
docopt, docopt,
fetchFromGitHub, fetchFromGitHub,
freezegun, freezegun,
humanize, humanize,
lark,
lxml, lxml,
parse-type, parse-type,
pysingleton, pysingleton,
@ -23,7 +21,7 @@ buildPythonPackage rec {
version = "0.17.1"; version = "0.17.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
@ -33,14 +31,13 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
click
colorful colorful
docopt docopt
humanize humanize
lark
lxml lxml
parse-type parse-type
pysingleton pysingleton
pyyaml
tag-expressions tag-expressions
]; ];
@ -48,18 +45,18 @@ buildPythonPackage rec {
freezegun freezegun
pytest-mock pytest-mock
pytestCheckHook pytestCheckHook
pyyaml
]; ];
pythonImportsCheck = [ "radish" ]; pythonImportsCheck = [ "radish" ];
disabledTests = [ "test_main_cli_calls" ];
meta = with lib; { meta = with lib; {
description = "Behaviour-Driven-Development tool for python"; description = "Behaviour-Driven-Development tool for python";
homepage = "https://radish-bdd.github.io/"; homepage = "https://radish-bdd.github.io/";
changelog = "https://github.com/radish-bdd/radish/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/radish-bdd/radish/blob/v${version}/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ kalbasit ]; maintainers = with maintainers; [
kalbasit
l33tname
];
}; };
} }

View file

@ -3,36 +3,31 @@
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
future, future,
poetry-core,
poetry-dynamic-versioning,
pyjwt, pyjwt,
pythonOlder, pythonOlder,
requests,
requests-toolbelt, requests-toolbelt,
setuptools, requests,
versioneer,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "webexteamssdk"; pname = "webexteamssdk";
version = "1.6.1"; version = "2.0.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CiscoDevNet"; owner = "CiscoDevNet";
repo = "webexteamssdk"; repo = "webexteamssdk";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-xlkmXl4tVm48drXmkUijv9GNXzJcDnfSKbOMciPIRRo="; hash = "sha256-ENAUUicVO/Br7k+RFHCGzQ7BIG0CP7jTYM3tzs5EAZQ=";
}; };
postPatch = ''
# Remove vendorized versioneer
rm versioneer.py
'';
build-system = [ build-system = [
setuptools poetry-core
versioneer poetry-dynamic-versioning
]; ];
dependencies = [ dependencies = [
@ -45,13 +40,13 @@ buildPythonPackage rec {
# Tests require a Webex Teams test domain # Tests require a Webex Teams test domain
doCheck = false; doCheck = false;
pythonImportsCheck = [ "webexteamssdk" ]; pythonImportsCheck = [ "webexpythonsdk" ];
meta = with lib; { meta = with lib; {
description = "Python module for Webex Teams APIs"; description = "Python module for Webex Teams APIs";
homepage = "https://github.com/CiscoDevNet/webexteamssdk"; homepage = "https://github.com/CiscoDevNet/webexteamssdk";
changelog = "https://github.com/WebexCommunity/WebexPythonSDK/releases/tag/v${version}"; changelog = "https://github.com/WebexCommunity/WebexPythonSDK/releases/tag/v${version}";
license = with licenses; [ mit ]; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };
} }

View file

@ -2,13 +2,14 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
cheroot, cheroot,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
defusedxml, defusedxml,
fetchFromGitHub,
jinja2, jinja2,
json5, json5,
lxml,
pytestCheckHook,
python-pam, python-pam,
pythonOlder,
pyyaml, pyyaml,
requests, requests,
setuptools, setuptools,
@ -37,12 +38,16 @@ buildPythonPackage rec {
defusedxml defusedxml
jinja2 jinja2
json5 json5
python-pam cheroot
lxml
pyyaml pyyaml
]; ];
optional-dependencies = {
pam = [ python-pam ];
};
nativeCheckInputs = [ nativeCheckInputs = [
cheroot
pytestCheckHook pytestCheckHook
requests requests
webtest webtest

View file

@ -6,14 +6,14 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "checkov"; pname = "checkov";
version = "3.2.283"; version = "3.2.286";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bridgecrewio"; owner = "bridgecrewio";
repo = "checkov"; repo = "checkov";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-9izC3O5e6GY/4OLkFLnUOoiFSnxdaS22qPSD3uYXSOE="; hash = "sha256-HW1maTuRqieOzvdpMAxs4h5SpTZ3FyKGmmDof0UItOE=";
}; };
patches = [ ./flake8-compat-5.x.patch ]; patches = [ ./flake8-compat-5.x.patch ];

View file

@ -6,11 +6,11 @@ else
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dune"; pname = "dune";
version = "3.16.0"; version = "3.16.1";
src = fetchurl { src = fetchurl {
url = "https://github.com/ocaml/dune/releases/download/${version}/dune-${version}.tbz"; url = "https://github.com/ocaml/dune/releases/download/${version}/dune-${version}.tbz";
hash = "sha256-VIHd55GMoxIeAsNNdDOfc0sy1Yg++4wbgFZHHnT5vaY="; hash = "sha256-t4GuIPh2E8KhG9BxeAngBHDILWFeFSZPmmTgMwUaw94=";
}; };
nativeBuildInputs = [ ocaml findlib ]; nativeBuildInputs = [ ocaml findlib ];

View file

@ -5,18 +5,18 @@
buildNpmPackage rec { buildNpmPackage rec {
pname = "universal-remote-card"; pname = "universal-remote-card";
version = "4.1.3"; version = "4.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Nerwyn"; owner = "Nerwyn";
repo = "android-tv-card"; repo = "android-tv-card";
rev = version; rev = version;
hash = "sha256-/O+VOrUKhljhrvQ3WiygtZmdf0HTRFaeeU7bP35U3go="; hash = "sha256-f0t9tSAkCYfJ4y6IMcQu4TfCkBjnSr2x7aZTcgr2klw=";
}; };
patches = [ ./dont-call-git.patch ]; patches = [ ./dont-call-git.patch ];
npmDepsHash = "sha256-J0aE1wY7VAi8qSzjUyubsSagCsalqrHox2HHAhZoUIE="; npmDepsHash = "sha256-/+MF+9QWiqJi787k3ta7wN8fhElUxVlZY5SLWxy3VTk=";
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall

View file

@ -11,19 +11,24 @@
}; };
backtracer = { backtracer = {
url = "https://github.com/sija/backtracer.cr.git"; url = "https://github.com/sija/backtracer.cr.git";
rev = "v1.2.1"; rev = "v1.2.2";
sha256 = "02r1l7rn2wsljkx495s5s7j04zgn73m2kx0hkzs7620camvlwbqq"; sha256 = "1rknyylsi14m7i77x7c3138wdw27i4f6sd78m3srw851p47bwr20";
}; };
db = { db = {
url = "https://github.com/crystal-lang/crystal-db.git"; url = "https://github.com/crystal-lang/crystal-db.git";
rev = "v0.10.1"; rev = "v0.13.1";
sha256 = "03c5h14z6h2mxnx949lihnyqjd19hcj38iasdwq9fp95h8cld376"; sha256 = "02b79bdv5h460ay0vkpwi5q69b1qrm9z29z02p09xb03hijxskpd";
}; };
exception_page = { exception_page = {
url = "https://github.com/crystal-loot/exception_page.git"; url = "https://github.com/crystal-loot/exception_page.git";
rev = "v0.2.2"; rev = "v0.2.2";
sha256 = "1c8askb9b7621jjz5pjj6b8pdbhw3r1l3dym6swg1saspf5j3jwi"; sha256 = "1c8askb9b7621jjz5pjj6b8pdbhw3r1l3dym6swg1saspf5j3jwi";
}; };
http_proxy = {
url = "https://github.com/mamantoha/http_proxy.git";
rev = "v0.10.3";
sha256 = "1hgghjy611m9bbmq8drvzs30mymkq2s4d18lp19543qls58h80vs";
};
kemal = { kemal = {
url = "https://github.com/kemalcr/kemal.git"; url = "https://github.com/kemalcr/kemal.git";
rev = "v1.1.2"; rev = "v1.1.2";
@ -36,8 +41,8 @@
}; };
pg = { pg = {
url = "https://github.com/will/crystal-pg.git"; url = "https://github.com/will/crystal-pg.git";
rev = "v0.24.0"; rev = "v0.28.0";
sha256 = "07i5bqkv5j6y6f8v5cpqdxc5wzzrvgv3ds24znv4mzv6nc84csn4"; sha256 = "0g1kdpnz7sr7hpama0y3s70v5xjhi7jm2ypb1w503cfvr30qffpm";
}; };
protodec = { protodec = {
url = "https://github.com/iv-org/protodec.git"; url = "https://github.com/iv-org/protodec.git";
@ -51,12 +56,12 @@
}; };
spectator = { spectator = {
url = "https://github.com/icy-arctic-fox/spectator.git"; url = "https://github.com/icy-arctic-fox/spectator.git";
rev = "v0.10.4"; rev = "v0.10.6";
sha256 = "0rcxq2nbslvwrd8m9ajw6dzaw3hagxmkdy9s8p34cgnr4c9dijdq"; sha256 = "0w6mv1q44is2m19pyspkyiwm84h55nchsm4pp82gdbb0j9ylhckx";
}; };
sqlite3 = { sqlite3 = {
url = "https://github.com/crystal-lang/crystal-sqlite3.git"; url = "https://github.com/crystal-lang/crystal-sqlite3.git";
rev = "v0.18.0"; rev = "v0.21.0";
sha256 = "03nnvpchhq9f9ywsm3pk2rrj4a3figw7xs96zdziwgr5znkz6x93"; sha256 = "1mhg59l6qgmf14zjrais0jfn1h5jj9j32fy7fb0gkp9zhpa7x6vs";
}; };
} }

View file

@ -1,9 +1,9 @@
{ {
"invidious": { "invidious": {
"hash": "sha256-oNkEFATRVgPC8Bhp0v04an3LvqgsSEjLZdeblb7n8TI=", "hash": "sha256-O5Uv5Qat7Is/0gk0HVi8Hr2UPMLXQw7AwYnjOFaaTP8=",
"version": "2.20240825.2", "version": "2.20241110.0",
"date": "2024.08.26", "date": "2024.11.10",
"commit": "4782a670" "commit": "5d2dd40b"
}, },
"videojs": { "videojs": {
"hash": "sha256-jED3zsDkPN8i6GhBBJwnsHujbuwlHdsVpVqa1/pzSH4=" "hash": "sha256-jED3zsDkPN8i6GhBBJwnsHujbuwlHdsVpVqa1/pzSH4="

View file

@ -2,20 +2,20 @@
# $ ./refresh-tarballs.bash --targets=x86_64-unknown-freebsd # $ ./refresh-tarballs.bash --targets=x86_64-unknown-freebsd
# #
# Metadata: # Metadata:
# - nixpkgs revision: 6414ef7ca3bf18ec4f9628d09ccc1eb030276ee2 # - nixpkgs revision: b92edf1104c47016385e85c87c2d953cf5cd2f98
# - hydra build: https://hydra.nixos.org/job/nixpkgs/cross-trunk/bootstrapTools.x86_64-unknown-freebsd.build/latest # - hydra build: https://hydra.nixos.org/job/nixpkgs/cross-trunk/bootstrapTools.x86_64-unknown-freebsd.build/latest
# - resolved hydra build: https://hydra.nixos.org/build/271214352 # - resolved hydra build: https://hydra.nixos.org/build/276943819
# - instantiated derivation: /nix/store/aahbgs95ani3bd70vxb8kwrvbms0d6ii-build.drv # - instantiated derivation: /nix/store/npq4w33g3a2gcgh1q535gj4ixd1g5ksl-build.drv
# - output directory: /nix/store/ikzxl9ws9yxrl8g8z2kcjwqlq5gfjbhx-build # - output directory: /nix/store/yy36y5s9i4wl768imwfn112sb7w3pyk8-build
# - build time: Sat, 31 Aug 2024 17:18:35 +0000 # - build time: Thu, 31 Oct 2024 20:57:22 +0000
{ {
bootstrapTools = import <nix/fetchurl.nix> { bootstrapTools = import <nix/fetchurl.nix> {
url = "http://tarballs.nixos.org/stdenv/x86_64-unknown-freebsd/6414ef7ca3bf18ec4f9628d09ccc1eb030276ee2/bootstrap-tools.tar.xz"; url = "http://tarballs.nixos.org/stdenv/x86_64-unknown-freebsd/b92edf1104c47016385e85c87c2d953cf5cd2f98/bootstrap-tools.tar.xz";
hash = "sha256-f7Fqxtpj7/0Sbs+kUgMs7oJ0JmPuh3bqD2YzOBTw2fc="; hash = "sha256-oHLddpWWwe/ixYuf3hQfmGrGuixF3+G8HCm+B7g3CzY=";
}; };
unpack = import <nix/fetchurl.nix> { unpack = import <nix/fetchurl.nix> {
url = "http://tarballs.nixos.org/stdenv/x86_64-unknown-freebsd/6414ef7ca3bf18ec4f9628d09ccc1eb030276ee2/unpack.nar.xz"; url = "http://tarballs.nixos.org/stdenv/x86_64-unknown-freebsd/b92edf1104c47016385e85c87c2d953cf5cd2f98/unpack.nar.xz";
hash = "sha256-3NTRtonoc3ZqnEF3hr1mUPH/aw+04OlwVxGhZmjXlMM="; hash = "sha256-aR3lz35Y3ppJBG0/WAT8avsUeDgNMejhGf9LRxTiScI=";
name = "unpack"; name = "unpack";
unpack = true; unpack = true;
}; };

View file

@ -28,12 +28,12 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "gaphor"; pname = "gaphor";
version = "2.26.0"; version = "2.27.0";
pyproject = true; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-e0K5bfgPqlJh8qrAz40c/w3ANzkfa/6txuqzQDJYXfE="; hash = "sha256-MsbEeOop6Osq2Hn6CkorsXt8/bTY//QHW/uCl0FEUN4=";
}; };
pythonRelaxDeps = [ "defusedxml" ]; pythonRelaxDeps = [ "defusedxml" ];

View file

@ -1,4 +1,4 @@
# frozen_string_literal: true # frozen_string_literal: true
source "https://rubygems.org" source "https://rubygems.org"
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.4.34" gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.4.35"

View file

@ -1,9 +1,9 @@
GIT GIT
remote: https://github.com/rapid7/metasploit-framework remote: https://github.com/rapid7/metasploit-framework
revision: e9286ec3faffa15e12ef3e267da335cd4afdfaea revision: 5c56ef7e53090ba4a2a019269e2a632edbbe1692
ref: refs/tags/6.4.34 ref: refs/tags/6.4.35
specs: specs:
metasploit-framework (6.4.34) metasploit-framework (6.4.35)
aarch64 aarch64
abbrev abbrev
actionpack (~> 7.0.0) actionpack (~> 7.0.0)

View file

@ -15,13 +15,13 @@ let
}; };
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "metasploit-framework"; pname = "metasploit-framework";
version = "6.4.34"; version = "6.4.35";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rapid7"; owner = "rapid7";
repo = "metasploit-framework"; repo = "metasploit-framework";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-2ZYyvASTh1vqBolUCyp8lNLgTPv0tFd7+qZe3KpkDhk="; hash = "sha256-oAz/74dt/Wcm4FX/kvJ0v3vz5ugp0Muu0Tx+w10cVz4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -734,12 +734,12 @@
platforms = []; platforms = [];
source = { source = {
fetchSubmodules = false; fetchSubmodules = false;
rev = "e9286ec3faffa15e12ef3e267da335cd4afdfaea"; rev = "5c56ef7e53090ba4a2a019269e2a632edbbe1692";
sha256 = "068fcjmdqpm6z9xmgd7lzd6f1lllghm0nm490vm5p1wk0jy355nr"; sha256 = "0gjp3ifw6ziws6pcpl19x3kg6yxzfkr95zsmw0k6gzbdhzpzy350";
type = "git"; type = "git";
url = "https://github.com/rapid7/metasploit-framework"; url = "https://github.com/rapid7/metasploit-framework";
}; };
version = "6.4.34"; version = "6.4.35";
}; };
metasploit-model = { metasploit-model = {
groups = ["default"]; groups = ["default"];

View file

@ -1616,6 +1616,7 @@ with pkgs;
kitty = darwin.apple_sdk_11_0.callPackage ../applications/terminal-emulators/kitty { kitty = darwin.apple_sdk_11_0.callPackage ../applications/terminal-emulators/kitty {
harfbuzz = harfbuzz.override { withCoreText = stdenv.hostPlatform.isDarwin; }; harfbuzz = harfbuzz.override { withCoreText = stdenv.hostPlatform.isDarwin; };
inherit (darwin) autoSignDarwinBinariesHook;
inherit (darwin.apple_sdk_11_0) Libsystem; inherit (darwin.apple_sdk_11_0) Libsystem;
inherit (darwin.apple_sdk_11_0.frameworks) inherit (darwin.apple_sdk_11_0.frameworks)
Cocoa Cocoa
@ -10514,9 +10515,7 @@ with pkgs;
inherit (darwin.apple_sdk_11_0.frameworks) AppKit Cocoa Carbon CoreAudio CoreMIDI CoreServices Kernel; inherit (darwin.apple_sdk_11_0.frameworks) AppKit Cocoa Carbon CoreAudio CoreMIDI CoreServices Kernel;
}; };
mkvtoolnix = qt6Packages.callPackage ../applications/video/mkvtoolnix { mkvtoolnix = qt6Packages.callPackage ../applications/video/mkvtoolnix { };
stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv;
};
mkvtoolnix-cli = mkvtoolnix.override { mkvtoolnix-cli = mkvtoolnix.override {
withGUI = false; withGUI = false;

View file

@ -3319,6 +3319,10 @@ self: super: with self; {
# Pre-release # Pre-release
django_5 = callPackage ../development/python-modules/django/5.nix { }; django_5 = callPackage ../development/python-modules/django/5.nix { };
djangocms-admin-style = callPackage ../development/python-modules/djangocms-admin-style { };
djangocms-text-ckeditor = callPackage ../development/python-modules/djangocms-text-ckeditor { };
django-admin-datta = callPackage ../development/python-modules/django-admin-datta { }; django-admin-datta = callPackage ../development/python-modules/django-admin-datta { };
django-admin-sortable2 = callPackage ../development/python-modules/django-admin-sortable2 { }; django-admin-sortable2 = callPackage ../development/python-modules/django-admin-sortable2 { };
@ -3369,6 +3373,8 @@ self: super: with self; {
django-cleanup = callPackage ../development/python-modules/django-cleanup { }; django-cleanup = callPackage ../development/python-modules/django-cleanup { };
django-cms = callPackage ../development/python-modules/django-cms { };
django-colorful = callPackage ../development/python-modules/django-colorful { }; django-colorful = callPackage ../development/python-modules/django-colorful { };
django-compressor = callPackage ../development/python-modules/django-compressor { }; django-compressor = callPackage ../development/python-modules/django-compressor { };