mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
Compare commits
53 Commits
nixos-unst
...
staging-ni
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
091d5fc06b | ||
|
|
c57117faef | ||
|
|
e8c0d649a5 | ||
|
|
1066fedd30 | ||
|
|
c965f5525c | ||
|
|
83e5095e6b | ||
|
|
f69412f1cc | ||
|
|
407aa2d6c5 | ||
|
|
b30e3709d1 | ||
|
|
9a482e761e | ||
|
|
c0044a483e | ||
|
|
7ff81dad9a | ||
|
|
f2fa18da9a | ||
|
|
583489bcd0 | ||
|
|
c2d26cbea9 | ||
|
|
2cc2d0808c | ||
|
|
37a83d4d48 | ||
|
|
84ab7e9d0f | ||
|
|
e628a048f7 | ||
|
|
5927ab128c | ||
|
|
ca1a290679 | ||
|
|
1c0905fe7e | ||
|
|
f7ba30f69e | ||
|
|
2f43b0f6db | ||
|
|
221c593542 | ||
|
|
66ee2b9f08 | ||
|
|
9dd5455aee | ||
|
|
136d2fb64f | ||
|
|
4782832e92 | ||
|
|
bca2e78b85 | ||
|
|
f717011072 | ||
|
|
fc7c386fc9 | ||
|
|
fd77f7fc7d | ||
|
|
4731ec200a | ||
|
|
cb8fa39c1d | ||
|
|
70b23811cd | ||
|
|
5646e24be6 | ||
|
|
fc4bc79dcb | ||
|
|
f322c396a7 | ||
|
|
14a94467e4 | ||
|
|
636eb966e3 | ||
|
|
3018f55da9 | ||
|
|
542b4d7055 | ||
|
|
b6239b6591 | ||
|
|
fb2c06dd43 | ||
|
|
5895f7512c | ||
|
|
60d60de3de | ||
|
|
56f89898da | ||
|
|
3d32e0705a | ||
|
|
0dd411dc05 | ||
|
|
ac514adcff | ||
|
|
aaba92e0cc | ||
|
|
821c3b4aaf |
@@ -68,7 +68,7 @@ The recommended way of defining a derivation for a Rocq library, is to use the `
|
||||
* `overrideBuildInputs` (optional) replaces the default list of derivation to which `buildInputs` and `extraBuildInputs` adds extras elements,
|
||||
* `propagatedBuildInputs` (optional) is passed as is to `mkDerivation`, we recommend to use this for Rocq libraries and Rocq plugin dependencies, as this makes sure the paths of the compiled libraries and plugins will always be added to the build environments of subsequent derivation, which is necessary for Rocq packages to work correctly,
|
||||
* `mlPlugin` (optional, defaults to `false`). Some extensions (plugins) might require OCaml and sometimes other OCaml packages. Standard dependencies can be added by setting the current option to `true`. For a finer grain control, the `rocq-core.ocamlPackages` attribute can be used in `nativeBuildInputs`, `buildInputs`, and `propagatedBuildInputs` to depend on the same package set Rocq was built against.
|
||||
* `useDuneifVersion` (optional, default to `(x: false)` uses Dune to build the package if the provided predicate evaluates to true on the version, e.g. `useDuneifVersion = versions.isGe "1.1"` will use dune if the version of the package is greater or equal to `"1.1"`,
|
||||
* `useDuneifVersion` (optional, default to `(x: false)`) uses Dune to build the package if the provided predicate evaluates to true on the version, e.g. `useDuneifVersion = versions.isGe "1.1"` will use dune if the version of the package is greater or equal to `"1.1"`,
|
||||
* `useDune` (optional, defaults to `false`) uses Dune to build the package if set to true, the presence of this attribute overrides the behavior of the previous one.
|
||||
* `opam-name` (optional, defaults to concatenating with a dash separator the components of `namePrefix` and `pname`), name of the Dune package to build.
|
||||
* `enableParallelBuilding` (optional, defaults to `true`), since it is activated by default, we provide a way to disable it.
|
||||
|
||||
@@ -155,4 +155,4 @@
|
||||
- If [`system.stateVersion`](#opt-system.stateVersion) is >=25.11, `pkgs.nextcloud32` will be installed by default.
|
||||
- Please note that Nextcloud prohibits skipping major versions while upgrading. You can upgrade to specific versions by declaring `services.nextcloud.package = pkgs.nextcloud33;`.
|
||||
|
||||
- `trilium-desktop` and `trilium-server` have been updated to 0.104.0. This release includes security hardening fixes that may break functionality. [See upstream release note for details](https://github.com/TriliumNext/Trilium/releases/tag/v0.104.0).
|
||||
- `trilium-desktop` and `trilium-server` have been updated to 0.104.0. This release includes security hardening fixes that may break functionality. [See upstream release note for details](https://github.com/TriliumNext/Trilium/releases/tag/v0.104.0).
|
||||
|
||||
@@ -89,6 +89,11 @@ def main() -> None:
|
||||
type=Path,
|
||||
required=True,
|
||||
)
|
||||
arg_parser.add_argument(
|
||||
"--test-script",
|
||||
help="path to a test script to run, taking precedence over the one defined in the config file",
|
||||
type=Path,
|
||||
)
|
||||
arg_parser.add_argument(
|
||||
"--keep-vm-state",
|
||||
help=argparse.SUPPRESS,
|
||||
@@ -163,8 +168,12 @@ def main() -> None:
|
||||
if args.debug_hook_attach is not None:
|
||||
debugger = Debug(logger, args.debug_hook_attach)
|
||||
|
||||
config = load_driver_configuration(args.config)
|
||||
if args.test_script is not None:
|
||||
config.test_script = args.test_script
|
||||
|
||||
with Driver(
|
||||
config=load_driver_configuration(args.config),
|
||||
config=config,
|
||||
out_dir=output_directory,
|
||||
logger=logger,
|
||||
keep_machine_state=args.keep_machine_state,
|
||||
|
||||
@@ -1422,7 +1422,6 @@ let
|
||||
modulePath = config.security.pam.pam_unixModulePath;
|
||||
settings = {
|
||||
nullok = true;
|
||||
yescrypt = lib.mkIf config.security.pam.enableLegacySettings true;
|
||||
};
|
||||
}
|
||||
{
|
||||
|
||||
@@ -577,7 +577,6 @@ in
|
||||
control = "requisite";
|
||||
modulePath = "${config.security.pam.package}/lib/security/pam_unix.so";
|
||||
settings.nullok = true;
|
||||
settings.yescrypt = true;
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@@ -456,7 +456,6 @@ in
|
||||
control = "requisite";
|
||||
modulePath = "${config.security.pam.package}/lib/security/pam_unix.so";
|
||||
settings.nullok = true;
|
||||
settings.yescrypt = true;
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
with subtest("create user"):
|
||||
machine.succeed("useradd -m alice")
|
||||
machine.succeed("(echo foobar; echo foobar) | passwd alice")
|
||||
machine.succeed("grep -F 'alice:$y$' /etc/shadow")
|
||||
|
||||
with subtest("Check whether switching VTs works"):
|
||||
machine.fail("pgrep -f 'agetty.*tty2'")
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
with subtest("create user"):
|
||||
machine.succeed("useradd -m alice")
|
||||
machine.succeed("(echo foobar; echo foobar) | passwd alice")
|
||||
machine.succeed("grep -F 'alice:$y$' /etc/shadow")
|
||||
|
||||
with subtest("Check whether switching VTs works"):
|
||||
machine.fail("pgrep -f 'agetty.*tty2'")
|
||||
|
||||
@@ -12142,12 +12142,12 @@ final: prev: {
|
||||
|
||||
none-ls-extras-nvim = buildVimPlugin {
|
||||
pname = "none-ls-extras.nvim";
|
||||
version = "0-unstable-2026-06-06";
|
||||
version = "0-unstable-2026-07-17";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvimtools";
|
||||
repo = "none-ls-extras.nvim";
|
||||
rev = "27681d797a26f1b4d6119296df42f5204c88a2dc";
|
||||
hash = "sha256-GZLT8X1eLeSkiV5EN1nOkCQg5nwNATURi/KMj90i40I=";
|
||||
rev = "9a8b8a9aeb43382e5aaf49b00b7cfb5d42d32118";
|
||||
hash = "sha256-YmDhDUqSJPOllXzkyrVUgnshrI5+Kt5Te8tEmnjOAVQ=";
|
||||
};
|
||||
meta.homepage = "https://github.com/nvimtools/none-ls-extras.nvim/";
|
||||
meta.license = getLicenseFromSpdxId "Unlicense";
|
||||
|
||||
@@ -3602,7 +3602,6 @@ assertNoAdditions {
|
||||
snacks-nvim
|
||||
telescope-nvim
|
||||
];
|
||||
dependencies = [ self.plenary-nvim ];
|
||||
nvimSkipModules = [
|
||||
# Issue reproduction file
|
||||
"minimal"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import ./generic.nix {
|
||||
version = "26.3.17.4-lts";
|
||||
rev = "00f5ad7bc29d8bb65e1f7eb24208da15db3cf642";
|
||||
hash = "sha256-RJSqcsn3ZOL145RTUs4QujPm6DHjDSYiL9jI1C1YCVE=";
|
||||
version = "26.3.17.56-lts";
|
||||
rev = "c57540de480d8a501b601163471d3843674378cf";
|
||||
hash = "sha256-fcRxZbcp7t28bC9vlmgVAV9gB63cQwFWsc0gyKxGhvQ=";
|
||||
lts = true;
|
||||
}
|
||||
|
||||
@@ -10,16 +10,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "git-gamble";
|
||||
version = "2.14.4";
|
||||
version = "2.14.6";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "pinage404";
|
||||
repo = "git-gamble";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-DjwdoM9/W1UeD/XqVMXTyzjdcJLfHiAqRA3r//rkn1U=";
|
||||
hash = "sha256-+YjAXELI4AnHTZ7PvBWhvu3BQP7kys5VV2EllyABYKo=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-X3kJT0pscCH9sQxV3NkX0hL2sccTJHgMj0UeIpJOWJ4=";
|
||||
cargoHash = "sha256-UHj/rhL9/r/UUtlgqTgMr9jFNRwwFDrfltyB5PyZanM=";
|
||||
|
||||
nativeCheckInputs = [ gitMinimal ];
|
||||
preCheck = ''
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "github-copilot-cli";
|
||||
version = "1.0.26";
|
||||
version = "1.0.61";
|
||||
|
||||
# GitHub provide platform-specific SEA binaries as well as a "universal"
|
||||
# package. Use the universal package as it gives us a bit more flexibility
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# about how paths should be set up which don't reliably hold when using Nix.
|
||||
src = fetchurl {
|
||||
url = "https://github.com/github/copilot-cli/releases/download/v${finalAttrs.version}/github-copilot-${finalAttrs.version}.tgz";
|
||||
hash = "sha256-zNO0clQRfgw6CX9K8NaJXsoOhhNjBfK7KAr0AoL7Oqo=";
|
||||
hash = "sha256-8Lks8lHa5XF9ZrC+fU/9VlzD1W32MbRZ7PZtL5YWLTA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -58,6 +58,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
# Upstream bundles linuxmusl prebuilds in the universal tarball; they are
|
||||
# not needed on glibc systems and make autoPatchelf fail on musl libc deps.
|
||||
find "$out"/lib/github-copilot-cli -depth -path '*/linuxmusl-*' -exec rm -rf '{}' +
|
||||
|
||||
makeWrapper ${nodejs}/bin/node "$out"/bin/copilot \
|
||||
--add-flag "$out"/lib/github-copilot-cli/index.js \
|
||||
--add-flag --no-auto-update \
|
||||
@@ -82,6 +86,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
homepage = "https://github.com/github/copilot-cli";
|
||||
changelog = "https://github.com/github/copilot-cli/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.unfree;
|
||||
sourceProvenance = with lib.sourceTypes; [
|
||||
binaryNativeCode # including contents of the prebuild directory
|
||||
binaryBytecode # including WASM files
|
||||
obfuscatedCode # including minified JavaScript
|
||||
];
|
||||
maintainers = with lib.maintainers; [
|
||||
me-and
|
||||
];
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
}:
|
||||
let
|
||||
pname = "handheld-daemon-ui";
|
||||
version = "3.4.0";
|
||||
version = "3.4.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/hhd-dev/hhd-ui/releases/download/v${version}/hhd-ui.Appimage";
|
||||
hash = "sha256-OeZMh3lC3fluwz1pU3JnLRkwFYiIkthGuclYkOJm430=";
|
||||
hash = "sha256-91Wa50dJAW6Re1MBperHFoftAPagihUP4fv5cMb+pxI=";
|
||||
};
|
||||
extractedFiles = appimageTools.extractType2 { inherit pname version src; };
|
||||
in
|
||||
|
||||
@@ -21,5 +21,7 @@ wsjtx.overrideAttrs (old: {
|
||||
pkharvey
|
||||
];
|
||||
homepage = "https://github.com/jtdx-project/jtdx";
|
||||
license = lib.licenses.gpl3Only;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "mcp-gateway";
|
||||
version = "3.3.0";
|
||||
version = "3.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MikkoParkkola";
|
||||
repo = "mcp-gateway";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-R+k9NpbYcqu56cALHCU15lp0UCc3aJQGdk6ZJgs02D8=";
|
||||
hash = "sha256-jSEstrmEdeQ7NzWCHCNZPBgBaroCbQ96oeQbZVxL5p0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-quIQXrJ/ANOyh76Q3ZErUamLDfJpqPMYSZe9wUyS0Pg=";
|
||||
cargoHash = "sha256-KZseznJdv28JbABgg4oV/Gj7y25JGdQ8UWq5KgzxVpk=";
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
|
||||
@@ -8,18 +8,18 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "meilisearch";
|
||||
version = "1.49.0";
|
||||
version = "1.50.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "meilisearch";
|
||||
repo = "meilisearch";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-obUX84KNeJzkuRjOFBtLmCo/lcq0AwsaY/WDgaLhN2k=";
|
||||
hash = "sha256-CTCfaWtLdRFCPEkcbewjz3zZ6NM1N8MaaeGM73T9QQk=";
|
||||
};
|
||||
|
||||
cargoBuildFlags = [ "--package=meilisearch" ];
|
||||
|
||||
cargoHash = "sha256-1UjXuvzT3gN0byKtYs6fv6xyKAi4uPBip9l+r6I1lHU=";
|
||||
cargoHash = "sha256-mhXRHn+4i9lW81Cc7kzkGWODox2G6mYrmBkrhbcVYS8=";
|
||||
|
||||
# Default features include mini dashboard which downloads something from the internet.
|
||||
buildNoDefaultFeatures = true;
|
||||
|
||||
52
pkgs/by-name/mi/middleclick/package.nix
Normal file
52
pkgs/by-name/mi/middleclick/package.nix
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchurl,
|
||||
nix-update-script,
|
||||
unzip,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "middleclick";
|
||||
version = "3.2.0";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/artginzburg/MiddleClick/releases/download/${finalAttrs.version}/MiddleClick.zip";
|
||||
hash = "sha256-6T8XYSp3QTxefO+UI/DcnbFm1m841B14OpkOLqa6aYw=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
dontUnpack = true;
|
||||
dontBuild = true;
|
||||
|
||||
# Preserve the upstream Developer ID signature and notarized app bundle.
|
||||
dontFixup = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p unpacked "$out/Applications"
|
||||
unzip -q "$src" -d unpacked
|
||||
mv unpacked/MiddleClick.app "$out/Applications/"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Utility for emulating middle clicks with trackpad and Magic Mouse gestures";
|
||||
homepage = "https://github.com/artginzburg/MiddleClick";
|
||||
downloadPage = "https://github.com/artginzburg/MiddleClick/releases";
|
||||
changelog = "https://github.com/artginzburg/MiddleClick/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ akosseres ];
|
||||
platforms = lib.platforms.darwin;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
};
|
||||
})
|
||||
@@ -13,8 +13,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "NetworkConfiguration";
|
||||
repo = "openresolv";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-I86BHiSI3G4xlYRJC99elHw8RyUd3eHdkV5kiEGRXNE=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-I86BHiSI3G4xlYRJC99elHw8RyUd3eHdkV5kiEGRXNE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
@@ -38,6 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/NetworkConfiguration/openresolv/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Program to manage /etc/resolv.conf";
|
||||
mainProgram = "resolvconf";
|
||||
homepage = "https://roy.marples.name/projects/openresolv";
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "reader";
|
||||
version = "0.5.0";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mrusme";
|
||||
repo = "reader";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-qu48ikqm4EmoeL9j67tGkX3EFBd1JdrLWhhmoElCoJY=";
|
||||
hash = "sha256-R7U+atLrpx7ppdyMR381JUSOM7KAfDr8P9oEAzuZbCY=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-8IjN7hm5Rg9ItkxE9pbnkVr5t+tG95W9vvXyGaWmEIA=";
|
||||
vendorHash = "sha256-XOcqyUGfE7tq1OY6h7WV33nBNgn+oLmKRSJfVKmXIz4=";
|
||||
|
||||
meta = {
|
||||
description = "Lightweight tool offering better readability of web pages on the CLI";
|
||||
|
||||
41
pkgs/by-name/rk/rkmon/package.nix
Normal file
41
pkgs/by-name/rk/rkmon/package.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "rkmon";
|
||||
version = "0.3.1";
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "isac322";
|
||||
repo = "rkmon";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-LFvv/CvZxtulGQdFVU7XVDitzgQwkOIFF9mfZBAUe1Y=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-f9+5iVGvkLuFHqDdeSvx4Vu6paVsRS0EZxKB9a3sr/I=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-extldflags"
|
||||
"-static"
|
||||
"-X=main.Version=${finalAttrs.version}"
|
||||
"-X=main.GitSHA=${finalAttrs.src.rev}"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Real-time hardware monitor TUI for Rockchip RK3588 SBCs. Like htop, but for the GPU, NPU, VPU, RGA, and thermal zones of your Rock 5B+ / RK3588 board";
|
||||
homepage = "https://github.com/isac322/rkmon";
|
||||
changelog = "https://github.com/isac322/rkmon/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ matthewcroughan ];
|
||||
mainProgram = "rkmon";
|
||||
};
|
||||
})
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "sandbox-runtime";
|
||||
version = "0.0.64";
|
||||
version = "0.0.66";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
@@ -25,7 +25,7 @@ buildNpmPackage (finalAttrs: {
|
||||
owner = "anthropic-experimental";
|
||||
repo = "sandbox-runtime";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-kKXGZcK3hx3ugud+DxLrBC+IwnUzEe0Gae2lq7DU8hA=";
|
||||
hash = "sha256-fwu5rVXd3xlpn++CXvT+jjcLWtZ2/ZDb1humrXwr+D0=";
|
||||
};
|
||||
|
||||
postPatch =
|
||||
@@ -37,7 +37,7 @@ buildNpmPackage (finalAttrs: {
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
npmDepsHash = "sha256-3HOGoIG9syQJ407C8Bg7J7mtPpoIjVtUoFCdbSmT8BU=";
|
||||
npmDepsHash = "sha256-ERIKGZstnixcrdoyWkZtkEq5eDQFxrZmeWTPteOgXgU=";
|
||||
|
||||
postFixup =
|
||||
let
|
||||
|
||||
@@ -65,13 +65,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "syslog-ng";
|
||||
version = "4.11.0";
|
||||
version = "4.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "syslog-ng";
|
||||
repo = "syslog-ng";
|
||||
tag = "syslog-ng-${finalAttrs.version}";
|
||||
hash = "sha256-7t1Q3qaPMp36siQALmeB27G6hfsql+kepERGB0yPsVU=";
|
||||
hash = "sha256-89v0Ape6FZVYePb+wjy0RO+NOyzluQNJliexM04li3Y=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "knx-frontend";
|
||||
version = "2026.7.8.100603";
|
||||
version = "2026.7.17.104339";
|
||||
pyproject = true;
|
||||
|
||||
# TODO: source build, uses yarn.lock
|
||||
src = fetchPypi {
|
||||
pname = "knx_frontend";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-80yeDZ8a8WDf/NEXjFSkcfpglp9yTnmg+4csFbgdFpM=";
|
||||
hash = "sha256-//Tjixp8mXP2KFuW2U9iEW1BXMi2jfbuJBj/LuijW4Q=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
From 98fd6e87243c6d5992429a9b90426af73dbcc3ff Mon Sep 17 00:00:00 2001
|
||||
From: Bart Oostveen <bart@bartoostveen.nl>
|
||||
Date: Fri, 10 Jul 2026 13:59:21 +0200
|
||||
Subject: [PATCH] fix: create new event loop if not exists
|
||||
|
||||
---
|
||||
lib/sqlalchemy/util/_concurrency_py3k.py | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/sqlalchemy/util/_concurrency_py3k.py b/lib/sqlalchemy/util/_concurrency_py3k.py
|
||||
index 1e4ffef..5aaf12c 100644
|
||||
--- a/lib/sqlalchemy/util/_concurrency_py3k.py
|
||||
+++ b/lib/sqlalchemy/util/_concurrency_py3k.py
|
||||
@@ -190,6 +190,8 @@ def get_event_loop():
|
||||
try:
|
||||
return asyncio.get_running_loop()
|
||||
except RuntimeError:
|
||||
- return asyncio.get_event_loop_policy().get_event_loop()
|
||||
+ loop = asyncio.new_event_loop()
|
||||
+ asyncio.set_event_loop(loop)
|
||||
+ return loop
|
||||
else:
|
||||
return asyncio.get_event_loop()
|
||||
--
|
||||
2.54.0
|
||||
|
||||
@@ -1,90 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
greenlet,
|
||||
|
||||
# optionals
|
||||
cx-oracle,
|
||||
mysqlclient,
|
||||
pg8000,
|
||||
psycopg2,
|
||||
psycopg2cffi,
|
||||
# TODO: pymssql
|
||||
pymysql,
|
||||
pyodbc,
|
||||
|
||||
# tests
|
||||
mock,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "sqlalchemy";
|
||||
version = "1.3.24";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sqlalchemy";
|
||||
repo = "sqlalchemy";
|
||||
tag = "rel_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
|
||||
hash = "sha256-6qAjyqMVrugABHssAQuql3z1YHTAOSm5hARJuJXJJvo=";
|
||||
};
|
||||
|
||||
patches = [ ./1.3-0001-fix-create-new-event-loop-if-not-exists.patch ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/tag_build = dev/d' setup.cfg
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ greenlet ];
|
||||
|
||||
optional-dependencies = lib.fix (self: {
|
||||
mssql = [ pyodbc ];
|
||||
mssql_pymysql = [
|
||||
# TODO: pymssql
|
||||
];
|
||||
mssql_pyodbc = [ pyodbc ];
|
||||
mysql = [ mysqlclient ];
|
||||
oracle = [ cx-oracle ];
|
||||
postgresql = [ psycopg2 ];
|
||||
postgresql_pg8000 = [ pg8000 ];
|
||||
postgresql_psycopg2binary = [ psycopg2 ];
|
||||
postgresql_psycopg2cffi = [ psycopg2cffi ];
|
||||
pymysql = [ pymysql ];
|
||||
});
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
mock
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# typing correctness, not interesting
|
||||
"test/ext/mypy"
|
||||
# slow and high memory usage, not interesting
|
||||
"test/aaa_profiling"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sqlalchemy" ];
|
||||
|
||||
meta = {
|
||||
changelog =
|
||||
let
|
||||
shortVersion = lib.replaceString "." "" (lib.versions.majorMinor finalAttrs.version);
|
||||
in
|
||||
"https://github.com/sqlalchemy/sqlalchemy/blob/${finalAttrs.src.rev}/doc/build/changelog/changelog_${shortVersion}.rst";
|
||||
description = "Database Toolkit for Python";
|
||||
homepage = "https://github.com/sqlalchemy/sqlalchemy";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
})
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"serverVersion": "0.19.19",
|
||||
"uiVersion": "0.19.19",
|
||||
"serverHash": "sha256-JcJV1dEWlFsbv9eH2yQMGYEZEFB/Pe1xtL1UNtKI6c4=",
|
||||
"serverCargoHash": "sha256-cwmz8Gf7T1IsCRyxo3ap+byX+Aj7+iCTHmZ/IeMN2no=",
|
||||
"uiHash": "sha256-67OMwzOGl+dMX5YNPPBG/QwKOVerkSa7ICbrQl4YBp4=",
|
||||
"serverVersion": "0.19.20",
|
||||
"uiVersion": "0.19.20",
|
||||
"serverHash": "sha256-qwc9hu+oCveG6DsBcUt6f2OZt68pogE7/rdG3L+EwJY=",
|
||||
"serverCargoHash": "sha256-Bw64QDL0v6SpcJkukB6lzNrrmsHPstLU/sFtAAbEgXI=",
|
||||
"uiHash": "sha256-hHZWIg7C6ZkJGlWJSNPMnc1rHRR4ZC1N1w3IcknFR5Y=",
|
||||
"uiPNPMDepsHash": "sha256-50IUUymGyaCAeMnWbYJlBytcULr9lvuY9kLVSEqHGL0="
|
||||
}
|
||||
|
||||
@@ -21,6 +21,8 @@ let
|
||||
};
|
||||
doCheck = false;
|
||||
});
|
||||
|
||||
sqlalchemy = self.sqlalchemy_1_4;
|
||||
})
|
||||
];
|
||||
|
||||
@@ -54,7 +56,7 @@ python.pkgs.buildPythonApplication {
|
||||
pyrfc3339
|
||||
pytz
|
||||
pyyaml
|
||||
sqlalchemy_1_3
|
||||
sqlalchemy
|
||||
yt-dlp
|
||||
];
|
||||
|
||||
|
||||
@@ -639,6 +639,7 @@ mapAliases {
|
||||
sphinxcontrib_plantuml = throw "'sphinxcontrib_plantuml' has been renamed to/replaced by 'sphinxcontrib-plantuml'"; # Converted to throw 2025-10-29
|
||||
sqlalchemy-utc = throw "'sqlalchemy-utc' has been removed as it was unmaintained upstream"; # Added 2026-03-19
|
||||
sqlalchemy-views = throw "'sqlalchemy-views' has been removed as it was broken and unmaintained upstream"; # Added 2025-11-09
|
||||
sqlalchemy_1_3 = throw "'sqlalchemy_1_3' has been removed because it was actually version 1.4.54"; # added 2026-07-20
|
||||
sqlalchemy_migrate = throw "'sqlalchemy_migrate' has been renamed to/replaced by 'sqlalchemy-migrate'"; # Converted to throw 2025-10-29
|
||||
steamship = throw "'steamship' has been removed because it is broken and unmaintained upstream"; # Added 2026-05-06
|
||||
strawberry-django = strawberry-graphql-django; # Added 2026-07-14
|
||||
|
||||
@@ -19329,8 +19329,6 @@ self: super: with self; {
|
||||
|
||||
sqlalchemy-utils = callPackage ../development/python-modules/sqlalchemy-utils { };
|
||||
|
||||
sqlalchemy_1_3 = callPackage ../development/python-modules/sqlalchemy/1_3.nix { };
|
||||
|
||||
sqlalchemy_1_4 = callPackage ../development/python-modules/sqlalchemy/1_4.nix { };
|
||||
|
||||
sqlcipher3 = callPackage ../development/python-modules/sqlcipher3 { };
|
||||
|
||||
Reference in New Issue
Block a user