0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Merge staging-next into staging

This commit is contained in:
nixpkgs-ci[bot] 2025-05-06 18:05:42 +00:00 committed by GitHub
commit 8026ae3bc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
79 changed files with 308 additions and 571 deletions

View file

@ -20,7 +20,7 @@ jobs:
lib lib
maintainers maintainers
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
with: with:
extra_nix_config: sandbox = true extra_nix_config: sandbox = true

View file

@ -23,7 +23,7 @@ jobs:
with: with:
ref: ${{ needs.get-merge-commit.outputs.mergedSha }} ref: ${{ needs.get-merge-commit.outputs.mergedSha }}
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
with: with:
extra_nix_config: sandbox = true extra_nix_config: sandbox = true

View file

@ -34,7 +34,7 @@ jobs:
rev=$(jq -r .rev ci/pinned-nixpkgs.json) rev=$(jq -r .rev ci/pinned-nixpkgs.json)
echo "url=https://github.com/NixOS/nixpkgs/archive/$rev.tar.gz" >> "$GITHUB_ENV" echo "url=https://github.com/NixOS/nixpkgs/archive/$rev.tar.gz" >> "$GITHUB_ENV"
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
with: with:
extra_nix_config: sandbox = true extra_nix_config: sandbox = true
nix_path: nixpkgs=${{ env.url }} nix_path: nixpkgs=${{ env.url }}

View file

@ -27,7 +27,7 @@ jobs:
with: with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
- name: Build shell - name: Build shell
run: nix-build shell.nix run: nix-build shell.nix

View file

@ -45,7 +45,7 @@ jobs:
needs: get-merge-commit needs: get-merge-commit
if: github.repository_owner == 'NixOS' && needs.get-merge-commit.outputs.mergedSha if: github.repository_owner == 'NixOS' && needs.get-merge-commit.outputs.mergedSha
steps: steps:
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16 - uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
with: with:
@ -92,7 +92,7 @@ jobs:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
if: github.repository_owner == 'NixOS' if: github.repository_owner == 'NixOS'
steps: steps:
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
# Important: Because we use pull_request_target, this checks out the base branch of the PR, not the PR head. # Important: Because we use pull_request_target, this checks out the base branch of the PR, not the PR head.
# This is intentional, because we need to request the review of owners as declared in the base branch. # This is intentional, because we need to request the review of owners as declared in the base branch.

View file

@ -32,7 +32,7 @@ jobs:
with: with:
ref: ${{ needs.get-merge-commit.outputs.mergedSha }} ref: ${{ needs.get-merge-commit.outputs.mergedSha }}
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
with: with:
# nixpkgs commit is pinned so that it doesn't break # nixpkgs commit is pinned so that it doesn't break
# editorconfig-checker 2.4.0 # editorconfig-checker 2.4.0

View file

@ -22,7 +22,7 @@ jobs:
with: with:
ref: ${{ needs.get-merge-commit.outputs.mergedSha }} ref: ${{ needs.get-merge-commit.outputs.mergedSha }}
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
with: with:
extra_nix_config: sandbox = true extra_nix_config: sandbox = true

View file

@ -43,7 +43,7 @@ jobs:
echo "targetSha=$targetSha" >> "$GITHUB_OUTPUT" echo "targetSha=$targetSha" >> "$GITHUB_OUTPUT"
- name: Install Nix - name: Install Nix
uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
with: with:
extra_nix_config: sandbox = true extra_nix_config: sandbox = true
@ -71,7 +71,7 @@ jobs:
path: nixpkgs path: nixpkgs
- name: Install Nix - name: Install Nix
uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
with: with:
extra_nix_config: sandbox = true extra_nix_config: sandbox = true
@ -111,7 +111,7 @@ jobs:
path: nixpkgs path: nixpkgs
- name: Install Nix - name: Install Nix
uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
with: with:
extra_nix_config: sandbox = true extra_nix_config: sandbox = true
@ -152,7 +152,7 @@ jobs:
path: nixpkgs path: nixpkgs
- name: Install Nix - name: Install Nix
uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
with: with:
extra_nix_config: sandbox = true extra_nix_config: sandbox = true
@ -260,7 +260,7 @@ jobs:
path: comparison path: comparison
- name: Install Nix - name: Install Nix
uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
# Important: This workflow job runs with extra permissions, # Important: This workflow job runs with extra permissions,
# so we need to make sure to not run untrusted code from PRs # so we need to make sure to not run untrusted code from PRs

View file

@ -27,7 +27,7 @@ jobs:
rev=$(jq -r .rev ci/pinned-nixpkgs.json) rev=$(jq -r .rev ci/pinned-nixpkgs.json)
echo "url=https://github.com/NixOS/nixpkgs/archive/$rev.tar.gz" >> "$GITHUB_ENV" echo "url=https://github.com/NixOS/nixpkgs/archive/$rev.tar.gz" >> "$GITHUB_ENV"
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
with: with:
extra_nix_config: sandbox = true extra_nix_config: sandbox = true
nix_path: nixpkgs=${{ env.url }} nix_path: nixpkgs=${{ env.url }}

View file

@ -33,7 +33,7 @@ jobs:
with: with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
with: with:
extra_nix_config: sandbox = true extra_nix_config: sandbox = true

View file

@ -20,7 +20,7 @@ jobs:
with: with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
with: with:
extra_nix_config: sandbox = true extra_nix_config: sandbox = true

View file

@ -32,7 +32,7 @@ jobs:
ref: ${{ needs.get-merge-commit.outputs.mergedSha }} ref: ${{ needs.get-merge-commit.outputs.mergedSha }}
if: ${{ env.CHANGED_FILES && env.CHANGED_FILES != '' }} if: ${{ env.CHANGED_FILES && env.CHANGED_FILES != '' }}
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
with: with:
extra_nix_config: sandbox = true extra_nix_config: sandbox = true
nix_path: nixpkgs=channel:nixpkgs-unstable nix_path: nixpkgs=channel:nixpkgs-unstable

View file

@ -43,7 +43,7 @@ jobs:
git worktree add "$target" "$(git rev-parse HEAD^1)" git worktree add "$target" "$(git rev-parse HEAD^1)"
echo "target=$target" >> "$GITHUB_ENV" echo "target=$target" >> "$GITHUB_ENV"
- uses: cachix/install-nix-action@754537aaedb35f72ab11a60cc162c49ef3016495 # v31 - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
- name: Fetching the pinned tool - name: Fetching the pinned tool
# Update the pinned version using ci/nixpkgs-vet/update-pinned-tool.sh # Update the pinned version using ci/nixpkgs-vet/update-pinned-tool.sh

View file

@ -773,9 +773,14 @@ Additionally, the following optional arguments can be given:
: Whether to fetch LFS objects. : Whether to fetch LFS objects.
*`preFetch`* (String)
: Shell code to be executed before the repository has been fetched, to allow
changing the environment the fetcher runs in.
*`postFetch`* (String) *`postFetch`* (String)
: Shell code executed after the file has been fetched successfully. : Shell code executed after the repository has been fetched successfully.
This can do things like check or transform the file. This can do things like check or transform the file.
*`leaveDotGit`* (Boolean) *`leaveDotGit`* (Boolean)

View file

@ -12566,12 +12566,6 @@
githubId = 34152449; githubId = 34152449;
name = "Karl Hallsby"; name = "Karl Hallsby";
}; };
karolchmist = {
email = "info+nix@chmist.com";
github = "karolchmist";
githubId = 1927188;
name = "karolchmist";
};
kashw2 = { kashw2 = {
email = "supra4keanu@hotmail.com"; email = "supra4keanu@hotmail.com";
github = "kashw2"; github = "kashw2";

View file

@ -366,6 +366,7 @@ in
}; };
serviceConfig = { serviceConfig = {
Type = "notify";
# Use "+" because credentialsFile may not be accessible to User= or Group=. # Use "+" because credentialsFile may not be accessible to User= or Group=.
ExecStartPre = [ ExecStartPre = [
( (

View file

@ -50,13 +50,24 @@ in
Expects the format of an `EnvironmentFile=`, as described by {manpage}`systemd.exec(5)`. Expects the format of an `EnvironmentFile=`, as described by {manpage}`systemd.exec(5)`.
''; '';
}; };
database = {
createLocally = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Configure local PostgreSQL database server for Mealie.
'';
};
};
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
systemd.services.mealie = { systemd.services.mealie = {
description = "Mealie, a self hosted recipe manager and meal planner"; description = "Mealie, a self hosted recipe manager and meal planner";
after = [ "network-online.target" ]; after = [ "network-online.target" ] ++ lib.optional cfg.database.createLocally "postgresql.service";
requires = lib.optional cfg.database.createLocally "postgresql.service";
wants = [ "network-online.target" ]; wants = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
@ -78,5 +89,21 @@ in
StandardOutput = "journal"; StandardOutput = "journal";
}; };
}; };
services.mealie.settings = lib.mkIf cfg.database.createLocally {
DB_ENGINE = "postgres";
POSTGRES_URL_OVERRIDE = "postgresql://mealie:@/mealie?host=/run/postgresql";
};
services.postgresql = lib.mkIf cfg.database.createLocally {
enable = true;
ensureDatabases = [ "mealie" ];
ensureUsers = [
{
name = "mealie";
ensureDBOwnership = true;
}
];
};
}; };
} }

View file

@ -31,7 +31,7 @@ import ../make-test-python.nix (
start_all() start_all()
machine.wait_for_unit("k3s") machine.wait_for_unit("k3s")
machine.wait_until_succeeds("journalctl -r --no-pager -u k3s | grep \"Imported images from /var/lib/rancher/k3s/agent/images/\"", timeout=120) machine.wait_until_succeeds("journalctl -r --no-pager -u k3s | grep \"Imported images from /var/lib/rancher/k3s/agent/images/\"")
images = json.loads(machine.succeed("crictl img -o json")) images = json.loads(machine.succeed("crictl img -o json"))
image_names = [i["repoTags"][0] for i in images["images"]] image_names = [i["repoTags"][0] for i in images["images"]]
with open("${k3s.imagesList}") as expected_images: with open("${k3s.imagesList}") as expected_images:

View file

@ -10,20 +10,35 @@ import ./make-test-python.nix (
]; ];
}; };
nodes = { nodes =
server = { let
services.mealie = { sqlite = {
enable = true; services.mealie = {
port = 9001; enable = true;
port = 9001;
};
}; };
postgres = {
imports = [ sqlite ];
services.mealie.database.createLocally = true;
};
in
{
inherit sqlite postgres;
}; };
};
testScript = '' testScript = ''
start_all() start_all()
server.wait_for_unit("mealie.service")
server.wait_for_open_port(9001) def test_mealie(node):
server.succeed("curl --fail http://localhost:9001") node.wait_for_unit("mealie.service")
node.wait_for_open_port(9001)
node.succeed("curl --fail http://localhost:9001")
test_mealie(sqlite)
simple.send_monitor_command("quit")
simple.wait_for_shutdown()
test_mealie(postgres)
''; '';
} }
) )

View file

@ -8,8 +8,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = { mktplcRef = {
publisher = "RooVeterinaryInc"; publisher = "RooVeterinaryInc";
name = "roo-cline"; name = "roo-cline";
version = "3.14.3"; version = "3.15.4";
hash = "sha256-hYtjcxlHwtvESs08WdWuMGi10LIvdH5SEBeAI7ah8oc="; hash = "sha256-4YZgIUZdtD/EKc6b76J8WfTD/QRyvqPSDDdk8kMKdD0=";
}; };
passthru.updateScript = vscode-extension-update-script { }; passthru.updateScript = vscode-extension-update-script { };

View file

@ -1,10 +0,0 @@
{
traefik-crd = {
url = "https://k3s.io/k3s-charts/assets/traefik-crd/traefik-crd-27.0.201+up27.0.2.tgz";
sha256 = "0vwprcb60y15sc4lmi58gl1zr3yhsq43jlbsfm7gs20ci90frv16";
};
traefik = {
url = "https://k3s.io/k3s-charts/assets/traefik/traefik-27.0.201+up27.0.2.tgz";
sha256 = "12dp1r82qfzqfzs4sfxc54rnw8kv42a3w4gpk5v3qkhqm6fkrnn1";
};
}

View file

@ -1,18 +0,0 @@
{
"airgap-images-amd64": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.29.15%2Bk3s1/k3s-airgap-images-amd64.tar.zst",
"sha256": "b3b340da3d88c6723f18cf6219edf50745d5a749cb552bd2d3eee0b1281dd5a2"
},
"airgap-images-arm": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.29.15%2Bk3s1/k3s-airgap-images-arm.tar.zst",
"sha256": "571f0addf5253ed0e98864157c885fbd14fc67f8efcfd638cc36ade48f903b8c"
},
"airgap-images-arm64": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.29.15%2Bk3s1/k3s-airgap-images-arm64.tar.zst",
"sha256": "f2fc003d8ec5c1ac66d0eeb9e410a443a0af3f5b23367d3578c55c6e9e0c618a"
},
"images-list": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.29.15%2Bk3s1/k3s-images.txt",
"sha256": "81328fb53d1dfd0de1fb9663b00fa1dc34a2da242a33e562595fec7b448bdce1"
}
}

View file

@ -1,15 +0,0 @@
{
k3sVersion = "1.29.15+k3s1";
k3sCommit = "35a47239188444222067c25cc096346adb20401f";
k3sRepoSha256 = "0vynlcnmhhf82hr2rv01km5jyp2c2zb7872nnd8kzdxdw3jcqp7x";
k3sVendorHash = "sha256-+es8ua7JuDnUXej6hqE1ooFS81NhuoYYuA2+4CgUOmU=";
chartVersions = import ./chart-versions.nix;
imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json);
k3sRootVersion = "0.14.1";
k3sRootSha256 = "0svbi42agqxqh5q2ri7xmaw2a2c70s7q5y587ls0qkflw5vx4sl7";
k3sCNIVersion = "1.6.0-k3s1";
k3sCNISha256 = "0g7zczvwba5xqawk37b0v96xysdwanyf1grxn3l3lhxsgjjsmkd7";
containerdVersion = "1.7.26-k3s1";
containerdSha256 = "0snz0i7xmnvs8bj7140q0lsxqdv835hksvk36baw71w5mbm1w1xz";
criCtlVersion = "1.29.0-k3s1";
}

View file

@ -1,18 +1,18 @@
{ {
"airgap-images-amd64": { "airgap-images-amd64": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.30.11%2Bk3s1/k3s-airgap-images-amd64.tar.zst", "url": "https://github.com/k3s-io/k3s/releases/download/v1.30.12%2Bk3s1/k3s-airgap-images-amd64.tar.zst",
"sha256": "aba20bf6082fdccafc36c1ba79ba2705b2ef6f159a3455585c98cf128e767986" "sha256": "1c5efab645244d13cda7111a456aff796dfb4645c845df82266c4da56d3db2a7"
}, },
"airgap-images-arm": { "airgap-images-arm": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.30.11%2Bk3s1/k3s-airgap-images-arm.tar.zst", "url": "https://github.com/k3s-io/k3s/releases/download/v1.30.12%2Bk3s1/k3s-airgap-images-arm.tar.zst",
"sha256": "658aa3c0672f2eb3305b262a7187d0fa7fa2759dccdca196612472a9fcc4fd48" "sha256": "df41354c497c8c2514b247c237415d721fb1381bb821c00af59526ba2ef1e8e8"
}, },
"airgap-images-arm64": { "airgap-images-arm64": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.30.11%2Bk3s1/k3s-airgap-images-arm64.tar.zst", "url": "https://github.com/k3s-io/k3s/releases/download/v1.30.12%2Bk3s1/k3s-airgap-images-arm64.tar.zst",
"sha256": "f92a63c9f570afd4a9f33b69a441ce057ee4d31359026e9b699f519ae7b8a81a" "sha256": "041a626ab65e9f61bdc67e664649bc8dc434cc9f89da15611660967a1d156fa3"
}, },
"images-list": { "images-list": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.30.11%2Bk3s1/k3s-images.txt", "url": "https://github.com/k3s-io/k3s/releases/download/v1.30.12%2Bk3s1/k3s-images.txt",
"sha256": "81328fb53d1dfd0de1fb9663b00fa1dc34a2da242a33e562595fec7b448bdce1" "sha256": "7a53b3def0199b17de6ec690d13ae2001fb83809258d28d985eafa69869c3aa9"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
k3sVersion = "1.30.11+k3s1"; k3sVersion = "1.30.12+k3s1";
k3sCommit = "c2662fbee6d24b3917cf078cbf2ff69cae501340"; k3sCommit = "f9dbf16e17a6db90b64583316d9c321180e9c062";
k3sRepoSha256 = "0zsl5p2dmj3mkcjxbrhsa40r8bhgcrql8r8cxach4nv6y7fcyan5"; k3sRepoSha256 = "0d0kbbf6c6gv2s0w8m7br6vxcid48g8hirmszksd3g4brix3yxz2";
k3sVendorHash = "sha256-G7RUyFzg3B4X0tdKmD1ep9a4cnVkUmFqBP5t1s8uFLc="; k3sVendorHash = "sha256-FQu2Chk463c+/VYcOhfU8xIxm/ZNe1GumkEH/u2DIt0=";
chartVersions = import ./chart-versions.nix; chartVersions = import ./chart-versions.nix;
imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json); imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json);
k3sRootVersion = "0.14.1"; k3sRootVersion = "0.14.1";

View file

@ -1,18 +1,18 @@
{ {
"airgap-images-amd64": { "airgap-images-amd64": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.31.7%2Bk3s1/k3s-airgap-images-amd64.tar.zst", "url": "https://github.com/k3s-io/k3s/releases/download/v1.31.8%2Bk3s1/k3s-airgap-images-amd64.tar.zst",
"sha256": "2666c3880447979079b94babccf12296706167a5747a0f94962b257bda442449" "sha256": "b165c30ccff774f95019f70e200e59d3eea8a3b7fc63c64c07d839c1feb48357"
}, },
"airgap-images-arm": { "airgap-images-arm": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.31.7%2Bk3s1/k3s-airgap-images-arm.tar.zst", "url": "https://github.com/k3s-io/k3s/releases/download/v1.31.8%2Bk3s1/k3s-airgap-images-arm.tar.zst",
"sha256": "6698d8bcfb029f1d16e0f2aa1d53be09d026995d26a0e4bfd92292f49c68538b" "sha256": "9adfe524ab0bb53d0753dc92759e7f2847e5ce75b88966544da16b5c37605da8"
}, },
"airgap-images-arm64": { "airgap-images-arm64": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.31.7%2Bk3s1/k3s-airgap-images-arm64.tar.zst", "url": "https://github.com/k3s-io/k3s/releases/download/v1.31.8%2Bk3s1/k3s-airgap-images-arm64.tar.zst",
"sha256": "0c96ae243b40bb624f9cb34e2851c9cffc77e1ed0127b3e81a2e4a0ff56511a5" "sha256": "26ab12d269a619df5d21464e6b1fa539b7c7b2f039737f656683d59eb71f83ac"
}, },
"images-list": { "images-list": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.31.7%2Bk3s1/k3s-images.txt", "url": "https://github.com/k3s-io/k3s/releases/download/v1.31.8%2Bk3s1/k3s-images.txt",
"sha256": "81328fb53d1dfd0de1fb9663b00fa1dc34a2da242a33e562595fec7b448bdce1" "sha256": "7a53b3def0199b17de6ec690d13ae2001fb83809258d28d985eafa69869c3aa9"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
k3sVersion = "1.31.7+k3s1"; k3sVersion = "1.31.8+k3s1";
k3sCommit = "e050ca66d129762a00599628e6f55cfdfab3a7ba"; k3sCommit = "33429f764d560f617c049e4ebb323c00963419c0";
k3sRepoSha256 = "1q531x745ypc08wp43yf0mh0r90gpi6r8bqbmgpvx0nvv9gwn8sb"; k3sRepoSha256 = "0dpp3gi2g4qqi0szz53j9z06bcgkdzh3c64651d8zjjj151rmhwv";
k3sVendorHash = "sha256-WQPXRwW50/6e1MPnuQCAICROVlrMfARUdHJAgJ7UwQQ="; k3sVendorHash = "sha256-vQQGJOFNO2rCJ/UWxWYgH617DctCmTF6eqH7Yq5T+2Q=";
chartVersions = import ./chart-versions.nix; chartVersions = import ./chart-versions.nix;
imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json); imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json);
k3sRootVersion = "0.14.1"; k3sRootVersion = "0.14.1";

View file

@ -1,18 +1,18 @@
{ {
"airgap-images-amd64": { "airgap-images-amd64": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.32.3%2Bk3s1/k3s-airgap-images-amd64.tar.zst", "url": "https://github.com/k3s-io/k3s/releases/download/v1.32.4%2Bk3s1/k3s-airgap-images-amd64.tar.zst",
"sha256": "2c81a3f3527c590180cd71717ea23d83d023669b38439720fdce62fe23543536" "sha256": "2c27bf09b90459947dff497ca5028adefa8f8f3d2ae96a3164c11b8a5ed3bb86"
}, },
"airgap-images-arm": { "airgap-images-arm": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.32.3%2Bk3s1/k3s-airgap-images-arm.tar.zst", "url": "https://github.com/k3s-io/k3s/releases/download/v1.32.4%2Bk3s1/k3s-airgap-images-arm.tar.zst",
"sha256": "97ae9c9825844a0fc034b8a4cb35e739cf10991e633ad2a586899d2a5aa6492d" "sha256": "5a3b7228988bfe725b6bfca0a8cf357dc4fe474ea910663a29d2fe58ab8065c9"
}, },
"airgap-images-arm64": { "airgap-images-arm64": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.32.3%2Bk3s1/k3s-airgap-images-arm64.tar.zst", "url": "https://github.com/k3s-io/k3s/releases/download/v1.32.4%2Bk3s1/k3s-airgap-images-arm64.tar.zst",
"sha256": "80423c5023a7d2e3ad65e59293e46a01f5d5679c371a444d76a86b1cd2f474d1" "sha256": "3b9131e8f51b9e8b9c1a1ceb5e51ebc245959aa50446def1a4323cf9340dfe0c"
}, },
"images-list": { "images-list": {
"url": "https://github.com/k3s-io/k3s/releases/download/v1.32.3%2Bk3s1/k3s-images.txt", "url": "https://github.com/k3s-io/k3s/releases/download/v1.32.4%2Bk3s1/k3s-images.txt",
"sha256": "11373c7d60ed0db9b761b07b80b66240b426bef0ecc34d6f1ac91cd9d1ff085e" "sha256": "aa8e10337aef453cb17e6408dbaec9eb2da409ca6ba1f8bc7332fcef97fdaf3a"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
k3sVersion = "1.32.3+k3s1"; k3sVersion = "1.32.4+k3s1";
k3sCommit = "079ffa8d99fb859cb8c001455e47efa65535d832"; k3sCommit = "6b330558e47a257134434508c851193bb4e9bf9d";
k3sRepoSha256 = "1cvd0668ca06ahhmkhrxwymfpssw75rjfv5n9yajzg1dmkv0cmrv"; k3sRepoSha256 = "1ss7w5b5k7hjd9szx7p7cqvdqddb71iddqsf6dxkk9r1g5z7sbs5";
k3sVendorHash = "sha256-1Kd6gt1envXmzFAtwhjPe9LLsllt2bQ7sryamGcaLRs="; k3sVendorHash = "sha256-e7uLDjCR/q04HwOHTb1E5gGiwKDN2Hbxmym7qJxfpWU=";
chartVersions = import ./chart-versions.nix; chartVersions = import ./chart-versions.nix;
imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json); imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json);
k3sRootVersion = "0.14.1"; k3sRootVersion = "0.14.1";

View file

@ -12,16 +12,6 @@ let
extraArgs = builtins.removeAttrs args [ "callPackage" ]; extraArgs = builtins.removeAttrs args [ "callPackage" ];
in in
{ {
k3s_1_29 = common (
(import ./1_29/versions.nix)
// {
updateScript = [
./update-script.sh
"29"
];
}
) extraArgs;
k3s_1_30 = common ( k3s_1_30 = common (
(import ./1_30/versions.nix) (import ./1_30/versions.nix)
// { // {

View file

@ -6,6 +6,8 @@
echo "exporting $url (rev $rev) into $out" echo "exporting $url (rev $rev) into $out"
runHook preFetch
$SHELL $fetcher --builder --url "$url" --out "$out" --rev "$rev" --name "$name" \ $SHELL $fetcher --builder --url "$url" --out "$out" --rev "$rev" --name "$name" \
${leaveDotGit:+--leave-dotGit} \ ${leaveDotGit:+--leave-dotGit} \
${fetchLFS:+--fetch-lfs} \ ${fetchLFS:+--fetch-lfs} \

View file

@ -38,6 +38,11 @@ lib.makeOverridable (
nonConeMode ? false, nonConeMode ? false,
name ? null, name ? null,
nativeBuildInputs ? [ ], nativeBuildInputs ? [ ],
# Shell code executed before the file has been fetched. This, in
# particular, can do things like set NIX_PREFETCH_GIT_CHECKOUT_HOOK to
# run operations between the checkout completing and deleting the .git
# directory.
preFetch ? "",
# Shell code executed after the file has been fetched # Shell code executed after the file has been fetched
# successfully. This can do things like check or transform the file. # successfully. This can do things like check or transform the file.
postFetch ? "", postFetch ? "",
@ -75,7 +80,6 @@ lib.makeOverridable (
server admins start using the new version? server admins start using the new version?
*/ */
assert deepClone -> leaveDotGit;
assert nonConeMode -> (sparseCheckout != [ ]); assert nonConeMode -> (sparseCheckout != [ ]);
let let
@ -130,6 +134,7 @@ lib.makeOverridable (
deepClone deepClone
branchName branchName
nonConeMode nonConeMode
preFetch
postFetch postFetch
; ;
rev = revWithTag; rev = revWithTag;

View file

@ -81,7 +81,6 @@ appimageTools.wrapAppImage {
license = licenses.unfree; license = licenses.unfree;
maintainers = with maintainers; [ maintainers = with maintainers; [
jshcmpbll jshcmpbll
mjm
edmundmiller edmundmiller
zh4ngx zh4ngx
]; ];

View file

@ -13,26 +13,30 @@
findutils, findutils,
sudo, sudo,
nixosTests, nixosTests,
pkg-config,
fuse3,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
version = "0.24";
pname = "charliecloud"; pname = "charliecloud";
version = "0.38";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hpc"; owner = "hpc";
repo = "charliecloud"; repo = "charliecloud";
rev = "v${version}"; tag = "v${finalAttrs.version}";
sha256 = "sha256-kdaVlwE3vdCxsmJTOUwx8J+9UcBuXbKDwS2MHX2ZPPM="; hash = "sha256-Mr2Qa1PRTarJ0I8nkH/Xsq8QN3OxOfL8tpl1lL1WV0c=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
autoreconfHook autoreconfHook
makeWrapper makeWrapper
pkg-config
]; ];
buildInputs = [ buildInputs = [
docker docker
fuse3
(python3.withPackages (ps: [ (python3.withPackages (ps: [
ps.lark ps.lark
ps.requests ps.requests
@ -48,11 +52,12 @@ stdenv.mkDerivation rec {
in in
[ [
"--with-python=${pythonEnv}/bin/python3" "--with-python=${pythonEnv}/bin/python3"
"-disable-bundled-lark"
]; ];
preConfigure = '' preConfigure = ''
patchShebangs test/ patchShebangs test/
substituteInPlace configure.ac --replace "/usr/bin/env" "${coreutils}/bin/env" substituteInPlace configure.ac --replace-fail "/usr/bin/env" "${coreutils}/bin/env"
''; '';
makeFlags = [ makeFlags = [
@ -94,5 +99,4 @@ stdenv.mkDerivation rec {
maintainers = [ lib.maintainers.bzizou ]; maintainers = [ lib.maintainers.bzizou ];
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
}; };
})
}

View file

@ -28,11 +28,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "clightning"; pname = "clightning";
version = "25.02.1"; version = "25.02.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip"; url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip";
hash = "sha256-0eRLc/bR4sjnNIKzhkX9yVCAoypf1TVhpa884mmVC54="; hash = "sha256-2wp9o1paWJWfxIvm9BDnsKX3GDUXKaPkpB89cwb6Oj8=";
}; };
# when building on darwin we need cctools to provide the correct libtool # when building on darwin we need cctools to provide the correct libtool

View file

@ -101,7 +101,6 @@ stdenv.mkDerivation (finalAttrs: {
longDescription = "In order to play this game a copy of diabdat.mpq is required. Place a copy of diabdat.mpq in ~/.local/share/diasurgical/devilution before executing the game."; longDescription = "In order to play this game a copy of diabdat.mpq is required. Place a copy of diabdat.mpq in ~/.local/share/diasurgical/devilution before executing the game.";
license = lib.licenses.sustainableUse; license = lib.licenses.sustainableUse;
maintainers = with lib.maintainers; [ maintainers = with lib.maintainers; [
karolchmist
aanderse aanderse
]; ];
platforms = with lib.platforms; linux ++ windows; platforms = with lib.platforms; linux ++ windows;

View file

@ -6,9 +6,9 @@
buildDotnetGlobalTool (finalAttrs: { buildDotnetGlobalTool (finalAttrs: {
pname = "fable"; pname = "fable";
version = "4.24.0"; version = "4.25.0";
nugetHash = "sha256-ERewWqfEyyZKpHFFALpMGJT0fDWywBYY5buU/wTZZTg="; nugetHash = "sha256-1T6cJKODI5Rm6Ze0f7X/Ecdrrn1NulKSnO3lMW73W0M=";
passthru.tests = testers.testVersion { passthru.tests = testers.testVersion {
package = finalAttrs.finalPackage; package = finalAttrs.finalPackage;

View file

@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
On linux, the data can be placed in ~/.local/share/fheroes2 folder. On linux, the data can be placed in ~/.local/share/fheroes2 folder.
''; '';
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = [ maintainers.karolchmist ]; maintainers = [ ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View file

@ -5,16 +5,16 @@
}: }:
buildGoModule (finalAttrs: { buildGoModule (finalAttrs: {
pname = "gotestsum"; pname = "gotestsum";
version = "1.12.1"; version = "1.12.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gotestyourself"; owner = "gotestyourself";
repo = "gotestsum"; repo = "gotestsum";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-nIdGon14bAaSxUmJNlpLztQVbA8SJ76+Ve46gbM0awk="; hash = "sha256-l4K+8J24egaKS64inQrBWnPLLGBu1W03OUi4WWQoAgs=";
}; };
vendorHash = "sha256-x48jjd6cIX/M8U+5QwrKalt1iLgeQKeJItLJsxXrPgY="; vendorHash = "sha256-SJacdFAdMiKDGLnEEBKnblvHglIBIKf2N20EOFCPs88=";
doCheck = false; doCheck = false;

View file

@ -7,18 +7,18 @@
buildGoModule rec { buildGoModule rec {
pname = "helmsman"; pname = "helmsman";
version = "3.18.0"; version = "4.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Praqma"; owner = "Praqma";
repo = "helmsman"; repo = "helmsman";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-k/rgQttCA4Ahip9zV+z9zbVSy8NKUTIR4/pluqpP/1c="; sha256 = "sha256-As0YjqMdPCgIzYWB1Wf3R11mwj6CglWZdvCRzlHDvkw=";
}; };
subPackages = [ "cmd/helmsman" ]; subPackages = [ "cmd/helmsman" ];
vendorHash = "sha256-lIBtKwxdmUIRYifEhrjzHilEsgLIf4Mtq/pa7N/E+NM="; vendorHash = "sha256-A5wFoOvBbjBv4F5Ul91GF9/l+8QXh9Xmmvhk5qNmems=";
doCheck = false; doCheck = false;

View file

@ -8,16 +8,16 @@
buildGoModule rec { buildGoModule rec {
pname = "kubectl-gadget"; pname = "kubectl-gadget";
version = "0.39.0"; version = "0.40.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "inspektor-gadget"; owner = "inspektor-gadget";
repo = "inspektor-gadget"; repo = "inspektor-gadget";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-xG4DVMsV8+ljscmRoDxw3YgdEYki5bcieSmZsCGcDVA="; hash = "sha256-fizq0S2pvhrMwGR/l6yqzq3IXDuD01Abi3VRiNJqs48=";
}; };
vendorHash = "sha256-Ow56GMCAoKnwDMy/FMF4e/hHxA63ycwH+jOZS+vzQwc="; vendorHash = "sha256-zBEb61gxjCRXjdANIHWKVNu5Do+iEmxttKvyiYp8FYQ=";
env.CGO_ENABLED = 0; env.CGO_ENABLED = 0;

View file

@ -14,13 +14,17 @@ let
OS = if hostPlatform.isDarwin then "osx" else hostPlatform.parsed.kernel.name; OS = if hostPlatform.isDarwin then "osx" else hostPlatform.parsed.kernel.name;
ARCH = ARCH =
if hostPlatform.isDarwin && hostPlatform.isAarch64 then "arm64" else hostPlatform.parsed.cpu.name; if hostPlatform.isDarwin && hostPlatform.isAarch64 then "arm64" else hostPlatform.parsed.cpu.name;
version = "1.30.0"; # Work around macOS Sequoia 15.4 segfault by downgrading the bootstrap compiler - see:
# - https://github.com/NixOS/nixpkgs/issues/398443
# - https://github.com/dlang/dmd/issues/21126#issuecomment-2775948553
# TODO: Remove this when bootstrap can be upgraded to a fixed version (>= 1.41.0-beta2)?
version = if hostPlatform.isDarwin then "1.28.1" else "1.30.0";
hashes = { hashes = {
# Get these from `nix store prefetch-file https://github.com/ldc-developers/ldc/releases/download/v1.19.0/ldc2-1.19.0-osx-x86_64.tar.xz` etc.. # Get these from `nix store prefetch-file https://github.com/ldc-developers/ldc/releases/download/v1.19.0/ldc2-1.19.0-osx-x86_64.tar.xz` etc..
osx-x86_64 = "sha256-AAWZvxuZC82xvrW6fpYm783TY+H8k3DvqE94ZF1yjmk="; osx-x86_64 = "sha256-mqQ+hNlDePOGX2mwgEEzHGiOAx3SxfNA6x8+ML3qYmw=";
linux-x86_64 = "sha256-V4TUzEfQhFrwiX07dHOgjdAoGkzausCkhnQIQNAU/eE="; linux-x86_64 = "sha256-V4TUzEfQhFrwiX07dHOgjdAoGkzausCkhnQIQNAU/eE=";
linux-aarch64 = "sha256-kTeglub75iv/jWWNPCn15aCGAbmck0RQl6L7bFOUu7Y="; linux-aarch64 = "sha256-kTeglub75iv/jWWNPCn15aCGAbmck0RQl6L7bFOUu7Y=";
osx-arm64 = "sha256-Nb/owBdIeroB9jLMDvwjo8bvsTC9vFyJPLMTOMsSAd4="; osx-arm64 = "sha256-m93rGywncBnPEWslcrXuGBnZ+Z/mNgLIaevkL/uBOu0=";
}; };
in in
stdenv.mkDerivation { stdenv.mkDerivation {

View file

@ -2,6 +2,7 @@
lib, lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
fetchpatch,
callPackage, callPackage,
makeWrapper, makeWrapper,
removeReferencesTo, removeReferencesTo,
@ -44,6 +45,17 @@ stdenv.mkDerivation (finalAttrs: {
# https://issues.dlang.org/show_bug.cgi?id=19553 # https://issues.dlang.org/show_bug.cgi?id=19553
hardeningDisable = [ "fortify" ]; hardeningDisable = [ "fortify" ];
# Fix output programs segfaulting on macOS Sequoia 15.4 - see:
# https://github.com/NixOS/nixpkgs/issues/398443
# https://github.com/ldc-developers/ldc/issues/4899
# TODO: Remove this when upgrading to a fixed version (>= 1.41.0-beta2)
patches = [
(fetchpatch {
url = "https://github.com/ldc-developers/ldc/commit/60079c3b596053b1a70f9f2e0cf38a287089df56.patch";
hash = "sha256-Y/5+zt5ou9rzU7rLJq2OqUxMDvC7aSFS6AsPeDxNATQ=";
})
];
postPatch = postPatch =
'' ''
patchShebangs runtime tools tests patchShebangs runtime tools tests

View file

@ -10,14 +10,14 @@
let let
pname = "mochi"; pname = "mochi";
version = "1.18.7"; version = "1.18.11";
linux = appimageTools.wrapType2 rec { linux = appimageTools.wrapType2 rec {
inherit pname version meta; inherit pname version meta;
src = fetchurl { src = fetchurl {
url = "https://mochi.cards/releases/Mochi-${version}.AppImage"; url = "https://mochi.cards/releases/Mochi-${version}.AppImage";
hash = "sha256-FCh8KLnvs26GKTVJY4Tqp+iA8sNlK7e0rv+oywBIF+U="; hash = "sha256-NQ591KtWQz8hlXPhV83JEwGm+Au26PIop5KVzsyZKp4=";
}; };
appimageContents = appimageTools.extractType2 { inherit pname version src; }; appimageContents = appimageTools.extractType2 { inherit pname version src; };
@ -37,7 +37,7 @@ let
src = fetchzip { src = fetchzip {
url = "https://mochi.cards/releases/Mochi-${version}.dmg"; url = "https://mochi.cards/releases/Mochi-${version}.dmg";
hash = "sha256-W3JqEPF8iCiXlKqjPoFcm7lP+n3lN4XBeAQdBEWvy8s="; hash = "sha256-5RM4eqHQoYfO5JiUH9ol+3XxOk4VX4ocE3Yia82sovI=";
stripRoot = false; stripRoot = false;
nativeBuildInputs = [ _7zz ]; nativeBuildInputs = [ _7zz ];
}; };

View file

@ -19,7 +19,7 @@
trezorSupport ? true, trezorSupport ? true,
hidapi, hidapi,
libusb1, libusb1,
protobuf, protobuf_21,
udev, udev,
}: }:
@ -40,22 +40,17 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "monero-cli"; pname = "monero-cli";
version = "0.18.3.4"; version = "0.18.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "monero-project"; owner = "monero-project";
repo = "monero"; repo = "monero";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-nDiFJjhsISYM8kTgJUaPYL44iyccnz5+Pd5beBh+lsM="; hash = "sha256-0byMtX2f+8FqNhLPN1oLxIUTWg5RSbHfwiL8pUIAcgQ=";
}; };
patches = [ patches = [
./use-system-libraries.patch ./use-system-libraries.patch
# https://github.com/monero-project/monero/pull/9462
(fetchpatch2 {
url = "https://github.com/monero-project/monero/commit/65568d3a884857ce08d1170f5801a6891a5c187c.patch?full_index=1";
hash = "sha256-Btuy69y02UyVMmsOiCRPZhM7qW5+FRNujOZjNMRdACQ=";
})
]; ];
postPatch = '' postPatch = ''
@ -88,7 +83,7 @@ stdenv.mkDerivation rec {
python3 python3
hidapi hidapi
libusb1 libusb1
protobuf protobuf_21
] ]
++ lib.optionals (trezorSupport && stdenv.hostPlatform.isLinux) [ udev ]; ++ lib.optionals (trezorSupport && stdenv.hostPlatform.isLinux) [ udev ];
@ -99,6 +94,7 @@ stdenv.mkDerivation rec {
# required by monero-gui # required by monero-gui
"-DBUILD_GUI_DEPS=ON" "-DBUILD_GUI_DEPS=ON"
"-DReadline_ROOT_DIR=${readline.dev}" "-DReadline_ROOT_DIR=${readline.dev}"
"-Wno-dev"
] ]
++ lib.optional stdenv.hostPlatform.isDarwin "-DBoost_USE_MULTITHREADED=OFF" ++ lib.optional stdenv.hostPlatform.isDarwin "-DBoost_USE_MULTITHREADED=OFF"
++ lib.optional trezorSupport [ ++ lib.optional trezorSupport [

View file

@ -1,8 +1,8 @@
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
index 5b7f69a56..cc4b0a346 100644 index 538e4d215..cc4b0a346 100644
--- a/external/CMakeLists.txt --- a/external/CMakeLists.txt
+++ b/external/CMakeLists.txt +++ b/external/CMakeLists.txt
@@ -35,25 +35,14 @@ @@ -35,26 +35,14 @@
# ...except for FreeBSD, because FreeBSD is a special case that doesn't play well with # ...except for FreeBSD, because FreeBSD is a special case that doesn't play well with
# others. # others.
@ -10,6 +10,7 @@ index 5b7f69a56..cc4b0a346 100644
- -
-message(STATUS "Using in-tree miniupnpc") -message(STATUS "Using in-tree miniupnpc")
-set(UPNPC_NO_INSTALL TRUE CACHE BOOL "Disable miniupnp installation" FORCE) -set(UPNPC_NO_INSTALL TRUE CACHE BOOL "Disable miniupnp installation" FORCE)
-set(UPNPC_BUILD_SHARED OFF CACHE BOOL "Disable building shared library" FORCE)
-add_subdirectory(miniupnp/miniupnpc) -add_subdirectory(miniupnp/miniupnpc)
-set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external") -set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external")
-set_property(TARGET libminiupnpc-static PROPERTY POSITION_INDEPENDENT_CODE ON) -set_property(TARGET libminiupnpc-static PROPERTY POSITION_INDEPENDENT_CODE ON)
@ -34,13 +35,13 @@ index 5b7f69a56..cc4b0a346 100644
if(NOT UNBOUND_INCLUDE_DIR) if(NOT UNBOUND_INCLUDE_DIR)
die("Could not find libunbound") die("Could not find libunbound")
@@ -69,4 +58,3 @@ endif() @@ -70,4 +58,3 @@ endif()
add_subdirectory(db_drivers) add_subdirectory(db_drivers)
add_subdirectory(easylogging++) add_subdirectory(easylogging++)
add_subdirectory(qrcodegen) add_subdirectory(qrcodegen)
-add_subdirectory(randomx EXCLUDE_FROM_ALL) -add_subdirectory(randomx EXCLUDE_FROM_ALL)
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index 71f5393e8..bb48083d0 100644 index 884a7b5fc..24c10334e 100644
--- a/src/p2p/net_node.inl --- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl
@@ -60,9 +60,9 @@ @@ -60,9 +60,9 @@

View file

@ -10,47 +10,38 @@
miniupnpc, miniupnpc,
monero-cli, monero-cli,
pkg-config, pkg-config,
qtbase, qt5,
qtdeclarative,
qtgraphicaleffects,
qtmacextras,
qtmultimedia,
qtquickcontrols,
qtquickcontrols2,
qttools,
qtxmlpatterns,
quirc, quirc,
randomx, randomx,
rapidjson, rapidjson,
stdenv, stdenv,
unbound, unbound,
wrapQtAppsHook,
zeromq, zeromq,
trezorSupport ? true, trezorSupport ? true,
hidapi, hidapi,
libusb1, libusb1,
protobuf, protobuf_21,
python3, python3,
udev, udev,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "monero-gui"; pname = "monero-gui";
version = "0.18.3.4"; version = "0.18.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "monero-project"; owner = "monero-project";
repo = "monero-gui"; repo = "monero-gui";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-wnU24EmZig2W/psy4OhaQVy2WwR0CgljlyYwOg4bzwM="; hash = "sha256-JwYx5TjGp3VPPSgjN0+w1A4RoZGm7A73Gpg44fre1/c=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
pkg-config pkg-config
wrapQtAppsHook qt5.wrapQtAppsHook
(lib.getDev qttools) (lib.getDev qt5.qttools)
]; ];
buildInputs = buildInputs =
@ -60,24 +51,24 @@ stdenv.mkDerivation rec {
libgpg-error libgpg-error
libsodium libsodium
miniupnpc miniupnpc
qtbase qt5.qtbase
qtdeclarative qt5.qtdeclarative
qtgraphicaleffects qt5.qtgraphicaleffects
qtmultimedia qt5.qtmultimedia
qtquickcontrols qt5.qtquickcontrols
qtquickcontrols2 qt5.qtquickcontrols2
qtxmlpatterns qt5.qtxmlpatterns
quirc quirc
randomx randomx
rapidjson rapidjson
unbound unbound
zeromq zeromq
] ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ qtmacextras ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ qt5.qtmacextras ]
++ lib.optionals trezorSupport [ ++ lib.optionals trezorSupport [
hidapi hidapi
libusb1 libusb1
protobuf protobuf_21
python3 python3
] ]
++ lib.optionals (trezorSupport && stdenv.hostPlatform.isLinux) [ ++ lib.optionals (trezorSupport && stdenv.hostPlatform.isLinux) [

View file

@ -7,16 +7,16 @@
buildGoModule rec { buildGoModule rec {
pname = "nats-server"; pname = "nats-server";
version = "2.11.1"; version = "2.11.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nats-io"; owner = "nats-io";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-KzZYaxpfTUgOHeuG9mddbmab5jDbEjxkB8IGLKr4W1Q="; hash = "sha256-Z4EBXWUtBzW65ONvt94sKzVDHw8qVz2cR5qewUm5nXI=";
}; };
vendorHash = "sha256-CvxAP35/hinewnNhrW9urI0J3DI5QfZybbyRbz9Ol4s="; vendorHash = "sha256-uCNTUfYfMDjgM3RXsgAIzIFSuoHOCVks8aBR58RlU6Q=";
doCheck = false; doCheck = false;

View file

@ -6,13 +6,13 @@
buildGoModule rec { buildGoModule rec {
pname = "nhost-cli"; pname = "nhost-cli";
version = "1.29.5"; version = "1.29.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nhost"; owner = "nhost";
repo = "cli"; repo = "cli";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-x6/hPW8sD/wwgjlA6+Cz3t3c7KICD/bhzz5yfks/In8="; hash = "sha256-h5M6OZ22/fb6sI536/+n164jHgxQD5Z1ds2dcDj1IjI=";
}; };
vendorHash = null; vendorHash = null;

View file

@ -5,7 +5,7 @@
boost, boost,
cmake, cmake,
git, git,
hyperscan, vectorscan,
openssl, openssl,
pkg-config, pkg-config,
}: }:
@ -46,7 +46,7 @@ rustPlatform.buildRustPackage rec {
]; ];
buildInputs = [ buildInputs = [
boost boost
hyperscan vectorscan
openssl openssl
]; ];
@ -59,7 +59,5 @@ rustPlatform.buildRustPackage rec {
changelog = "https://github.com/praetorian-inc/noseyparker/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/praetorian-inc/noseyparker/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ _0x4A6F ]; maintainers = with maintainers; [ _0x4A6F ];
# limited by hyperscan
platforms = [ "x86_64-linux" ];
}; };
} }

View file

@ -44,13 +44,13 @@
clangStdenv.mkDerivation (finalAttrs: { clangStdenv.mkDerivation (finalAttrs: {
pname = "ossia-score"; pname = "ossia-score";
version = "3.5.1"; version = "3.5.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ossia"; owner = "ossia";
repo = "score"; repo = "score";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-f4n1EPOAAAWyHJvbA2xF1ZpOd9sjo4NWG73EaDik78Q="; hash = "sha256-pm+CB1DMO5iyXzt4XR1OQUyTr37R007a64AHDbecJk0=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View file

@ -197,6 +197,11 @@ buildPythonApplication rec {
"pre_commit" "pre_commit"
]; ];
# add gitMinimal as fallback, if git is not installed
preFixup = ''
makeWrapperArgs+=(--suffix PATH : ${lib.makeBinPath [ gitMinimal ]})
'';
passthru.tests = callPackage ./tests.nix { passthru.tests = callPackage ./tests.nix {
inherit gitMinimal pre-commit; inherit gitMinimal pre-commit;
}; };

View file

@ -8,7 +8,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "prefect"; pname = "prefect";
version = "3.3.5"; version = "3.4.0";
pyproject = true; pyproject = true;
# Trying to install from source is challenging # Trying to install from source is challenging
@ -17,7 +17,7 @@ python3Packages.buildPythonApplication rec {
# Source will be missing sdist, uv.lock, ui artefacts ... # Source will be missing sdist, uv.lock, ui artefacts ...
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-L5L1ldEpOHJPE9K8UPvpUZlF/85mm5llN912LIlvs9k="; hash = "sha256-uguh6sOIy0mOASFsw8ADb8vpmQm7S+t4ZS/6MFFYiic=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [

View file

@ -10,13 +10,13 @@ let
in in
buildGoModule rec { buildGoModule rec {
pname = "process-compose"; pname = "process-compose";
version = "1.46.0"; version = "1.63.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "F1bonacc1"; owner = "F1bonacc1";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-E7ovd/dNSMxVld7CS4ZjxZxUVDXLuoQR7W4ZZ1cPMP0="; hash = "sha256-FnxpaaZLpYMqLGXv/9HP3jh0DuujXoDH2H+omRzgeyQ=";
# 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;
@ -45,7 +45,7 @@ buildGoModule rec {
installShellFiles installShellFiles
]; ];
vendorHash = "sha256-pztub6PsHhF56ks4UFG9u/mGrvKFUZi+7EudpP9DVYE="; vendorHash = "sha256-4ktj2mRSrY81xvQJd76jo9WJw/ohHXypWuSANp9C+6U=";
doCheck = false; doCheck = false;

View file

@ -13,13 +13,13 @@
rustPlatform.buildRustPackage (finalAttrs: { rustPlatform.buildRustPackage (finalAttrs: {
pname = "proksi"; pname = "proksi";
version = "0.5.3"; version = "0.5.3-unstable-2025-05-05";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "luizfonseca"; owner = "luizfonseca";
repo = "proksi"; repo = "proksi";
tag = "proksi-v${finalAttrs.version}"; rev = "d0d95bd0bc142fafbe095248597a057524ff0721";
hash = "sha256-zwLF6yL/EqyBtZ+hHXLJRe2UaZyhSzotEFYlpoLXKZ4="; hash = "sha256-D+MS7Y7aKlgAY7T2vq+rayZ8fjP+98gGJrF5qLvH37Q=";
}; };
postPatch = '' postPatch = ''
@ -27,7 +27,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
''; '';
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-vFZUcHh/gI4fdlM6LcN+6kjweLUnPNYNq6Y+XxWoSl8="; cargoHash = "sha256-HEwtaERPw6llwhXPgifrtuO1fjV1gCEuH80PaIukp6Q=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
@ -61,11 +61,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeInstallCheckInputs = [ versionCheckHook ]; nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version"; versionCheckProgramArg = "--version";
doInstallCheck = true; doInstallCheck = true;
# remove after updating to the next stable version
preVersionCheck = ''
export version=0.5.3
'';
passthru.updateScript = nix-update-script { passthru.updateScript = nix-update-script {
extraArgs = [ extraArgs = [
"--version-regex" "--version=branch"
"proksi-v(.*)" "--version-regex=proksi-v(.*)"
]; ];
}; };

View file

@ -32,7 +32,6 @@ stdenv.mkDerivation (finalAttrs: {
mainProgram = "smpq"; mainProgram = "smpq";
maintainers = with lib.maintainers; [ maintainers = with lib.maintainers; [
aanderse aanderse
karolchmist
]; ];
platforms = lib.platforms.all; platforms = lib.platforms.all;
}; };

View file

@ -56,7 +56,6 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maintainers = with lib.maintainers; [
aanderse aanderse
karolchmist
]; ];
platforms = lib.platforms.all; platforms = lib.platforms.all;
broken = stdenv.hostPlatform.isDarwin; # installation directory mismatch broken = stdenv.hostPlatform.isDarwin; # installation directory mismatch

View file

@ -0,0 +1,13 @@
diff --git a/gui/macro.c b/gui/macro.c
index ae8db8b..226d48f 100644
--- a/gui/macro.c
+++ b/gui/macro.c
@@ -86,7 +86,7 @@ void tilem_macro_add_action(TilemMacro* macro, int type, char * value) {
macro->actions = tilem_macro_actions_new(macro, n + 1);
/* Then we need to save the action */
- macro->actions[n] = g_new(char, strlen(value)); /* FIXME : gcc says : "assignment from incompatible pointer type" ??? */
+ macro->actions[n] = g_new(TilemMacroAtom, 1); /* FIXME : gcc says : "assignment from incompatible pointer type" ??? */
macro->actions[n]->value = g_strdup(value);
macro->actions[n]->type = type;
macro->n++;

View file

@ -27,6 +27,7 @@ stdenv.mkDerivation rec {
libticables2 libticables2
libticalcs2 libticalcs2
]; ];
patches = [ ./gcc14-fix.patch ];
env.NIX_CFLAGS_COMPILE = toString [ "-lm" ]; env.NIX_CFLAGS_COMPILE = toString [ "-lm" ];
meta = with lib; { meta = with lib; {
homepage = "http://lpg.ticalc.org/prj_tilem/"; homepage = "http://lpg.ticalc.org/prj_tilem/";

View file

@ -8,14 +8,14 @@
}: }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "ytdl-sub"; pname = "ytdl-sub";
version = "2025.04.18"; version = "2025.05.05";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jmbannon"; owner = "jmbannon";
repo = "ytdl-sub"; repo = "ytdl-sub";
tag = version; tag = version;
hash = "sha256-TaZS9kaBcl6F1CvP8q4pGcZE1b1dAf1qnXHjfM/AFWg="; hash = "sha256-zLYP3iGbTcWuffed7o5RuoYjlUvVFRt8FUOhL1vbW/U=";
}; };
postPatch = '' postPatch = ''

View file

@ -7,7 +7,6 @@
liblxqt, liblxqt,
libqtxdg, libqtxdg,
lxqt-build-tools, lxqt-build-tools,
pcre,
pkg-config, pkg-config,
polkit, polkit,
polkit-qt-1, polkit-qt-1,
@ -42,7 +41,6 @@ stdenv.mkDerivation rec {
kwindowsystem kwindowsystem
liblxqt liblxqt
libqtxdg libqtxdg
pcre
polkit polkit
polkit-qt-1 polkit-qt-1
qtbase qtbase

View file

@ -26,13 +26,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "appcenter"; pname = "appcenter";
version = "8.1.0"; version = "8.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-jVMXSy83z4zaG1YtCPRGvj1yl6wa5MJYtNp4XIsIY1k="; hash = "sha256-dginzwQrzcgnVdRO54cGPVh6+yVx0zLsFeeAVhxWFnE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -43,7 +43,6 @@ stdenv.mkDerivation (finalAttrs: {
platforms = platforms.all; platforms = platforms.all;
mainProgram = "scala"; mainProgram = "scala";
maintainers = with maintainers; [ maintainers = with maintainers; [
karolchmist
virusdave virusdave
kashw2 kashw2
natsukagami natsukagami

View file

@ -129,8 +129,8 @@ stdenv.mkDerivation (
]; ];
env = { env = {
# only build shell/IDE docs and man pages # only build man pages and shell/IDE docs
DOC_TARGETS = "chunks man"; DOC_TARGETS = "man chunks";
}; };
buildInputs = buildInputs =

View file

@ -14,22 +14,19 @@
poetry-core, poetry-core,
pytest-aiohttp, pytest-aiohttp,
pytestCheckHook, pytestCheckHook,
pythonOlder,
redis, redis,
url-normalize, url-normalize,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiohttp-client-cache"; pname = "aiohttp-client-cache";
version = "0.12.4"; version = "0.13.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
pname = "aiohttp_client_cache"; pname = "aiohttp_client_cache";
inherit version; inherit version;
hash = "sha256-5g/oFhNrWx1m87trJyq4HZeFTqHk2bVwhaNgQmln0mU="; hash = "sha256-3FzWI0CtvuGOD+3HsMN1Qmkt8I+O2ZRddRtykqBDOFM=";
}; };
build-system = [ poetry-core ]; build-system = [ poetry-core ];

View file

@ -3,40 +3,41 @@
buildPythonPackage, buildPythonPackage,
pythonOlder, pythonOlder,
fetchFromGitHub, fetchFromGitHub,
setuptools,
typing-extensions, typing-extensions,
pytestCheckHook, pytestCheckHook,
pytest-asyncio, pytest-asyncio,
pytest-cov-stub,
pytest-timeout,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "async-lru"; pname = "async-lru";
version = "2.0.4"; version = "2.0.5";
pyproject = true;
disabled = pythonOlder "3.8";
format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aio-libs"; owner = "aio-libs";
repo = "async-lru"; repo = "async-lru";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-S2sOkgtS+YdMtVP7UHD3+oR8Fem8roLhhgVVfh33PcM="; hash = "sha256-FJ1q6W9IYs0OSMZc+bI4v22hOAAWAv2OW3BAqixm8Hs=";
}; };
propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [ typing-extensions ]; build-system = [ setuptools ];
postPatch = '' dependencies = lib.optionals (pythonOlder "3.11") [ typing-extensions ];
sed -i -e '/^addopts/d' -e '/^filterwarnings/,+2d' setup.cfg
'';
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
pytest-asyncio pytest-asyncio
pytest-cov-stub
pytest-timeout
]; ];
pythonImportsCheck = [ "async_lru" ]; pythonImportsCheck = [ "async_lru" ];
meta = with lib; { meta = with lib; {
changelog = "https://github.com/aio-libs/async-lru/releases/tag/${src.tag}";
description = "Simple lru cache for asyncio"; description = "Simple lru cache for asyncio";
homepage = "https://github.com/wikibusiness/async_lru"; homepage = "https://github.com/wikibusiness/async_lru";
license = licenses.mit; license = licenses.mit;

View file

@ -29,6 +29,12 @@ buildPythonPackage rec {
hash = "sha256-7lSK9IGu/K03xSDxZv+BSTJwLrQoHs+POBq/ixYTVR4="; hash = "sha256-7lSK9IGu/K03xSDxZv+BSTJwLrQoHs+POBq/ixYTVR4=";
}; };
# Upstream setup.py installs both the CLI and GUI versions.
# To pull only the required dependencyes, either setup_cli.py or setup_gui.py should be used.
postPatch = ''
mv setup_cli.py setup.py
'';
pythonRelaxDeps = [ "pyasyncore" ]; pythonRelaxDeps = [ "pyasyncore" ];
build-system = [ setuptools ]; build-system = [ setuptools ];
@ -48,8 +54,13 @@ buildPythonPackage rec {
"test_monitor_get_stats" "test_monitor_get_stats"
"test_monitor_update_with_reporting_enabled" "test_monitor_update_with_reporting_enabled"
"test_erasure_recovery" "test_erasure_recovery"
# Non-NixOS package managers are not present in the build environment.
"test_parse_upgradable_list_apt"
"test_parse_upgradable_list_dnf"
]; ];
disabledTestPaths = [ "blocksatgui/tests/" ];
pythonImportsCheck = [ "blocksatcli" ]; pythonImportsCheck = [ "blocksatcli" ];
meta = with lib; { meta = with lib; {

View file

@ -11,14 +11,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyisy"; pname = "pyisy";
version = "3.4.0"; version = "3.4.1";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "automicus"; owner = "automicus";
repo = "PyISY"; repo = "PyISY";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-rXSkDG7AK8+r4x3ttk7GJw1hH+xLLVx0gTGK0PvQNfE="; hash = "sha256-9gGrrFh5xCuX4GjF6a6RRGkpF/rH07Zz0nyKvgwgEkU=";
}; };
postPatch = '' postPatch = ''

View file

@ -68,6 +68,6 @@ buildPythonPackage rec {
import the project being documented. import the project being documented.
''; '';
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ karolchmist ]; maintainers = with maintainers; [ ];
}; };
} }

View file

@ -2,58 +2,42 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
fetchpatch, idna,
poetry-core, pytest-cov-stub,
pytest-flakes,
pytest-mock,
pytest-socket, pytest-socket,
pytestCheckHook, pytestCheckHook,
six, setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "url-normalize"; pname = "url-normalize";
version = "1.4.3"; version = "2.2.1";
format = "pyproject"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "niksite"; owner = "niksite";
repo = pname; repo = "url-normalize";
rev = version; tag = "v${version}";
hash = "sha256-WE3MM9B/voI23taFbLp2FYhl0uxOfuUWsaCTBG1hyiY="; hash = "sha256-ZFY1KMEHvteMFVM3QcYjCiTz3dLxRWyv/dZQMzVxGvo=";
}; };
nativeBuildInputs = [ poetry-core ]; build-system = [ setuptools ];
propagatedBuildInputs = [ six ]; dependencies = [ idna ];
nativeCheckInputs = [ nativeCheckInputs = [
pytest-flakes pytest-cov-stub
pytest-mock
pytest-socket pytest-socket
pytestCheckHook pytestCheckHook
]; ];
patches = [
# Switch to poetry-core, https://github.com/niksite/url-normalize/pull/28
(fetchpatch {
name = "switch-to-poetry-core.patch";
url = "https://github.com/niksite/url-normalize/commit/b8557b10c977b191cc9d37e6337afe874a24ad08.patch";
hash = "sha256-SVCQATV9V6HbLmjOHs7V7eBagO0PuqZLubIJghBYfQQ=";
})
];
postPatch = ''
sed -i "/--cov/d" tox.ini
sed -i "/--flakes/d" tox.ini
'';
pythonImportsCheck = [ "url_normalize" ]; pythonImportsCheck = [ "url_normalize" ];
meta = with lib; { meta = {
changelog = "https://github.com/niksite/url-normalize/blob/${src.tag}/CHANGELOG.md";
description = "URL normalization for Python"; description = "URL normalization for Python";
homepage = "https://github.com/niksite/url-normalize"; homepage = "https://github.com/niksite/url-normalize";
license = with licenses; [ mit ]; license = lib.licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with lib.maintainers; [ fab ];
}; };
} }

View file

@ -1,7 +1,7 @@
{ {
"testing": { "testing": {
"version": "6.15-rc4", "version": "6.15-rc5",
"hash": "sha256:0zg817b9bbpl80cjmxgmxivi6xr80hng704mdl6m5knrl0v4ay5j" "hash": "sha256:158bpvdbgaknywz4wh3k72qf85p5n3szk5h74cnpya8ic5z5qpmb"
}, },
"6.1": { "6.1": {
"version": "6.1.136", "version": "6.1.136",

View file

@ -220,18 +220,6 @@ stdenv.mkDerivation {
./nix-etag-1.15.4.patch ./nix-etag-1.15.4.patch
./nix-skip-check-logs-path.patch ./nix-skip-check-logs-path.patch
] ]
++
lib.optionals
(lib.elem pname [
"nginx"
"nginxQuic"
"tengine"
])
[
# https://github.com/NixOS/nixpkgs/issues/357522
# https://github.com/zlib-ng/patches/blob/5a036c0a00120c75ee573b27f4f44ade80d82ff2/nginx/README.md
./nginx-zlib-ng.patch
]
++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
(fetchpatch { (fetchpatch {
url = "https://raw.githubusercontent.com/openwrt/packages/c057dfb09c7027287c7862afab965a4cd95293a3/net/nginx/patches/102-sizeof_test_fix.patch"; url = "https://raw.githubusercontent.com/openwrt/packages/c057dfb09c7027287c7862afab965a4cd95293a3/net/nginx/patches/102-sizeof_test_fix.patch";

View file

@ -1,271 +0,0 @@
--- a/auto/lib/zlib/conf
+++ b/auto/lib/zlib/conf
@@ -33,8 +33,8 @@ if [ $ZLIB != NONE ]; then
*)
have=NGX_ZLIB . auto/have
- LINK_DEPS="$LINK_DEPS $ZLIB/libz.a"
- CORE_LIBS="$CORE_LIBS $ZLIB/libz.a"
+ LINK_DEPS="$LINK_DEPS $ZLIB/libz-ng.a"
+ CORE_LIBS="$CORE_LIBS $ZLIB/libz-ng.a"
#CORE_LIBS="$CORE_LIBS -L $ZLIB -lz"
;;
@@ -50,10 +50,10 @@ else
ngx_feature="zlib library"
ngx_feature_name="NGX_ZLIB"
ngx_feature_run=no
- ngx_feature_incs="#include <zlib.h>"
+ ngx_feature_incs="#include <zlib-ng.h>"
ngx_feature_path=
- ngx_feature_libs="-lz"
- ngx_feature_test="z_stream z; deflate(&z, Z_NO_FLUSH)"
+ ngx_feature_libs="-lz-ng"
+ ngx_feature_test="zng_stream z; zng_deflate(&z, Z_NO_FLUSH)"
. auto/feature
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index 1861be6..bd427b8 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -141,5 +141,9 @@ typedef intptr_t ngx_flag_t;
#endif
+/* Force enable ZLIB-NG */
+#ifndef NGX_ZLIB_NG
+#define NGX_ZLIB_NG 1
+#endif
#endif /* _NGX_CONFIG_H_INCLUDED_ */
diff --git a/src/http/modules/ngx_http_gunzip_filter_module.c b/src/http/modules/ngx_http_gunzip_filter_module.c
index 5d170a1..d8dcc96 100644
--- a/src/http/modules/ngx_http_gunzip_filter_module.c
+++ b/src/http/modules/ngx_http_gunzip_filter_module.c
@@ -10,7 +10,14 @@
#include <ngx_core.h>
#include <ngx_http.h>
-#include <zlib.h>
+#if defined(NGX_ZLIB_NG)
+# include <zlib-ng.h>
+# define ZPREFIX(x) zng_ ## x
+# define z_stream zng_stream
+#elif defined(NGX_ZLIB)
+# include <zlib.h>
+# define ZPREFIX(x) x
+#endif
typedef struct {
@@ -312,7 +319,7 @@ ngx_http_gunzip_filter_inflate_start(ngx_http_request_t *r,
ctx->zstream.opaque = ctx;
/* windowBits +16 to decode gzip, zlib 1.2.0.4+ */
- rc = inflateInit2(&ctx->zstream, MAX_WBITS + 16);
+ rc = ZPREFIX(inflateInit2)(&ctx->zstream, MAX_WBITS + 16);
if (rc != Z_OK) {
ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
@@ -435,7 +442,7 @@ ngx_http_gunzip_filter_inflate(ngx_http_request_t *r,
ctx->zstream.avail_in, ctx->zstream.avail_out,
ctx->flush, ctx->redo);
- rc = inflate(&ctx->zstream, ctx->flush);
+ rc = ZPREFIX(inflate)(&ctx->zstream, ctx->flush);
if (rc != Z_OK && rc != Z_STREAM_END && rc != Z_BUF_ERROR) {
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
@@ -533,7 +540,7 @@ ngx_http_gunzip_filter_inflate(ngx_http_request_t *r,
if (rc == Z_STREAM_END && ctx->zstream.avail_in > 0) {
- rc = inflateReset(&ctx->zstream);
+ rc = ZPREFIX(inflateReset)(&ctx->zstream);
if (rc != Z_OK) {
ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
@@ -584,7 +591,7 @@ ngx_http_gunzip_filter_inflate_end(ngx_http_request_t *r,
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
"gunzip inflate end");
- rc = inflateEnd(&ctx->zstream);
+ rc = ZPREFIX(inflateEnd)(&ctx->zstream);
if (rc != Z_OK) {
ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
diff --git a/src/http/modules/ngx_http_gzip_filter_module.c b/src/http/modules/ngx_http_gzip_filter_module.c
index 7113df6..d6c2ea1 100644
--- a/src/http/modules/ngx_http_gzip_filter_module.c
+++ b/src/http/modules/ngx_http_gzip_filter_module.c
@@ -9,7 +9,14 @@
#include <ngx_core.h>
#include <ngx_http.h>
-#include <zlib.h>
+#if defined(NGX_ZLIB_NG)
+# include <zlib-ng.h>
+# define ZPREFIX(x) zng_ ## x
+# define z_stream zng_stream
+#elif defined(NGX_ZLIB)
+# include <zlib.h>
+# define ZPREFIX(x) x
+#endif
typedef struct {
@@ -454,7 +461,7 @@ failed:
ctx->done = 1;
if (ctx->preallocated) {
- deflateEnd(&ctx->zstream);
+ ZPREFIX(deflateEnd)(&ctx->zstream);
ngx_pfree(r->pool, ctx->preallocated);
}
@@ -527,10 +534,20 @@ ngx_http_gzip_filter_memory(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx)
wbits = ngx_max(wbits, 13);
}
- ctx->allocated = 8192 + 16 + (1 << (wbits + 2))
- + 131072 + (5 << (memlevel + 6))
- + 4 * (64 + sizeof(void*));
ctx->zlib_ng = 1;
+ ctx->allocated = 6144 // State
+ + 65536 // Window
+ + 65536 // Prev
+ + 131072 // Head
+ + 163840 // Pending
+ + 56 + 8 // Alloc struct + padding
+#if (defined(__s390__) || defined(__s390x__) || defined(__zarch__))
+ + 4096 // Required to fix allocation alignment
+#else
+ + 64 // Required to fix allocation alignment
+#endif
+ + 256; // Extra to allow for future changes
+
}
}
@@ -623,7 +640,7 @@ ngx_http_gzip_filter_deflate_start(ngx_http_request_t *r,
ctx->zstream.zfree = ngx_http_gzip_filter_free;
ctx->zstream.opaque = ctx;
- rc = deflateInit2(&ctx->zstream, (int) conf->level, Z_DEFLATED,
+ rc = ZPREFIX(deflateInit2)(&ctx->zstream, (int) conf->level, Z_DEFLATED,
ctx->wbits + 16, ctx->memlevel, Z_DEFAULT_STRATEGY);
if (rc != Z_OK) {
@@ -758,7 +775,7 @@ ngx_http_gzip_filter_deflate(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx)
ctx->zstream.avail_in, ctx->zstream.avail_out,
ctx->flush, ctx->redo);
- rc = deflate(&ctx->zstream, ctx->flush);
+ rc = ZPREFIX(deflate)(&ctx->zstream, ctx->flush);
if (rc != Z_OK && rc != Z_STREAM_END && rc != Z_BUF_ERROR) {
ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
@@ -882,7 +899,7 @@ ngx_http_gzip_filter_deflate_end(ngx_http_request_t *r,
ctx->zin = ctx->zstream.total_in;
ctx->zout = ctx->zstream.total_out;
- rc = deflateEnd(&ctx->zstream);
+ rc = ZPREFIX(deflateEnd)(&ctx->zstream);
if (rc != Z_OK) {
ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
diff --git a/src/http/modules/ngx_http_log_module.c b/src/http/modules/ngx_http_log_module.c
index f7c4bd2..ad71d4d 100644
--- a/src/http/modules/ngx_http_log_module.c
+++ b/src/http/modules/ngx_http_log_module.c
@@ -9,8 +9,13 @@
#include <ngx_core.h>
#include <ngx_http.h>
-#if (NGX_ZLIB)
-#include <zlib.h>
+#if defined(NGX_ZLIB_NG)
+# include <zlib-ng.h>
+# define ZPREFIX(x) zng_ ## x
+# define z_stream zng_stream
+#elif defined(NGX_ZLIB)
+# include <zlib.h>
+# define ZPREFIX(x) x
#endif
@@ -634,7 +639,7 @@ ngx_http_log_gzip(ngx_fd_t fd, u_char *buf, size_t len, ngx_int_t level,
zstream.next_out = out;
zstream.avail_out = size;
- rc = deflateInit2(&zstream, (int) level, Z_DEFLATED, wbits + 16, memlevel,
+ rc = ZPREFIX(deflateInit2)(&zstream, (int) level, Z_DEFLATED, wbits + 16, memlevel,
Z_DEFAULT_STRATEGY);
if (rc != Z_OK) {
@@ -647,7 +652,7 @@ ngx_http_log_gzip(ngx_fd_t fd, u_char *buf, size_t len, ngx_int_t level,
zstream.next_in, zstream.next_out,
zstream.avail_in, zstream.avail_out);
- rc = deflate(&zstream, Z_FINISH);
+ rc = ZPREFIX(deflate)(&zstream, Z_FINISH);
if (rc != Z_STREAM_END) {
ngx_log_error(NGX_LOG_ALERT, log, 0,
@@ -663,7 +668,7 @@ ngx_http_log_gzip(ngx_fd_t fd, u_char *buf, size_t len, ngx_int_t level,
size -= zstream.avail_out;
- rc = deflateEnd(&zstream);
+ rc = ZPREFIX(deflateEnd)(&zstream);
if (rc != Z_OK) {
ngx_log_error(NGX_LOG_ALERT, log, 0, "deflateEnd() failed: %d", rc);
diff --git a/src/stream/ngx_stream_log_module.c b/src/stream/ngx_stream_log_module.c
index 0ff7f42..0b9d12c 100644
--- a/src/stream/ngx_stream_log_module.c
+++ b/src/stream/ngx_stream_log_module.c
@@ -9,8 +9,13 @@
#include <ngx_core.h>
#include <ngx_stream.h>
-#if (NGX_ZLIB)
-#include <zlib.h>
+#if defined(NGX_ZLIB_NG)
+# include <zlib-ng.h>
+# define ZPREFIX(x) zng_ ## x
+# define z_stream zng_stream
+#elif defined(NGX_ZLIB)
+# include <zlib.h>
+# define ZPREFIX(x) x
#endif
@@ -525,7 +530,7 @@ ngx_stream_log_gzip(ngx_fd_t fd, u_char *buf, size_t len, ngx_int_t level,
zstream.next_out = out;
zstream.avail_out = size;
- rc = deflateInit2(&zstream, (int) level, Z_DEFLATED, wbits + 16, memlevel,
+ rc = ZPREFIX(deflateInit2)(&zstream, (int) level, Z_DEFLATED, wbits + 16, memlevel,
Z_DEFAULT_STRATEGY);
if (rc != Z_OK) {
@@ -538,7 +543,7 @@ ngx_stream_log_gzip(ngx_fd_t fd, u_char *buf, size_t len, ngx_int_t level,
zstream.next_in, zstream.next_out,
zstream.avail_in, zstream.avail_out);
- rc = deflate(&zstream, Z_FINISH);
+ rc = ZPREFIX(deflate)(&zstream, Z_FINISH);
if (rc != Z_STREAM_END) {
ngx_log_error(NGX_LOG_ALERT, log, 0,
@@ -554,7 +559,7 @@ ngx_stream_log_gzip(ngx_fd_t fd, u_char *buf, size_t len, ngx_int_t level,
size -= zstream.avail_out;
- rc = deflateEnd(&zstream);
+ rc = ZPREFIX(deflateEnd)(&zstream);
if (rc != Z_OK) {
ngx_log_error(NGX_LOG_ALERT, log, 0, "deflateEnd() failed: %d", rc);

View file

@ -7,17 +7,17 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "laurel"; pname = "laurel";
version = "0.7.0"; version = "0.7.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "threathunters-io"; owner = "threathunters-io";
repo = "laurel"; repo = "laurel";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-fToxRAcZOZvuuzaaWSjweqEwdUu3K2EKXY0K2Qixqpo="; hash = "sha256-rOf7UtkMoYpReZr/2135QcpMEfYD80IY4zF0TwAWr4I=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-i5wsS7y65sIvICfgViVIAbQU9f1E0EmspX+YVKDSKOU="; cargoHash = "sha256-Pfs4Bg6VZIiiXQu0ZKcDi9zeEYl08kOnWi3R2iaQG24=";
postPatch = '' postPatch = ''
# Upstream started to redirect aarch64-unknown-linux-gnu to aarch64-linux-gnu-gcc # Upstream started to redirect aarch64-unknown-linux-gnu to aarch64-linux-gnu-gcc
@ -29,6 +29,14 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ rustPlatform.bindgenHook ]; nativeBuildInputs = [ rustPlatform.bindgenHook ];
buildInputs = [ acl ]; buildInputs = [ acl ];
checkFlags = [
# Nix' build sandbox does not allow setting ACLs:
# https://github.com/NixOS/nix/blob/2.28.3/src/libstore/unix/build/local-derivation-goal.cc#L1760-L1769
# Skip the tests that are failing with "Operation not supported (os error 95)" because of this:
"--skip=rotate::test::existing"
"--skip=rotate::test::fresh_file"
];
meta = with lib; { meta = with lib; {
description = "Transform Linux Audit logs for SIEM usage"; description = "Transform Linux Audit logs for SIEM usage";
homepage = "https://github.com/threathunters-io/laurel"; homepage = "https://github.com/threathunters-io/laurel";

View file

@ -7,17 +7,17 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "nushell_plugin_net"; pname = "nushell_plugin_net";
version = "1.9.0"; version = "1.10.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fennewald"; owner = "fennewald";
repo = "nu_plugin_net"; repo = "nu_plugin_net";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-Cop2gI5xhhWhw5Cyb4CABSzqs2bxDreohOzgGh/wPXg="; hash = "sha256-HiNydU40FprxVmRRZtnXom2kFYI04mbeuGTq8+BMh7o=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-8IlCUI0HOsr06vsSv0WBxfoaEe1Dz21tZdWZ6jrNkaw="; cargoHash = "sha256-tq0XqY2B7tC2ep8vH6T3nkAqxqhniqzYnhbkfB3SbHU=";
nativeBuildInputs = [ rustPlatform.bindgenHook ]; nativeBuildInputs = [ rustPlatform.bindgenHook ];

View file

@ -901,6 +901,7 @@ mapAliases {
k3s_1_26 = throw "'k3s_1_26' has been removed from nixpkgs as it has reached end of life"; # Added 2024-05-20 k3s_1_26 = throw "'k3s_1_26' has been removed from nixpkgs as it has reached end of life"; # Added 2024-05-20
k3s_1_27 = throw "'k3s_1_27' has been removed from nixpkgs as it has reached end of life on 2024-06-28"; # Added 2024-06-01 k3s_1_27 = throw "'k3s_1_27' has been removed from nixpkgs as it has reached end of life on 2024-06-28"; # Added 2024-06-01
k3s_1_28 = throw "'k3s_1_28' has been removed from nixpkgs as it has reached end of life"; # Added 2024-12-15 k3s_1_28 = throw "'k3s_1_28' has been removed from nixpkgs as it has reached end of life"; # Added 2024-12-15
k3s_1_29 = throw "'k3s_1_29' has been removed from nixpkgs as it has reached end of life"; # Added 2025-05-05
# k3d was a 3d editing software k-3d - "k3d has been removed because it was broken and has seen no release since 2016" Added 2022-01-04 # k3d was a 3d editing software k-3d - "k3d has been removed because it was broken and has seen no release since 2016" Added 2022-01-04
# now kube3d/k3d will take it's place # now kube3d/k3d will take it's place
kube3d = k3d; # Added 2022-0705 kube3d = k3d; # Added 2022-0705

View file

@ -10568,6 +10568,7 @@ with pkgs;
nginx = nginxStable; nginx = nginxStable;
nginxQuic = callPackage ../servers/http/nginx/quic.nix { nginxQuic = callPackage ../servers/http/nginx/quic.nix {
zlib-ng = zlib-ng.override { withZlibCompat = true; };
withPerl = false; withPerl = false;
# We don't use `with` statement here on purpose! # We don't use `with` statement here on purpose!
# See https://github.com/NixOS/nixpkgs/pull/10474#discussion_r42369334 # See https://github.com/NixOS/nixpkgs/pull/10474#discussion_r42369334
@ -10581,6 +10582,7 @@ with pkgs;
}; };
nginxStable = callPackage ../servers/http/nginx/stable.nix { nginxStable = callPackage ../servers/http/nginx/stable.nix {
zlib-ng = zlib-ng.override { withZlibCompat = true; };
withPerl = false; withPerl = false;
# We don't use `with` statement here on purpose! # We don't use `with` statement here on purpose!
# See https://github.com/NixOS/nixpkgs/pull/10474#discussion_r42369334 # See https://github.com/NixOS/nixpkgs/pull/10474#discussion_r42369334
@ -10592,6 +10594,7 @@ with pkgs;
}; };
nginxMainline = callPackage ../servers/http/nginx/mainline.nix { nginxMainline = callPackage ../servers/http/nginx/mainline.nix {
zlib-ng = zlib-ng.override { withZlibCompat = true; };
withKTLS = true; withKTLS = true;
withPerl = false; withPerl = false;
# We don't use `with` statement here on purpose! # We don't use `with` statement here on purpose!
@ -13054,7 +13057,6 @@ with pkgs;
jwm-settings-manager = callPackage ../applications/window-managers/jwm/jwm-settings-manager.nix { }; jwm-settings-manager = callPackage ../applications/window-managers/jwm/jwm-settings-manager.nix { };
inherit (callPackage ../applications/networking/cluster/k3s { }) inherit (callPackage ../applications/networking/cluster/k3s { })
k3s_1_29
k3s_1_30 k3s_1_30
k3s_1_31 k3s_1_31
k3s_1_32 k3s_1_32
@ -14852,8 +14854,6 @@ with pkgs;
ledger-agent = with python3Packages; toPythonApplication ledger-agent; ledger-agent = with python3Packages; toPythonApplication ledger-agent;
monero-gui = libsForQt5.callPackage ../applications/blockchains/monero-gui { };
napari = with python3Packages; toPythonApplication napari; napari = with python3Packages; toPythonApplication napari;
nano-wallet = libsForQt5.callPackage ../applications/blockchains/nano-wallet { }; nano-wallet = libsForQt5.callPackage ../applications/blockchains/nano-wallet { };