mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
Merge master into staging-next
This commit is contained in:
commit
3578961ffe
70 changed files with 598 additions and 285 deletions
65
.github/workflows/eval.yml
vendored
65
.github/workflows/eval.yml
vendored
|
@ -19,54 +19,14 @@ jobs:
|
||||||
get-merge-commit:
|
get-merge-commit:
|
||||||
uses: ./.github/workflows/get-merge-commit.yml
|
uses: ./.github/workflows/get-merge-commit.yml
|
||||||
|
|
||||||
attrs:
|
|
||||||
name: Attributes
|
|
||||||
runs-on: ubuntu-24.04-arm
|
|
||||||
needs: get-merge-commit
|
|
||||||
if: needs.get-merge-commit.outputs.mergedSha
|
|
||||||
outputs:
|
|
||||||
targetSha: ${{ steps.targetSha.outputs.targetSha }}
|
|
||||||
systems: ${{ steps.systems.outputs.systems }}
|
|
||||||
steps:
|
|
||||||
- name: Check out the PR at the test merge commit
|
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
||||||
with:
|
|
||||||
ref: ${{ needs.get-merge-commit.outputs.mergedSha }}
|
|
||||||
fetch-depth: 2
|
|
||||||
path: nixpkgs
|
|
||||||
|
|
||||||
- name: Determine target commit
|
|
||||||
if: github.event_name == 'pull_request_target'
|
|
||||||
id: targetSha
|
|
||||||
run: |
|
|
||||||
targetSha=$(git -C nixpkgs rev-parse HEAD^1)
|
|
||||||
echo "targetSha=$targetSha" >> "$GITHUB_OUTPUT"
|
|
||||||
|
|
||||||
- name: Install Nix
|
|
||||||
uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
|
|
||||||
with:
|
|
||||||
extra_nix_config: sandbox = true
|
|
||||||
|
|
||||||
- name: Evaluate the list of all attributes and get the systems matrix
|
|
||||||
id: systems
|
|
||||||
run: |
|
|
||||||
nix-build nixpkgs/ci -A eval.attrpathsSuperset
|
|
||||||
echo "systems=$(<result/systems.json)" >> "$GITHUB_OUTPUT"
|
|
||||||
|
|
||||||
- name: Upload the list of all attributes
|
|
||||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
|
||||||
with:
|
|
||||||
name: paths
|
|
||||||
path: result/*
|
|
||||||
|
|
||||||
outpaths:
|
outpaths:
|
||||||
name: Outpaths
|
name: Outpaths
|
||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-24.04-arm
|
||||||
needs: [ attrs, get-merge-commit ]
|
needs: [ get-merge-commit ]
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
system: ${{ fromJSON(needs.attrs.outputs.systems) }}
|
system: ${{ fromJSON(needs.get-merge-commit.outputs.systems) }}
|
||||||
steps:
|
steps:
|
||||||
- name: Enable swap
|
- name: Enable swap
|
||||||
run: |
|
run: |
|
||||||
|
@ -75,12 +35,6 @@ jobs:
|
||||||
sudo mkswap /swap
|
sudo mkswap /swap
|
||||||
sudo swapon /swap
|
sudo swapon /swap
|
||||||
|
|
||||||
- name: Download the list of all attributes
|
|
||||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
|
|
||||||
with:
|
|
||||||
name: paths
|
|
||||||
path: paths
|
|
||||||
|
|
||||||
- name: Check out the PR at the test merge commit
|
- name: Check out the PR at the test merge commit
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
|
@ -98,7 +52,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
nix-build nixpkgs/ci -A eval.singleSystem \
|
nix-build nixpkgs/ci -A eval.singleSystem \
|
||||||
--argstr evalSystem "$MATRIX_SYSTEM" \
|
--argstr evalSystem "$MATRIX_SYSTEM" \
|
||||||
--arg attrpathFile ./paths/paths.json \
|
|
||||||
--arg chunkSize 10000
|
--arg chunkSize 10000
|
||||||
# If it uses too much memory, slightly decrease chunkSize
|
# If it uses too much memory, slightly decrease chunkSize
|
||||||
|
|
||||||
|
@ -111,7 +64,7 @@ jobs:
|
||||||
process:
|
process:
|
||||||
name: Process
|
name: Process
|
||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-24.04-arm
|
||||||
needs: [ outpaths, attrs, get-merge-commit ]
|
needs: [ outpaths, get-merge-commit ]
|
||||||
outputs:
|
outputs:
|
||||||
targetRunId: ${{ steps.targetRunId.outputs.targetRunId }}
|
targetRunId: ${{ steps.targetRunId.outputs.targetRunId }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -146,7 +99,7 @@ jobs:
|
||||||
path: prResult/*
|
path: prResult/*
|
||||||
|
|
||||||
- name: Get target run id
|
- name: Get target run id
|
||||||
if: needs.attrs.outputs.targetSha
|
if: needs.get-merge-commit.outputs.targetSha
|
||||||
id: targetRunId
|
id: targetRunId
|
||||||
run: |
|
run: |
|
||||||
# Get the latest eval.yml workflow run for the PR's target commit
|
# Get the latest eval.yml workflow run for the PR's target commit
|
||||||
|
@ -175,7 +128,7 @@ jobs:
|
||||||
echo "targetRunId=$runId" >> "$GITHUB_OUTPUT"
|
echo "targetRunId=$runId" >> "$GITHUB_OUTPUT"
|
||||||
env:
|
env:
|
||||||
REPOSITORY: ${{ github.repository }}
|
REPOSITORY: ${{ github.repository }}
|
||||||
TARGET_SHA: ${{ needs.attrs.outputs.targetSha }}
|
TARGET_SHA: ${{ needs.get-merge-commit.outputs.targetSha }}
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
|
@ -189,8 +142,8 @@ jobs:
|
||||||
- name: Compare against the target branch
|
- name: Compare against the target branch
|
||||||
if: steps.targetRunId.outputs.targetRunId
|
if: steps.targetRunId.outputs.targetRunId
|
||||||
run: |
|
run: |
|
||||||
git -C nixpkgs worktree add ../target ${{ needs.attrs.outputs.targetSha }}
|
git -C nixpkgs worktree add ../target ${{ needs.get-merge-commit.outputs.targetSha }}
|
||||||
git -C nixpkgs diff --name-only ${{ needs.attrs.outputs.targetSha }} \
|
git -C nixpkgs diff --name-only ${{ needs.get-merge-commit.outputs.targetSha }} \
|
||||||
| jq --raw-input --slurp 'split("\n")[:-1]' > touched-files.json
|
| jq --raw-input --slurp 'split("\n")[:-1]' > touched-files.json
|
||||||
|
|
||||||
# Use the target branch to get accurate maintainer info
|
# Use the target branch to get accurate maintainer info
|
||||||
|
@ -213,7 +166,7 @@ jobs:
|
||||||
tag:
|
tag:
|
||||||
name: Tag
|
name: Tag
|
||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-24.04-arm
|
||||||
needs: [ attrs, process ]
|
needs: [ process ]
|
||||||
if: needs.process.outputs.targetRunId
|
if: needs.process.outputs.targetRunId
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
@ -244,7 +197,7 @@ jobs:
|
||||||
- name: Check out Nixpkgs at the base commit
|
- name: Check out Nixpkgs at the base commit
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
ref: ${{ needs.attrs.outputs.targetSha }}
|
ref: ${{ needs.get-merge-commit.outputs.targetSha }}
|
||||||
path: base
|
path: base
|
||||||
sparse-checkout: ci
|
sparse-checkout: ci
|
||||||
|
|
||||||
|
|
20
.github/workflows/get-merge-commit.yml
vendored
20
.github/workflows/get-merge-commit.yml
vendored
|
@ -6,6 +6,12 @@ on:
|
||||||
mergedSha:
|
mergedSha:
|
||||||
description: "The merge commit SHA"
|
description: "The merge commit SHA"
|
||||||
value: ${{ jobs.resolve-merge-commit.outputs.mergedSha }}
|
value: ${{ jobs.resolve-merge-commit.outputs.mergedSha }}
|
||||||
|
targetSha:
|
||||||
|
description: "The target commit SHA"
|
||||||
|
value: ${{ jobs.resolve-merge-commit.outputs.targetSha }}
|
||||||
|
systems:
|
||||||
|
description: "The supported systems"
|
||||||
|
value: ${{ jobs.resolve-merge-commit.outputs.systems }}
|
||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
@ -14,6 +20,8 @@ jobs:
|
||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-24.04-arm
|
||||||
outputs:
|
outputs:
|
||||||
mergedSha: ${{ steps.merged.outputs.mergedSha }}
|
mergedSha: ${{ steps.merged.outputs.mergedSha }}
|
||||||
|
targetSha: ${{ steps.merged.outputs.targetSha }}
|
||||||
|
systems: ${{ steps.systems.outputs.systems }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
|
@ -31,13 +39,17 @@ jobs:
|
||||||
echo "mergedSha=${{ github.sha }}" >> "$GITHUB_OUTPUT"
|
echo "mergedSha=${{ github.sha }}" >> "$GITHUB_OUTPUT"
|
||||||
;;
|
;;
|
||||||
pull_request_target)
|
pull_request_target)
|
||||||
if mergedSha=$(base/ci/get-merge-commit.sh ${{ github.repository }} ${{ github.event.number }}); then
|
if commits=$(base/ci/get-merge-commit.sh ${{ github.repository }} ${{ github.event.number }}); then
|
||||||
echo "Checking the merge commit $mergedSha"
|
echo "Checking the commits:\n$commits"
|
||||||
echo "mergedSha=$mergedSha" >> "$GITHUB_OUTPUT"
|
echo "$commits" >> "$GITHUB_OUTPUT"
|
||||||
else
|
else
|
||||||
# Skipping so that no notifications are sent
|
# Skipping so that no notifications are sent
|
||||||
echo "Skipping the rest..."
|
echo "Skipping the rest..."
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
rm -rf base
|
|
||||||
|
- name: Load supported systems
|
||||||
|
id: systems
|
||||||
|
run: |
|
||||||
|
echo "systems=$(jq -c <base/ci/supportedSystems.json)" >> "$GITHUB_OUTPUT"
|
||||||
|
|
|
@ -44,14 +44,14 @@ Why not just build the tooling right from the PRs Nixpkgs version?
|
||||||
## `get-merge-commit.sh GITHUB_REPO PR_NUMBER`
|
## `get-merge-commit.sh GITHUB_REPO PR_NUMBER`
|
||||||
|
|
||||||
Check whether a PR is mergeable and return the test merge commit as
|
Check whether a PR is mergeable and return the test merge commit as
|
||||||
[computed by GitHub](https://docs.github.com/en/rest/guides/using-the-rest-api-to-interact-with-your-git-database?apiVersion=2022-11-28#checking-mergeability-of-pull-requests).
|
[computed by GitHub](https://docs.github.com/en/rest/guides/using-the-rest-api-to-interact-with-your-git-database?apiVersion=2022-11-28#checking-mergeability-of-pull-requests) and its parent.
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
- `GITHUB_REPO`: The repository of the PR, e.g. `NixOS/nixpkgs`
|
- `GITHUB_REPO`: The repository of the PR, e.g. `NixOS/nixpkgs`
|
||||||
- `PR_NUMBER`: The PR number, e.g. `1234`
|
- `PR_NUMBER`: The PR number, e.g. `1234`
|
||||||
|
|
||||||
Exit codes:
|
Exit codes:
|
||||||
- 0: The PR can be merged, the test merge commit hash is returned on stdout
|
- 0: The PR can be merged, the hashes of the test merge commit and the target commit are returned on stdout
|
||||||
- 1: The PR cannot be merged because it's not open anymore
|
- 1: The PR cannot be merged because it's not open anymore
|
||||||
- 2: The PR cannot be merged because it has a merge conflict
|
- 2: The PR cannot be merged because it has a merge conflict
|
||||||
- 3: The merge commit isn't being computed, GitHub is likely having internal issues, unknown if the PR is mergeable
|
- 3: The merge commit isn't being computed, GitHub is likely having internal issues, unknown if the PR is mergeable
|
||||||
|
|
|
@ -11,7 +11,7 @@ nix-build ci -A eval.full \
|
||||||
--arg evalSystems '["x86_64-linux" "aarch64-darwin"]'
|
--arg evalSystems '["x86_64-linux" "aarch64-darwin"]'
|
||||||
```
|
```
|
||||||
|
|
||||||
- `--max-jobs`: The maximum number of derivations to run at the same time. Only each [supported system](../supportedSystems.nix) gets a separate derivation, so it doesn't make sense to set this higher than that number.
|
- `--max-jobs`: The maximum number of derivations to run at the same time. Only each [supported system](../supportedSystems.json) gets a separate derivation, so it doesn't make sense to set this higher than that number.
|
||||||
- `--cores`: The number of cores to use for each job. Recommended to set this to the amount of cores on your system divided by `--max-jobs`.
|
- `--cores`: The number of cores to use for each job. Recommended to set this to the amount of cores on your system divided by `--max-jobs`.
|
||||||
- `chunkSize`: The number of attributes that are evaluated simultaneously on a single core. Lowering this decreases memory usage at the cost of increased evaluation time. If this is too high, there won't be enough chunks to process them in parallel, and will also increase evaluation time.
|
- `chunkSize`: The number of attributes that are evaluated simultaneously on a single core. Lowering this decreases memory usage at the cost of increased evaluation time. If this is too high, there won't be enough chunks to process them in parallel, and will also increase evaluation time.
|
||||||
- `evalSystems`: The set of systems for which `nixpkgs` should be evaluated. Defaults to the four official platforms (`x86_64-linux`, `aarch64-linux`, `x86_64-darwin` and `aarch64-darwin`).
|
- `evalSystems`: The set of systems for which `nixpkgs` should be evaluated. Defaults to the four official platforms (`x86_64-linux`, `aarch64-linux`, `x86_64-darwin` and `aarch64-darwin`).
|
||||||
|
|
|
@ -26,14 +26,14 @@ let
|
||||||
"nixos"
|
"nixos"
|
||||||
"pkgs"
|
"pkgs"
|
||||||
".version"
|
".version"
|
||||||
"ci/supportedSystems.nix"
|
"ci/supportedSystems.json"
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = nixVersions.nix_2_24;
|
nix = nixVersions.nix_2_24;
|
||||||
|
|
||||||
supportedSystems = import ../supportedSystems.nix;
|
supportedSystems = builtins.fromJSON (builtins.readFile ../supportedSystems.json);
|
||||||
|
|
||||||
attrpathsSuperset =
|
attrpathsSuperset =
|
||||||
runCommand "attrpaths-superset.json"
|
runCommand "attrpaths-superset.json"
|
||||||
|
@ -43,8 +43,6 @@ let
|
||||||
nix
|
nix
|
||||||
time
|
time
|
||||||
];
|
];
|
||||||
env.supportedSystems = builtins.toJSON supportedSystems;
|
|
||||||
passAsFile = [ "supportedSystems" ];
|
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
export NIX_STATE_DIR=$(mktemp -d)
|
export NIX_STATE_DIR=$(mktemp -d)
|
||||||
|
@ -58,7 +56,6 @@ let
|
||||||
--option restrict-eval true \
|
--option restrict-eval true \
|
||||||
--option allow-import-from-derivation false \
|
--option allow-import-from-derivation false \
|
||||||
--arg enableWarnings false > $out/paths.json
|
--arg enableWarnings false > $out/paths.json
|
||||||
mv "$supportedSystemsPath" $out/systems.json
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
singleSystem =
|
singleSystem =
|
||||||
|
@ -68,7 +65,7 @@ let
|
||||||
# because `--argstr system` would only be passed to the ci/default.nix file!
|
# because `--argstr system` would only be passed to the ci/default.nix file!
|
||||||
evalSystem,
|
evalSystem,
|
||||||
# The path to the `paths.json` file from `attrpathsSuperset`
|
# The path to the `paths.json` file from `attrpathsSuperset`
|
||||||
attrpathFile,
|
attrpathFile ? "${attrpathsSuperset}/paths.json",
|
||||||
# The number of attributes per chunk, see ./README.md for more info.
|
# The number of attributes per chunk, see ./README.md for more info.
|
||||||
chunkSize,
|
chunkSize,
|
||||||
checkMeta ? true,
|
checkMeta ? true,
|
||||||
|
@ -289,7 +286,6 @@ let
|
||||||
name = evalSystem;
|
name = evalSystem;
|
||||||
path = singleSystem {
|
path = singleSystem {
|
||||||
inherit quickTest evalSystem chunkSize;
|
inherit quickTest evalSystem chunkSize;
|
||||||
attrpathFile = attrpathsSuperset + "/paths.json";
|
|
||||||
};
|
};
|
||||||
}) evalSystems
|
}) evalSystems
|
||||||
);
|
);
|
||||||
|
|
|
@ -55,7 +55,10 @@ done
|
||||||
|
|
||||||
if [[ "$mergeable" == "true" ]]; then
|
if [[ "$mergeable" == "true" ]]; then
|
||||||
log "The PR can be merged"
|
log "The PR can be merged"
|
||||||
jq -r .merge_commit_sha <<< "$prInfo"
|
mergedSha="$(jq -r .merge_commit_sha <<< "$prInfo")"
|
||||||
|
echo "mergedSha=$mergedSha"
|
||||||
|
targetSha="$(gh api "/repos/$repo/commits/$mergedSha" --jq '.parents[0].sha')"
|
||||||
|
echo "targetSha=$targetSha"
|
||||||
else
|
else
|
||||||
log "The PR has a merge conflict"
|
log "The PR has a merge conflict"
|
||||||
exit 2
|
exit 2
|
||||||
|
|
6
ci/supportedSystems.json
Normal file
6
ci/supportedSystems.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[
|
||||||
|
"aarch64-linux",
|
||||||
|
"aarch64-darwin",
|
||||||
|
"x86_64-linux",
|
||||||
|
"x86_64-darwin"
|
||||||
|
]
|
|
@ -1,6 +0,0 @@
|
||||||
[
|
|
||||||
"aarch64-linux"
|
|
||||||
"aarch64-darwin"
|
|
||||||
"x86_64-linux"
|
|
||||||
"x86_64-darwin"
|
|
||||||
]
|
|
|
@ -5802,7 +5802,7 @@
|
||||||
email = "me@dblsaiko.net";
|
email = "me@dblsaiko.net";
|
||||||
github = "2xsaiko";
|
github = "2xsaiko";
|
||||||
githubId = 3987560;
|
githubId = 3987560;
|
||||||
name = "Marco Rebhan";
|
name = "Katalin Rebhan";
|
||||||
};
|
};
|
||||||
dbohdan = {
|
dbohdan = {
|
||||||
email = "dbohdan@dbohdan.com";
|
email = "dbohdan@dbohdan.com";
|
||||||
|
@ -10735,6 +10735,12 @@
|
||||||
githubId = 49885246;
|
githubId = 49885246;
|
||||||
keys = [ { fingerprint = "6358 EF87 86E0 EF2F 1628 103F BAB5 F165 1C71 C9C3"; } ];
|
keys = [ { fingerprint = "6358 EF87 86E0 EF2F 1628 103F BAB5 F165 1C71 C9C3"; } ];
|
||||||
};
|
};
|
||||||
|
ivalery111 = {
|
||||||
|
name = "Valery";
|
||||||
|
email = "ivalery111@gmail.com";
|
||||||
|
github = "ivalery111";
|
||||||
|
githubId = 37245535;
|
||||||
|
};
|
||||||
ivan = {
|
ivan = {
|
||||||
email = "ivan@ludios.org";
|
email = "ivan@ludios.org";
|
||||||
github = "ivan";
|
github = "ivan";
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
baseName = lib.mkOption {
|
baseName = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
default = "nixos-image-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}";
|
default = "nixos-image-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}";
|
||||||
|
defaultText = lib.literalExpression "nixos-image-\${config.system.nixos.label}-\${pkgs.stdenv.hostPlatform.system}";
|
||||||
description = ''
|
description = ''
|
||||||
Basename of the image filename without any extension (e.g. `image_1`).
|
Basename of the image filename without any extension (e.g. `image_1`).
|
||||||
'';
|
'';
|
||||||
|
@ -29,6 +30,7 @@
|
||||||
fileName = lib.mkOption {
|
fileName = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
default = "${config.image.baseName}.${config.image.extension}";
|
default = "${config.image.baseName}.${config.image.extension}";
|
||||||
|
defaultText = lib.literalExpression "\${config.image.baseName}.\${config.image.extension}";
|
||||||
description = ''
|
description = ''
|
||||||
Filename of the image including all extensions (e.g `image_1.raw` or
|
Filename of the image including all extensions (e.g `image_1.raw` or
|
||||||
`image_1.raw.zst`).
|
`image_1.raw.zst`).
|
||||||
|
@ -38,6 +40,7 @@
|
||||||
filePath = lib.mkOption {
|
filePath = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
default = config.image.fileName;
|
default = config.image.fileName;
|
||||||
|
defaultText = lib.literalExpression "config.image.fileName";
|
||||||
description = ''
|
description = ''
|
||||||
Path of the image, relative to `$out` in `system.build.image`.
|
Path of the image, relative to `$out` in `system.build.image`.
|
||||||
While it defaults to `config.image.fileName`, it can be different for builders where
|
While it defaults to `config.image.fileName`, it can be different for builders where
|
||||||
|
|
|
@ -88,6 +88,31 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./repart-verity-store.nix
|
./repart-verity-store.nix
|
||||||
|
./file-options.nix
|
||||||
|
(lib.mkRenamedOptionModuleWith {
|
||||||
|
sinceRelease = 2411;
|
||||||
|
from = [
|
||||||
|
"image"
|
||||||
|
"repart"
|
||||||
|
"imageFileBasename"
|
||||||
|
];
|
||||||
|
to = [
|
||||||
|
"image"
|
||||||
|
"baseName"
|
||||||
|
];
|
||||||
|
})
|
||||||
|
(lib.mkRenamedOptionModuleWith {
|
||||||
|
sinceRelease = 2411;
|
||||||
|
from = [
|
||||||
|
"image"
|
||||||
|
"repart"
|
||||||
|
"imageFile"
|
||||||
|
];
|
||||||
|
to = [
|
||||||
|
"image"
|
||||||
|
"fileName"
|
||||||
|
];
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
options.image.repart = {
|
options.image.repart = {
|
||||||
|
@ -95,7 +120,7 @@ in
|
||||||
name = lib.mkOption {
|
name = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
description = ''
|
description = ''
|
||||||
Name of the image.
|
Name of the image.
|
||||||
|
|
||||||
If this option is unset but config.system.image.id is set,
|
If this option is unset but config.system.image.id is set,
|
||||||
config.system.image.id is used as the default value.
|
config.system.image.id is used as the default value.
|
||||||
|
@ -109,23 +134,6 @@ in
|
||||||
description = "Version of the image";
|
description = "Version of the image";
|
||||||
};
|
};
|
||||||
|
|
||||||
imageFileBasename = lib.mkOption {
|
|
||||||
type = lib.types.str;
|
|
||||||
readOnly = true;
|
|
||||||
description = ''
|
|
||||||
Basename of the image filename without any extension (e.g. `image_1`).
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
imageFile = lib.mkOption {
|
|
||||||
type = lib.types.str;
|
|
||||||
readOnly = true;
|
|
||||||
description = ''
|
|
||||||
Filename of the image including all extensions (e.g `image_1.raw` or
|
|
||||||
`image_1.raw.zst`).
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
compression = {
|
compression = {
|
||||||
enable = lib.mkEnableOption "Image compression";
|
enable = lib.mkEnableOption "Image compression";
|
||||||
|
|
||||||
|
@ -152,7 +160,7 @@ in
|
||||||
# Generated with `uuidgen`. Random but fixed to improve reproducibility.
|
# Generated with `uuidgen`. Random but fixed to improve reproducibility.
|
||||||
default = "0867da16-f251-457d-a9e8-c31f9a3c220b";
|
default = "0867da16-f251-457d-a9e8-c31f9a3c220b";
|
||||||
description = ''
|
description = ''
|
||||||
A UUID to use as a seed. You can set this to `null` to explicitly
|
A UUID to use as a seed. You can set this to `null` to explicitly
|
||||||
randomize the partition UUIDs.
|
randomize the partition UUIDs.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -161,7 +169,7 @@ in
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = ''
|
description = ''
|
||||||
Enables generation of split artifacts from partitions. If enabled, for
|
Enables generation of split artifacts from partitions. If enabled, for
|
||||||
each partition with SplitName= set, a separate output file containing
|
each partition with SplitName= set, a separate output file containing
|
||||||
just the contents of that partition is generated.
|
just the contents of that partition is generated.
|
||||||
'';
|
'';
|
||||||
|
@ -172,7 +180,7 @@ in
|
||||||
default = 512;
|
default = 512;
|
||||||
example = lib.literalExpression "4096";
|
example = lib.literalExpression "4096";
|
||||||
description = ''
|
description = ''
|
||||||
The sector size of the disk image produced by systemd-repart. This
|
The sector size of the disk image produced by systemd-repart. This
|
||||||
value must be a power of 2 between 512 and 4096.
|
value must be a power of 2 between 512 and 4096.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -191,7 +199,7 @@ in
|
||||||
type = with lib.types; attrsOf (submodule partitionOptions);
|
type = with lib.types; attrsOf (submodule partitionOptions);
|
||||||
default = { };
|
default = { };
|
||||||
example = lib.literalExpression ''
|
example = lib.literalExpression ''
|
||||||
{
|
{
|
||||||
"10-esp" = {
|
"10-esp" = {
|
||||||
contents = {
|
contents = {
|
||||||
"/EFI/BOOT/BOOTX64.EFI".source =
|
"/EFI/BOOT/BOOTX64.EFI".source =
|
||||||
|
@ -213,7 +221,7 @@ in
|
||||||
};
|
};
|
||||||
'';
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
Specify partitions as a set of the names of the partitions with their
|
Specify partitions as a set of the names of the partitions with their
|
||||||
configuration as the key.
|
configuration as the key.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -222,12 +230,12 @@ in
|
||||||
type = with lib.types; attrsOf (listOf str);
|
type = with lib.types; attrsOf (listOf str);
|
||||||
default = { };
|
default = { };
|
||||||
example = lib.literalExpression ''
|
example = lib.literalExpression ''
|
||||||
{
|
{
|
||||||
vfat = [ "-S 512" "-c" ];
|
vfat = [ "-S 512" "-c" ];
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
Specify extra options for created file systems. The specified options
|
Specify extra options for created file systems. The specified options
|
||||||
are converted to individual environment variables of the format
|
are converted to individual environment variables of the format
|
||||||
`SYSTEMD_REPART_MKFS_OPTIONS_<FSTYPE>`.
|
`SYSTEMD_REPART_MKFS_OPTIONS_<FSTYPE>`.
|
||||||
|
|
||||||
|
@ -253,7 +261,6 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
||||||
assertions = lib.mapAttrsToList (
|
assertions = lib.mapAttrsToList (
|
||||||
fileName: partitionConfig:
|
fileName: partitionConfig:
|
||||||
let
|
let
|
||||||
|
@ -295,10 +302,14 @@ in
|
||||||
) cfg.partitions
|
) cfg.partitions
|
||||||
);
|
);
|
||||||
|
|
||||||
image.repart =
|
image.baseName =
|
||||||
let
|
let
|
||||||
version = config.image.repart.version;
|
version = config.image.repart.version;
|
||||||
versionInfix = if version != null then "_${version}" else "";
|
versionInfix = if version != null then "_${version}" else "";
|
||||||
|
in
|
||||||
|
cfg.name + versionInfix;
|
||||||
|
image.extension =
|
||||||
|
let
|
||||||
compressionSuffix =
|
compressionSuffix =
|
||||||
lib.optionalString cfg.compression.enable
|
lib.optionalString cfg.compression.enable
|
||||||
{
|
{
|
||||||
|
@ -308,6 +319,11 @@ in
|
||||||
}
|
}
|
||||||
."${cfg.compression.algorithm}";
|
."${cfg.compression.algorithm}";
|
||||||
|
|
||||||
|
in
|
||||||
|
"raw" + compressionSuffix;
|
||||||
|
|
||||||
|
image.repart =
|
||||||
|
let
|
||||||
makeClosure = paths: pkgs.closureInfo { rootPaths = paths; };
|
makeClosure = paths: pkgs.closureInfo { rootPaths = paths; };
|
||||||
|
|
||||||
# Add the closure of the provided Nix store paths to cfg.partitions so
|
# Add the closure of the provided Nix store paths to cfg.partitions so
|
||||||
|
@ -321,9 +337,6 @@ in
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
name = lib.mkIf (config.system.image.id != null) (lib.mkOptionDefault config.system.image.id);
|
name = lib.mkIf (config.system.image.id != null) (lib.mkOptionDefault config.system.image.id);
|
||||||
imageFileBasename = cfg.name + versionInfix;
|
|
||||||
imageFile = cfg.imageFileBasename + ".raw" + compressionSuffix;
|
|
||||||
|
|
||||||
compression = {
|
compression = {
|
||||||
# Generally default to slightly faster than default compression
|
# Generally default to slightly faster than default compression
|
||||||
# levels under the assumption that most of the building will be done
|
# levels under the assumption that most of the building will be done
|
||||||
|
@ -357,10 +370,10 @@ in
|
||||||
in
|
in
|
||||||
pkgs.callPackage ./repart-image.nix {
|
pkgs.callPackage ./repart-image.nix {
|
||||||
systemd = cfg.package;
|
systemd = cfg.package;
|
||||||
|
imageFileBasename = config.image.baseName;
|
||||||
inherit (cfg)
|
inherit (cfg)
|
||||||
name
|
name
|
||||||
version
|
version
|
||||||
imageFileBasename
|
|
||||||
compression
|
compression
|
||||||
split
|
split
|
||||||
seed
|
seed
|
||||||
|
|
|
@ -22,7 +22,7 @@ let
|
||||||
secrets-file = "''${CREDENTIALS_DIRECTORY}/secrets-file"
|
secrets-file = "''${CREDENTIALS_DIRECTORY}/secrets-file"
|
||||||
domains = ${libconfuseDomains}
|
domains = ${libconfuseDomains}
|
||||||
separator = "${cfg.separator}"
|
separator = "${cfg.separator}"
|
||||||
socketmap = "unix:${runtimeDirectory}/socket"
|
socketmap = "unix:${cfg.socketPath}"
|
||||||
|
|
||||||
# Disable postsrsd's jailing in favor of confinement with systemd.
|
# Disable postsrsd's jailing in favor of confinement with systemd.
|
||||||
unprivileged-user = ""
|
unprivileged-user = ""
|
||||||
|
@ -93,6 +93,15 @@ in
|
||||||
default = "postsrsd";
|
default = "postsrsd";
|
||||||
description = "Group for the daemon";
|
description = "Group for the daemon";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
socketPath = lib.mkOption {
|
||||||
|
type = lib.types.path;
|
||||||
|
default = "${runtimeDirectory}/socket";
|
||||||
|
readOnly = true;
|
||||||
|
description = ''
|
||||||
|
Path to the Unix socket for connecting to postsrsd.
|
||||||
|
Read-only, intended for usage when integrating postsrsd into other NixOS config.'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -103,21 +103,29 @@ in
|
||||||
|
|
||||||
services.networkd-dispatcher.extraArgs =
|
services.networkd-dispatcher.extraArgs =
|
||||||
let
|
let
|
||||||
scriptDir = pkgs.symlinkJoin {
|
scriptDir = pkgs.runCommand "networkd-dispatcher-script-dir" { } (
|
||||||
name = "networkd-dispatcher-script-dir";
|
''
|
||||||
paths = lib.mapAttrsToList (
|
mkdir $out
|
||||||
name: cfg:
|
''
|
||||||
(map (
|
+ (lib.concatStrings (
|
||||||
state:
|
lib.mapAttrsToList (
|
||||||
pkgs.writeTextFile {
|
name: cfg:
|
||||||
inherit name;
|
(lib.concatStrings (
|
||||||
text = cfg.script;
|
map (state: ''
|
||||||
destination = "/${state}.d/${name}";
|
mkdir -p $out/${state}.d
|
||||||
executable = true;
|
ln -s ${
|
||||||
}
|
lib.getExe (
|
||||||
) cfg.onState)
|
pkgs.writeShellApplication {
|
||||||
) cfg.rules;
|
inherit name;
|
||||||
};
|
text = cfg.script;
|
||||||
|
}
|
||||||
|
)
|
||||||
|
} $out/${state}.d/${name}
|
||||||
|
'') cfg.onState
|
||||||
|
))
|
||||||
|
) cfg.rules
|
||||||
|
))
|
||||||
|
);
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
"--verbose"
|
"--verbose"
|
||||||
|
|
|
@ -33,12 +33,12 @@ import ./make-test-python.nix (
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
start_all()
|
start_all()
|
||||||
|
|
||||||
netdata.wait_for_unit("netdata.service")
|
netdata.wait_for_unit("netdata.service")
|
||||||
|
|
||||||
# wait for the service to listen before sending a request
|
# wait for the service to listen before sending a request
|
||||||
netdata.wait_for_open_port(19999)
|
netdata.wait_for_open_port(19999)
|
||||||
|
|
||||||
# check if the netdata main page loads.
|
# check if the netdata main page loads.
|
||||||
netdata.succeed("curl --fail http://127.0.0.1:19999")
|
netdata.succeed("curl --fail http://127.0.0.1:19999")
|
||||||
|
|
|
@ -12,12 +12,12 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "0.0.23-unstable-2025-05-10";
|
version = "0.0.23-unstable-2025-05-12";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "yetone";
|
owner = "yetone";
|
||||||
repo = "avante.nvim";
|
repo = "avante.nvim";
|
||||||
rev = "adae032f5fbc611d59545792d3c5bb1c9ddc3fdb";
|
rev = "aae4cc4014149e544fb00e78687bcdef8335dd10";
|
||||||
hash = "sha256-v99yu5LvwdmHBcH61L6JIqjQkZR8Lm2fR/uzQZNPo38=";
|
hash = "sha256-ixJcD8V2rCLCrqE7hHtHfEtQuHeVyIDgyZ1VOY1jmD0=";
|
||||||
};
|
};
|
||||||
avante-nvim-lib = rustPlatform.buildRustPackage {
|
avante-nvim-lib = rustPlatform.buildRustPackage {
|
||||||
pname = "avante-nvim-lib";
|
pname = "avante-nvim-lib";
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
vscode-utils,
|
||||||
|
}:
|
||||||
|
|
||||||
|
vscode-utils.buildVscodeMarketplaceExtension (finalAttrs: {
|
||||||
|
mktplcRef = {
|
||||||
|
name = "amazon-q-vscode";
|
||||||
|
publisher = "AmazonWebServices";
|
||||||
|
version = "1.66.0";
|
||||||
|
hash = "sha256-EnNwlSmJWBcSfFCayxJS94qVUqgQlbX0RLCB4jJsn+4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
changelog = "https://github.com/aws/aws-toolkit-vscode/releases/tag/amazonq%2Fv${finalAttrs.version}";
|
||||||
|
description = "Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources";
|
||||||
|
downloadPage = "https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode";
|
||||||
|
homepage = "https://github.com/aws/aws-toolkit-vscode";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ drupol ];
|
||||||
|
};
|
||||||
|
})
|
|
@ -254,6 +254,8 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
amazonwebservices.amazon-q-vscode = callPackage ./amazonwebservices.amazon-q-vscode { };
|
||||||
|
|
||||||
angular.ng-template = buildVscodeMarketplaceExtension {
|
angular.ng-template = buildVscodeMarketplaceExtension {
|
||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "ng-template";
|
name = "ng-template";
|
||||||
|
|
|
@ -9,15 +9,15 @@
|
||||||
}:
|
}:
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "aws-sso-cli";
|
pname = "aws-sso-cli";
|
||||||
version = "1.17.0";
|
version = "2.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "synfinatic";
|
owner = "synfinatic";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-VEI+vCNeNoFOE+2j/OUjRszXsUQP2E1iUdPUW9X3tHk=";
|
hash = "sha256-D6ytiuh335r1XHwX6riI5OkpA8C1Ta0EwD1yPwob2ms=";
|
||||||
};
|
};
|
||||||
vendorHash = "sha256-a57RtK8PxwaRrSA6W6R//GacZ+pK8mBi4ZASS5NvShE=";
|
vendorHash = "sha256-SNMU7qDfLRGUSLjzrJHtIMgbcRc2DxXwWEUaUEY6PME=";
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
|
|
@ -96,6 +96,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://btrfs.readthedocs.io/en/latest/";
|
homepage = "https://btrfs.readthedocs.io/en/latest/";
|
||||||
changelog = "https://github.com/kdave/btrfs-progs/raw/v${version}/CHANGES";
|
changelog = "https://github.com/kdave/btrfs-progs/raw/v${version}/CHANGES";
|
||||||
license = licenses.gpl2Only;
|
license = licenses.gpl2Only;
|
||||||
|
mainProgram = "btrfs";
|
||||||
maintainers = with maintainers; [ raskin ];
|
maintainers = with maintainers; [ raskin ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,17 +8,17 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "clorinde";
|
pname = "clorinde";
|
||||||
version = "0.14.4";
|
version = "0.15.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "halcyonnouveau";
|
owner = "halcyonnouveau";
|
||||||
repo = "clorinde";
|
repo = "clorinde";
|
||||||
tag = "clorinde-v${finalAttrs.version}";
|
tag = "clorinde-v${finalAttrs.version}";
|
||||||
hash = "sha256-ZCD8unHHA1yFKlmAaQw9zlJWAecu+j3/fwlp/ro2IFc=";
|
hash = "sha256-PUAySbgmbulSlkabABiSFeDDa+o0tQ2uQtiQGSqO1/w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-V69c/Ks9qNmwqH4IV0uNDRc2eH7HMHpupE3liZofJhA=";
|
cargoHash = "sha256-zSeAD3MBflO+lhuLxH57YhR6wxsqZn62XQ0dgImdNLE=";
|
||||||
|
|
||||||
cargoBuildFlags = [ "--package=clorinde" ];
|
cargoBuildFlags = [ "--package=clorinde" ];
|
||||||
|
|
||||||
|
|
|
@ -7,34 +7,35 @@
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "cmctl";
|
pname = "cmctl";
|
||||||
version = "2.2.0";
|
version = "2.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cert-manager";
|
owner = "cert-manager";
|
||||||
repo = "cmctl";
|
repo = "cmctl";
|
||||||
rev = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-Kr7vwVW6v08QRbJDs2u0vK241ljNfhLVYIQCBl31QSs=";
|
hash = "sha256-Kr7vwVW6v08QRbJDs2u0vK241ljNfhLVYIQCBl31QSs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-D83Ufpa7PLQWBCHX5d51me3aYprGzc9RoKVma2Ax1Is=";
|
vendorHash = "sha256-SYCWvt2K3MEow4cDKxLSK+Bp0hZG9rNI9PoXdPcPESg=";
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
"-w"
|
"-w"
|
||||||
"-X github.com/cert-manager/cert-manager/pkg/util.AppVersion=v${version}"
|
"-X github.com/cert-manager/cert-manager/pkg/util.AppVersion=v${finalAttrs.version}"
|
||||||
"-X github.com/cert-manager/cert-manager/pkg/util.AppGitCommit=${src.rev}"
|
"-X github.com/cert-manager/cert-manager/pkg/util.AppGitCommit=${finalAttrs.src.rev}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# integration tests require running etcd, kubernetes
|
||||||
|
postPatch = ''
|
||||||
|
rm -r test/integration
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
installShellFiles
|
installShellFiles
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
go test --race $(go list ./... | grep -v /test/)
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Trusted by this computer: no: x509: “cert-manager” certificate is not
|
# Trusted by this computer: no: x509: “cert-manager” certificate is not
|
||||||
# trusted
|
# trusted
|
||||||
doCheck = !stdenv.hostPlatform.isDarwin;
|
doCheck = !stdenv.hostPlatform.isDarwin;
|
||||||
|
@ -46,7 +47,9 @@ buildGoModule rec {
|
||||||
--zsh <($out/bin/cmctl completion zsh)
|
--zsh <($out/bin/cmctl completion zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
|
meta = {
|
||||||
description = "Command line utility to interact with a cert-manager instalation on Kubernetes";
|
description = "Command line utility to interact with a cert-manager instalation on Kubernetes";
|
||||||
mainProgram = "cmctl";
|
mainProgram = "cmctl";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -63,8 +66,8 @@ buildGoModule rec {
|
||||||
resources inside your Kubernetes cluster.
|
resources inside your Kubernetes cluster.
|
||||||
'';
|
'';
|
||||||
downloadPage = "https://github.com/cert-manager/cmctl";
|
downloadPage = "https://github.com/cert-manager/cmctl";
|
||||||
license = licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
homepage = "https://cert-manager.io/";
|
homepage = "https://cert-manager.io/";
|
||||||
maintainers = with maintainers; [ joshvanl ];
|
maintainers = with lib.maintainers; [ joshvanl ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
pkg-config,
|
pkg-config,
|
||||||
polkit,
|
polkit,
|
||||||
python3Packages,
|
python3Packages,
|
||||||
|
sscg,
|
||||||
systemd,
|
systemd,
|
||||||
udev,
|
udev,
|
||||||
xmlto,
|
xmlto,
|
||||||
|
@ -167,6 +168,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
--prefix PATH : ${
|
--prefix PATH : ${
|
||||||
lib.makeBinPath [
|
lib.makeBinPath [
|
||||||
coreutils
|
coreutils
|
||||||
|
sscg
|
||||||
openssl
|
openssl
|
||||||
]
|
]
|
||||||
} \
|
} \
|
||||||
|
|
|
@ -22,14 +22,14 @@ let
|
||||||
in
|
in
|
||||||
python.pkgs.buildPythonApplication rec {
|
python.pkgs.buildPythonApplication rec {
|
||||||
pname = "esphome";
|
pname = "esphome";
|
||||||
version = "2025.4.1";
|
version = "2025.4.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
tag = version;
|
tag = version;
|
||||||
hash = "sha256-EWSV87z0Npsf/1lDzbk2s4Phx0tZJZnMzubaX+W6fAY=";
|
hash = "sha256-vy/wjtl/IbdSOxAUsV4bl7VNEBTetsvIDh2V1gDHSMs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-systems = with python.pkgs; [
|
build-systems = with python.pkgs; [
|
||||||
|
|
|
@ -8,16 +8,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "gitlab-ci-ls";
|
pname = "gitlab-ci-ls";
|
||||||
version = "1.0.4";
|
version = "1.0.5";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "alesbrelih";
|
owner = "alesbrelih";
|
||||||
repo = "gitlab-ci-ls";
|
repo = "gitlab-ci-ls";
|
||||||
rev = "${version}";
|
rev = "${version}";
|
||||||
hash = "sha256-rgdrbPqpdQlIVcQMLAi2rtTPpeWj+azbm6FaqUBHIIw=";
|
hash = "sha256-nfcG1fGmWutWwyROlTEnKN2+wPVmDkN0Z1VKdZDHGmU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-WjTfIKWu5fivPXmlGXduHWA5dKmKz2620tprtuoJbD4=";
|
cargoHash = "sha256-I8LSN50uSEAGAlaQzscAZWUqRpLUq+7gfzdj0UPkg4o=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ];
|
||||||
|
|
|
@ -14,13 +14,13 @@
|
||||||
}:
|
}:
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "hyprprop";
|
pname = "hyprprop";
|
||||||
version = "0.1-unstable-2025-03-31";
|
version = "0.1-unstable-2025-05-12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hyprwm";
|
owner = "hyprwm";
|
||||||
repo = "contrib";
|
repo = "contrib";
|
||||||
rev = "bc2ad24e0b2e66c3e164994c4897cd94a933fd10";
|
rev = "8e6c02ac3dfbff878ef300266598737ee9cedf94";
|
||||||
hash = "sha256-YItzk1pj8Kz+b7VlC9zN1pSZ6CuX35asYy3HuMQ3lBQ=";
|
hash = "sha256-VKs/GtedyOrcWiEOf9JPPX6ZgKzngXTVMUlqsL60G/c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${finalAttrs.src.name}/hyprprop";
|
sourceRoot = "${finalAttrs.src.name}/hyprprop";
|
||||||
|
|
|
@ -8,13 +8,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "imposm";
|
pname = "imposm";
|
||||||
version = "0.14.1";
|
version = "0.14.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "omniscale";
|
owner = "omniscale";
|
||||||
repo = "imposm3";
|
repo = "imposm3";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-PF7pi2UTZJe7WzfaJrQrOGusO/RRfh8KNz8YyrVcBvg=";
|
hash = "sha256-Bl6LSF/aN/c0lH93fxm2HGvxs7Grv4qJc/iN04AlQP0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
let
|
let
|
||||||
pname = "jai";
|
pname = "jai";
|
||||||
minor = "2";
|
minor = "2";
|
||||||
patch = "010";
|
patch = "011";
|
||||||
version = "0.${minor}.${patch}";
|
version = "0.${minor}.${patch}";
|
||||||
zipName = "jai-beta-${minor}-${patch}.zip";
|
zipName = "jai-beta-${minor}-${patch}.zip";
|
||||||
jai = stdenv.mkDerivation {
|
jai = stdenv.mkDerivation {
|
||||||
|
@ -20,7 +20,7 @@ let
|
||||||
nix-store --add-fixed sha256 ${zipName}
|
nix-store --add-fixed sha256 ${zipName}
|
||||||
'';
|
'';
|
||||||
name = zipName;
|
name = zipName;
|
||||||
sha256 = "sha256-7S0DFvmiKEvmCT12ukwLu+SSitk4y6BuS6WWCImeOhc=";
|
sha256 = "sha256-Du4rTA2g7hjlsUA/hvPY6O6L34e/MmnUN8rzi1jF/dY";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
buildCommand = "unzip $src -d $out";
|
buildCommand = "unzip $src -d $out";
|
||||||
|
|
|
@ -6,13 +6,13 @@
|
||||||
}:
|
}:
|
||||||
buildGoModule (finalAttrs: {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "jjui";
|
pname = "jjui";
|
||||||
version = "0.8.6";
|
version = "0.8.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "idursun";
|
owner = "idursun";
|
||||||
repo = "jjui";
|
repo = "jjui";
|
||||||
tag = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-FfodDPHMNiB4vh+v+m2k6x9o82idHM68Os9OuXpyVGY=";
|
hash = "sha256-5gDEcwS14Hur/Mw/vALPU+EVC5BJxdgjFbpzz1kcSKM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-YlOK+NvyH/3uvvFcCZixv2+Y2m26TP8+ohUSdl3ppro=";
|
vendorHash = "sha256-YlOK+NvyH/3uvvFcCZixv2+Y2m26TP8+ohUSdl3ppro=";
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "karabiner-elements";
|
pname = "karabiner-elements";
|
||||||
version = "15.0.0";
|
version = "15.3.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/pqrs-org/Karabiner-Elements/releases/download/v${finalAttrs.version}/Karabiner-Elements-${finalAttrs.version}.dmg";
|
url = "https://github.com/pqrs-org/Karabiner-Elements/releases/download/v${finalAttrs.version}/Karabiner-Elements-${finalAttrs.version}.dmg";
|
||||||
hash = "sha256-xWCsbkP9cVnDjWFTgWl5KrR7wEpcQYM4Md99pTI/l14=";
|
hash = "sha256-Szf2mBC8c4JA3Ky4QPTvS4GJ0PXFbN0Y7Rpum9lRABE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
|
|
53
pkgs/by-name/kc/kcl-language-server/package.nix
Normal file
53
pkgs/by-name/kc/kcl-language-server/package.nix
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
{
|
||||||
|
fetchFromGitHub,
|
||||||
|
kcl,
|
||||||
|
lib,
|
||||||
|
pkg-config,
|
||||||
|
protobuf,
|
||||||
|
rustPlatform,
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "kcl-language-server";
|
||||||
|
version = "0.11.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "kcl-lang";
|
||||||
|
repo = "kcl";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-6XDLxTpgENhP7F51kicAJB7BNMtX4cONKJApAhqgdno=";
|
||||||
|
};
|
||||||
|
|
||||||
|
sourceRoot = "${src.name}/kclvm";
|
||||||
|
|
||||||
|
cargoHash = "sha256-eJ3Gh2l6T2DxJRQRHamPOr/ILtzsqFB497DdXVJ90RE=";
|
||||||
|
|
||||||
|
PROTOC = "${protobuf}/bin/protoc";
|
||||||
|
PROTOC_INCLUDE = "${protobuf}/include";
|
||||||
|
|
||||||
|
buildAndTestSubdir = "tools/src/LSP";
|
||||||
|
|
||||||
|
buildPhaseCargoFlags = [
|
||||||
|
"--profile"
|
||||||
|
"release"
|
||||||
|
"--offline"
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
protobuf
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
changelog = "https://github.com/kcl-lang/kcl/releases/tag/v${version}";
|
||||||
|
description = "A high-performance implementation of KCL written in Rust that uses LLVM as the compiler backend";
|
||||||
|
downloadPage = "https://github.com/kcl-lang/kcl/tree/v${version}/kclvm/tools/src/LSP";
|
||||||
|
homepage = "https://www.kcl-lang.io/";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
maintainers = kcl.meta.maintainers;
|
||||||
|
mainProgram = "kcl-language-server";
|
||||||
|
};
|
||||||
|
}
|
|
@ -25,13 +25,13 @@ let
|
||||||
in
|
in
|
||||||
maven.buildMavenPackage rec {
|
maven.buildMavenPackage rec {
|
||||||
pname = "lemminx";
|
pname = "lemminx";
|
||||||
version = "0.30.1";
|
version = "0.31.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "eclipse";
|
owner = "eclipse";
|
||||||
repo = "lemminx";
|
repo = "lemminx";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-DkJaSEWmQV1vkC+knJNIDzVPyAYtf2lFZUpGhDTJXLE=";
|
hash = "sha256-a+9RN1265fsmYAUMuUTxA+VqJv7xPlzuc8HqoZwmR4M=";
|
||||||
# Lemminx reads this git information at runtime from a git.properties
|
# Lemminx reads this git information at runtime from a git.properties
|
||||||
# file on the classpath
|
# file on the classpath
|
||||||
leaveDotGit = true;
|
leaveDotGit = true;
|
||||||
|
|
|
@ -4,31 +4,52 @@
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
cmake,
|
cmake,
|
||||||
sqlite,
|
sqlite,
|
||||||
|
corrosion,
|
||||||
|
rustPlatform,
|
||||||
|
cargo,
|
||||||
|
rustc,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "libchewing";
|
pname = "libchewing";
|
||||||
version = "0.6.0";
|
version = "0.9.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "chewing";
|
owner = "chewing";
|
||||||
repo = "libchewing";
|
repo = "libchewing";
|
||||||
rev = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
sha256 = "sha256-X+4Rr5Mfc4qeJxmHczu4MKgHBvQN1rhqUrJSx8SFnDk=";
|
hash = "sha256-5aeAsvTiUMTm+ibNfJI57rzSUpJB7luhA/aWmTcnBj4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ sqlite ];
|
# ld: unknown option: -version-script
|
||||||
|
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||||
|
substituteInPlace CMakeLists.txt \
|
||||||
|
--replace-fail "if(CMAKE_C_COMPILER_ID MATCHES GNU|^Clang)" "if((CMAKE_C_COMPILER_ID MATCHES GNU|^Clang) AND NOT APPLE)"
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||||
|
inherit (finalAttrs) src;
|
||||||
|
hash = "sha256-LTuUhQ0ZeyGloNvVs+6OGjFvPdBsQNZupwC8QTjUfyk=";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
rustPlatform.cargoSetupHook
|
||||||
|
cargo
|
||||||
|
rustc
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
sqlite
|
||||||
|
corrosion
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
description = "Intelligent Chinese phonetic input method";
|
description = "Intelligent Chinese phonetic input method";
|
||||||
homepage = "https://chewing.im/";
|
homepage = "https://chewing.im/";
|
||||||
license = licenses.lgpl21Only;
|
license = lib.licenses.lgpl21Only;
|
||||||
maintainers = with maintainers; [
|
maintainers = with lib.maintainers; [ ShamrockLee ];
|
||||||
ShamrockLee
|
platforms = lib.platforms.all;
|
||||||
];
|
|
||||||
platforms = platforms.all;
|
|
||||||
# compile time tools init_database, dump_database are built for host
|
# compile time tools init_database, dump_database are built for host
|
||||||
broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,20 +4,29 @@
|
||||||
buildGoModule,
|
buildGoModule,
|
||||||
versionCheckHook,
|
versionCheckHook,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
|
fetchpatch,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "minio-warp";
|
pname = "minio-warp";
|
||||||
version = "1.1.2";
|
version = "1.1.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "minio";
|
owner = "minio";
|
||||||
repo = "warp";
|
repo = "warp";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-loyEGnJ6ExWMUyArNNpQGzpagFgwlNzaNBO8EPXkMws=";
|
hash = "sha256-KOhBSxR9P3Q6DpC8QCRaiw6Y51OyHLRlhr0WmXE74PI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-/+vKs5NzzyP9Ihz+zbxGf/OEHD0kaf0wZzE0Sg++3bE=";
|
patches = [
|
||||||
|
# upstream ships a broken go.sum file in the release and fixes it one commit later ..
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/minio/warp/commit/c830e94367efce6e6d70c337d490a3b6eba5e558.patch";
|
||||||
|
hash = "sha256-LXkgwpTPe4WvU+nAsYfjs38uXiBoeoavnxliw8nweRQ=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
vendorHash = "sha256-duEd5uss6mS2aTOTsI3dzZV2TEDHyKN5QKWb4Tt5+7s=";
|
||||||
|
|
||||||
# See .goreleaser.yml
|
# See .goreleaser.yml
|
||||||
ldflags = [
|
ldflags = [
|
||||||
|
@ -43,6 +52,7 @@ buildGoModule rec {
|
||||||
meta = {
|
meta = {
|
||||||
description = "S3 benchmarking tool";
|
description = "S3 benchmarking tool";
|
||||||
homepage = "https://github.com/minio/warp";
|
homepage = "https://github.com/minio/warp";
|
||||||
|
changelog = "https://github.com/minio/warp/releases/tag/v${version}";
|
||||||
license = lib.licenses.agpl3Plus;
|
license = lib.licenses.agpl3Plus;
|
||||||
maintainers = with lib.maintainers; [ christoph-heiss ];
|
maintainers = with lib.maintainers; [ christoph-heiss ];
|
||||||
mainProgram = "minio-warp";
|
mainProgram = "minio-warp";
|
||||||
|
|
|
@ -9,18 +9,18 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "mountpoint-s3";
|
pname = "mountpoint-s3";
|
||||||
version = "1.16.2";
|
version = "1.17.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "awslabs";
|
owner = "awslabs";
|
||||||
repo = "mountpoint-s3";
|
repo = "mountpoint-s3";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-5zib6F+OtOqxJei4+HzzEEMvjOoltdcPfIc6kzUJYgw=";
|
hash = "sha256-uV0umUoJkYgmjWjv8GMnk5TRRbCCJS1ut3VV1HvkaAw=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-3wEmtBEYvvHZ0Tde+o//YW8J20o6t/v8C0vq/CICHD0=";
|
cargoHash = "sha256-zDgAGOuK0Jkmm554qZsaA/ABFhuupJ+WToO8HSPp7Xc=";
|
||||||
|
|
||||||
# thread 'main' panicked at cargo-auditable/src/collect_audit_data.rs:77:9:
|
# thread 'main' panicked at cargo-auditable/src/collect_audit_data.rs:77:9:
|
||||||
# cargo metadata failure: error: none of the selected packages contains these features: libfuse3
|
# cargo metadata failure: error: none of the selected packages contains these features: libfuse3
|
||||||
|
|
|
@ -18,13 +18,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "mympd";
|
pname = "mympd";
|
||||||
version = "20.1.3";
|
version = "21.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jcorporation";
|
owner = "jcorporation";
|
||||||
repo = "myMPD";
|
repo = "myMPD";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
sha256 = "sha256-CLhlGwr7W3GW8V+wqMXHfKbU2dmMWlgEmo4QohcPAwo=";
|
sha256 = "sha256-K86kOCJ9Fnf/ZvS11Tyf81mdKA9R5pgBz1XzDY4N/8E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -3,21 +3,24 @@
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
autoreconfHook,
|
autoreconfHook,
|
||||||
|
curl,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "nbfc-linux";
|
pname = "nbfc-linux";
|
||||||
version = "0.2.7";
|
version = "0.3.15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nbfc-linux";
|
owner = "nbfc-linux";
|
||||||
repo = "nbfc-linux";
|
repo = "nbfc-linux";
|
||||||
rev = "${finalAttrs.version}";
|
tag = "${finalAttrs.version}";
|
||||||
hash = "sha256-1tLW/xEh01y8BjVbgIa95DkYWf7CDVSo/lI/1U28Xs8=";
|
hash = "sha256-i6G7r9Mg90WMWjSIDDbyNLAr2ZxJX9D02bNaL5EY48I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
autoreconfHook
|
|
||||||
];
|
buildInputs = [ curl ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--prefix=${placeholder "out"}"
|
"--prefix=${placeholder "out"}"
|
||||||
"--sysconfdir=${placeholder "out"}/etc"
|
"--sysconfdir=${placeholder "out"}/etc"
|
||||||
|
|
|
@ -25,13 +25,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "nextcloud-talk-desktop";
|
pname = "nextcloud-talk-desktop";
|
||||||
version = "1.1.7";
|
version = "1.1.8";
|
||||||
|
|
||||||
# Building from source would require building also building Server and Talk components
|
# Building from source would require building also building Server and Talk components
|
||||||
# See https://github.com/nextcloud/talk-desktop?tab=readme-ov-file#%EF%B8%8F-prerequisites
|
# See https://github.com/nextcloud/talk-desktop?tab=readme-ov-file#%EF%B8%8F-prerequisites
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/nextcloud-releases/talk-desktop/releases/download/v${finalAttrs.version}/Nextcloud.Talk-linux-x64.zip";
|
url = "https://github.com/nextcloud-releases/talk-desktop/releases/download/v${finalAttrs.version}/Nextcloud.Talk-linux-x64.zip";
|
||||||
hash = "sha256-tcg3ctqbarJKJ9oROI+PHVTddJoioA1rF/QLR659q0Q=";
|
hash = "sha256-rKUf6BQk/snwI6Sf67+PbNEnoZZY1u+EOEWE11p3dYw=";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -23,13 +23,13 @@ let
|
||||||
in
|
in
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "nixos-facter";
|
pname = "nixos-facter";
|
||||||
version = "0.3.2";
|
version = "0.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "numtide";
|
owner = "numtide";
|
||||||
repo = "nixos-facter";
|
repo = "nixos-facter";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-QD9b3r91ukGbAg+ZWj9cdBsXb6pl3wlVgEY3zF+tDQI=";
|
hash = "sha256-SuD6FTyCGT+H5uEPkPmBSI00R87weAoO5xZHPJElSu8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-A7ZuY8Gc/a0Y8O6UG2WHWxptHstJOxi4n9F8TY6zqiw=";
|
vendorHash = "sha256-A7ZuY8Gc/a0Y8O6UG2WHWxptHstJOxi4n9F8TY6zqiw=";
|
||||||
|
|
|
@ -2,8 +2,9 @@
|
||||||
lib,
|
lib,
|
||||||
fetchFromGitea,
|
fetchFromGitea,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
|
versionCheckHook,
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "pay-respects";
|
pname = "pay-respects";
|
||||||
version = "0.7.6";
|
version = "0.7.6";
|
||||||
|
|
||||||
|
@ -11,16 +12,20 @@ rustPlatform.buildRustPackage rec {
|
||||||
domain = "codeberg.org";
|
domain = "codeberg.org";
|
||||||
owner = "iff";
|
owner = "iff";
|
||||||
repo = "pay-respects";
|
repo = "pay-respects";
|
||||||
rev = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-+50MKpZgJqjuUvJeFFv8fMILkJ3cOAN7R7kmlR+98II=";
|
hash = "sha256-+50MKpZgJqjuUvJeFFv8fMILkJ3cOAN7R7kmlR+98II=";
|
||||||
};
|
};
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-TJP+GPkXwPvnBwiF0SCkn8NGz/xyrYjbUZKCbUUSqHQ=";
|
cargoHash = "sha256-TJP+GPkXwPvnBwiF0SCkn8NGz/xyrYjbUZKCbUUSqHQ=";
|
||||||
|
|
||||||
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||||
|
doInstallCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Terminal command correction, alternative to `thefuck`, written in Rust";
|
description = "Terminal command correction, alternative to thefuck, written in Rust";
|
||||||
homepage = "https://codeberg.org/iff/pay-respects";
|
homepage = "https://codeberg.org/iff/pay-respects";
|
||||||
|
changelog = "https://codeberg.org/iff/pay-respects/src/tag/v${finalAttrs.version}/CHANGELOG.md";
|
||||||
license = lib.licenses.agpl3Plus;
|
license = lib.licenses.agpl3Plus;
|
||||||
maintainers = with lib.maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
sigmasquadron
|
sigmasquadron
|
||||||
|
@ -29,4 +34,4 @@ rustPlatform.buildRustPackage rec {
|
||||||
];
|
];
|
||||||
mainProgram = "pay-respects";
|
mainProgram = "pay-respects";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
|
@ -24,15 +24,15 @@ let
|
||||||
."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||||
hash =
|
hash =
|
||||||
{
|
{
|
||||||
x64-linux_hash = "sha256-pkFyal2u/2YeKuv8QwZNvO1HBT4lpNSw+M2u6isDK5s=";
|
x64-linux_hash = "sha256-sJcnCysBNRL0rY+leTW9oTmHPa1Ook8oC6ateAyP58A=";
|
||||||
arm64-linux_hash = "sha256-NPBUmeAihbS8qMML3E/9QEmOfgdH2fzaWtA4vV1TIK8=";
|
arm64-linux_hash = "sha256-PQYWApDyl5HFv+lNFi/VQ0suG32QHm0icjsEjHopf/U=";
|
||||||
x64-osx_hash = "sha256-6urFLKOL63xAUQHDqDq8NkFUnQuOC5i+MI3ANJUU1Vg=";
|
x64-osx_hash = "sha256-NBy3shWURHQdZauTqeZMi7OMfGkBmJjhF/l4oX2xTp4=";
|
||||||
}
|
}
|
||||||
."${arch}-${os}_hash";
|
."${arch}-${os}_hash";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "readarr";
|
pname = "readarr";
|
||||||
version = "0.4.15.2787";
|
version = "0.4.16.2793";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/Readarr/Readarr/releases/download/v${version}/Readarr.develop.${version}.${os}-core-${arch}.tar.gz";
|
url = "https://github.com/Readarr/Readarr/releases/download/v${version}/Readarr.develop.${version}.${os}-core-${arch}.tar.gz";
|
||||||
|
|
|
@ -23,17 +23,17 @@ let
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "ripgrep-all";
|
pname = "ripgrep-all";
|
||||||
version = "0.10.6";
|
version = "0.10.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "phiresky";
|
owner = "phiresky";
|
||||||
repo = "ripgrep-all";
|
repo = "ripgrep-all";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-ns7RL7kiG72r07LkF6RzShNg8M2SU6tU5+gXDxzUQHM=";
|
hash = "sha256-r/+u76Qxat6U0Hb3Xh31K/F0dNSPzteFzoE69NNCerI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-VbkLs5TuDSY7UHh2hA8R4dp99RU7pMmGhS1P9U9osq8=";
|
cargoHash = "sha256-nTCqqTFt87snzOXkjablaX9ZMGu/s88ZnUVr5uYrzPs=";
|
||||||
|
|
||||||
# override debug=true set in Cargo.toml upstream
|
# override debug=true set in Cargo.toml upstream
|
||||||
RUSTFLAGS = "-C debuginfo=none";
|
RUSTFLAGS = "-C debuginfo=none";
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "routino";
|
pname = "routino";
|
||||||
version = "3.4.2";
|
version = "3.4.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://routino.org/download/routino-${version}.tgz";
|
url = "https://routino.org/download/routino-${version}.tgz";
|
||||||
hash = "sha256-Dms1u/KuS6qFYcslKfsvIFPx0ApdyWtKK/XlgW+kToI=";
|
hash = "sha256-TroGfTLJfKk4itbpfA9aPBDUiCk2ckDXjFE3XYzBHlQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchFlags = [ "-p0" ];
|
patchFlags = [ "-p0" ];
|
||||||
|
|
|
@ -132,6 +132,11 @@ rustPlatform.buildRustPackage {
|
||||||
apple-sdk_14
|
apple-sdk_14
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Builds with additional features for aarch64, see https://github.com/servo/servo/issues/36819
|
||||||
|
buildFeatures = lib.optionals stdenv.hostPlatform.isAarch64 [
|
||||||
|
"servo_allocator/use-system-allocator"
|
||||||
|
];
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-I${lib.getInclude stdenv.cc.libcxx}/include/c++/v1";
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-I${lib.getInclude stdenv.cc.libcxx}/include/c++/v1";
|
||||||
|
|
||||||
# copy resources into `$out` to be used during runtime
|
# copy resources into `$out` to be used during runtime
|
||||||
|
|
60
pkgs/by-name/so/sobjectizer/package.nix
Normal file
60
pkgs/by-name/so/sobjectizer/package.nix
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
|
cmake,
|
||||||
|
withStatic ? stdenv.hostPlatform.isStatic,
|
||||||
|
withShared ? !withStatic,
|
||||||
|
buildExamples ? false,
|
||||||
|
}:
|
||||||
|
|
||||||
|
# Ensure build examples with static library.
|
||||||
|
assert buildExamples -> withStatic;
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "sobjectizer";
|
||||||
|
version = "5.8.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Stiffstream";
|
||||||
|
repo = "sobjectizer";
|
||||||
|
tag = "v.${finalAttrs.version}";
|
||||||
|
hash = "sha256-tIqWgd6TppHfqZk3XHzhG0t+Nn8BQCTP81UD7ls67UE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "tests-do-not-require-static-library.patch";
|
||||||
|
url = "https://github.com/Stiffstream/sobjectizer/commit/10eb34c65ccdaa4fea62d0c4354b83104256370d.patch";
|
||||||
|
hash = "sha256-a2g6jDGDC/y8cmbAD0KtVQKhVS5ZAjKtMhbAUyoQIvg=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
cmakeDir = "../dev";
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
(lib.cmakeBool "SOBJECTIZER_BUILD_STATIC" withStatic)
|
||||||
|
(lib.cmakeBool "SOBJECTIZER_BUILD_SHARED" withShared)
|
||||||
|
(lib.cmakeBool "BUILD_EXAMPLES" (buildExamples && withStatic))
|
||||||
|
(lib.cmakeBool "BUILD_TESTS" (finalAttrs.doCheck && withShared))
|
||||||
|
];
|
||||||
|
|
||||||
|
# The tests require the shared library thanks to the patch.
|
||||||
|
doCheck = withShared;
|
||||||
|
|
||||||
|
# Receive semi-automated updates.
|
||||||
|
passthru.updateScript = pkgs.nix-update-script { };
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/Stiffstream/sobjectizer/tree/master";
|
||||||
|
changelog = "https://github.com/Stiffstream/sobjectizer/releases/tag/v.${finalAttrs.version}";
|
||||||
|
description = "Implementation of Actor, Publish-Subscribe, and CSP models in one rather small C++ framework";
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
maintainers = [ lib.maintainers.ivalery111 ];
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
})
|
|
@ -20,13 +20,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "timg";
|
pname = "timg";
|
||||||
version = "1.6.1";
|
version = "1.6.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hzeller";
|
owner = "hzeller";
|
||||||
repo = "timg";
|
repo = "timg";
|
||||||
rev = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-D5pQozxy5eSKVaV5qhoneG/b2yKcPQWD8OHs8MsGL1w=";
|
hash = "sha256-UiQ8CW0mxjjQM6XLN0FL2v7ccYq2EmIy/3pm+yKQh8w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "zabbix-agent2-plugin-postgresql";
|
pname = "zabbix-agent2-plugin-postgresql";
|
||||||
version = "7.2.5";
|
version = "7.2.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://cdn.zabbix.com/zabbix-agent2-plugins/sources/postgresql/zabbix-agent2-plugin-postgresql-${version}.tar.gz";
|
url = "https://cdn.zabbix.com/zabbix-agent2-plugins/sources/postgresql/zabbix-agent2-plugin-postgresql-${version}.tar.gz";
|
||||||
hash = "sha256-FJf7rjghYe0paIzjzdkiummzPcBFaH7fcfTJ+pTSZUE=";
|
hash = "sha256-ZDSz+zCH9nHbcRYG1GR+TH+S7VV4nI1HSomNL3Un0/A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
|
|
@ -8,17 +8,17 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "zizmor";
|
pname = "zizmor";
|
||||||
version = "1.6.0";
|
version = "1.7.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "woodruffw";
|
owner = "zizmorcore";
|
||||||
repo = "zizmor";
|
repo = "zizmor";
|
||||||
tag = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-Has3PrXJIKQh6FdhZ3aGvqJ5keHTRqa+nDAb4fv3xWg=";
|
hash = "sha256-HDQDaIZVxMTkVTwCNyevSdVZELw8e6hIN/NhaHLcT24=";
|
||||||
};
|
};
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-uXUvEbQpY9E7kTOeXMFN/9b4u4tn/S3HCs0a65Hssn4=";
|
cargoHash = "sha256-hr/1RFXvbsRLxlmXNPuU3x+i41byE+v5k2aBg5UIbvM=";
|
||||||
|
|
||||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||||
|
|
||||||
|
@ -28,8 +28,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Tool for finding security issues in GitHub Actions setups";
|
description = "Tool for finding security issues in GitHub Actions setups";
|
||||||
homepage = "https://woodruffw.github.io/zizmor/";
|
homepage = "https://docs.zizmor.sh/";
|
||||||
changelog = "https://github.com/woodruffw/zizmor/releases/tag/v${finalAttrs.version}";
|
changelog = "https://github.com/zizmorcore/zizmor/releases/tag/v${finalAttrs.version}";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with lib.maintainers; [ lesuisse ];
|
maintainers = with lib.maintainers; [ lesuisse ];
|
||||||
mainProgram = "zizmor";
|
mainProgram = "zizmor";
|
||||||
|
|
|
@ -18,13 +18,13 @@ let
|
||||||
self:
|
self:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hex";
|
pname = "hex";
|
||||||
version = "2.1.1";
|
version = "2.2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hexpm";
|
owner = "hexpm";
|
||||||
repo = "hex";
|
repo = "hex";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-pEfd2BqkVwZVbnka98MafJ/NRn94BHh+wM0i2Q5duTo=";
|
sha256 = "sha256-a4VNBlvW+IM7HuI66dYGqOmIF9kO6wWFqVz4vYtQOhw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
setupHook = writeText "setupHook.sh" ''
|
setupHook = writeText "setupHook.sh" ''
|
||||||
|
|
|
@ -33,9 +33,9 @@ let
|
||||||
"19.1.7".officialRelease.sha256 = "sha256-cZAB5vZjeTsXt9QHbP5xluWNQnAHByHtHnAhVDV0E6I=";
|
"19.1.7".officialRelease.sha256 = "sha256-cZAB5vZjeTsXt9QHbP5xluWNQnAHByHtHnAhVDV0E6I=";
|
||||||
"20.1.4".officialRelease.sha256 = "sha256-/WomqG2DdnUHwlVsMfpzaK/dhGV3zychfU0wLmihQac=";
|
"20.1.4".officialRelease.sha256 = "sha256-/WomqG2DdnUHwlVsMfpzaK/dhGV3zychfU0wLmihQac=";
|
||||||
"21.0.0-git".gitRelease = {
|
"21.0.0-git".gitRelease = {
|
||||||
rev = "b3e8b21c57cc5549767d21a2be43baeec431c6f7";
|
rev = "5b91756c0ca7ef4d75c33c2617bfd0f9719907dc";
|
||||||
rev-version = "21.0.0-unstable-2025-05-04";
|
rev-version = "21.0.0-unstable-2025-05-11";
|
||||||
sha256 = "sha256-4fe6xaE5FEvHRFDcs9mNE08b54Cq3lzEezyI2hs2e/8=";
|
sha256 = "sha256-5e72pOZO2/hYY7/1Kt0ITtEjJzWwKR58ufCU/9EkdS0=";
|
||||||
};
|
};
|
||||||
} // llvmVersions;
|
} // llvmVersions;
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
# Shims to mimic the shape of ../modules/generic/manifests/{feature,redistrib}/release.nix
|
# Shims to mimic the shape of ../modules/generic/manifests/{feature,redistrib}/release.nix
|
||||||
{
|
{
|
||||||
lib,
|
|
||||||
package,
|
package,
|
||||||
# redistArch :: String
|
# redistArch :: String
|
||||||
# String is "unsupported" if the given architecture is unsupported.
|
# String is "unsupported" if the given architecture is unsupported.
|
||||||
redistArch,
|
redistArch,
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
featureRelease = lib.optionalAttrs (redistArch != "unsupported") {
|
featureRelease = {
|
||||||
inherit (package) minCudaVersion maxCudaVersion;
|
inherit (package) minCudaVersion maxCudaVersion;
|
||||||
${redistArch}.outputs = {
|
${redistArch}.outputs = {
|
||||||
lib = true;
|
lib = true;
|
||||||
|
|
|
@ -52,12 +52,20 @@ let
|
||||||
lib.versionAtLeast cudaMajorMinorVersion package.minCudaVersion
|
lib.versionAtLeast cudaMajorMinorVersion package.minCudaVersion
|
||||||
&& lib.versionAtLeast package.maxCudaVersion cudaMajorMinorVersion;
|
&& lib.versionAtLeast package.maxCudaVersion cudaMajorMinorVersion;
|
||||||
|
|
||||||
# Releases for our platform and CUDA version.
|
# FIXME: do this at the module system level
|
||||||
# See ../modules/${pname}/releases/releases.nix
|
propagatePlatforms = lib.mapAttrs (redistArch: lib.map (p: { inherit redistArch; } // p));
|
||||||
# allPackages :: List Package
|
|
||||||
allPackages = lib.filter satisfiesCudaVersion (
|
# Releases for all platforms and all CUDA versions.
|
||||||
evaluatedModules.config.${pname}.releases.${redistArch} or [ ]
|
allReleases = propagatePlatforms evaluatedModules.config.${pname}.releases;
|
||||||
);
|
|
||||||
|
# Releases for all platforms and our CUDA version.
|
||||||
|
allReleases' = lib.mapAttrs (_: lib.filter satisfiesCudaVersion) allReleases;
|
||||||
|
|
||||||
|
# Packages for all platforms and our CUDA versions.
|
||||||
|
allPackages = lib.concatLists (lib.attrValues allReleases');
|
||||||
|
|
||||||
|
packageOlder = p1: p2: lib.versionOlder p1.version p2.version;
|
||||||
|
packageSupportedPlatform = p: p.redistArch == redistArch;
|
||||||
|
|
||||||
# Compute versioned attribute name to be used in this package set
|
# Compute versioned attribute name to be used in this package set
|
||||||
# Patch version changes should not break the build, so we only use major and minor
|
# Patch version changes should not break the build, so we only use major and minor
|
||||||
|
@ -77,8 +85,15 @@ let
|
||||||
newestPackages
|
newestPackages
|
||||||
// {
|
// {
|
||||||
${majorMinorVersion} =
|
${majorMinorVersion} =
|
||||||
# Only keep the existing package if it is newer than the one we are considering.
|
# Only keep the existing package if it is newer than the one we are considering or it is supported on the
|
||||||
if existingPackage != null && lib.versionOlder package.version existingPackage.version then
|
# current platform and the one we are considering is not.
|
||||||
|
if
|
||||||
|
existingPackage != null
|
||||||
|
&& (
|
||||||
|
packageOlder package existingPackage
|
||||||
|
|| (!packageSupportedPlatform package && packageSupportedPlatform existingPackage)
|
||||||
|
)
|
||||||
|
then
|
||||||
existingPackage
|
existingPackage
|
||||||
else
|
else
|
||||||
package;
|
package;
|
||||||
|
@ -87,9 +102,8 @@ let
|
||||||
in
|
in
|
||||||
# Sort the packages by version so the newest is first.
|
# Sort the packages by version so the newest is first.
|
||||||
# NOTE: builtins.sort requires a strict weak ordering, so we must use versionOlder rather than versionAtLeast.
|
# NOTE: builtins.sort requires a strict weak ordering, so we must use versionOlder rather than versionAtLeast.
|
||||||
lib.sort (p1: p2: lib.versionOlder p2.version p1.version) (
|
# See https://github.com/NixOS/nixpkgs/commit/9fd753ea84e5035b357a275324e7fd7ccfb1fc77.
|
||||||
lib.attrValues newestForEachMajorMinorVersion
|
lib.sort (lib.flip packageOlder) (lib.attrValues newestForEachMajorMinorVersion);
|
||||||
);
|
|
||||||
|
|
||||||
extension =
|
extension =
|
||||||
final: _:
|
final: _:
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
# Shims to mimic the shape of ../modules/generic/manifests/{feature,redistrib}/release.nix
|
# Shims to mimic the shape of ../modules/generic/manifests/{feature,redistrib}/release.nix
|
||||||
{
|
{
|
||||||
lib,
|
|
||||||
package,
|
package,
|
||||||
# redistArch :: String
|
# redistArch :: String
|
||||||
# String is `"unsupported"` if the given architecture is unsupported.
|
# String is `"unsupported"` if the given architecture is unsupported.
|
||||||
redistArch,
|
redistArch,
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
featureRelease = lib.optionalAttrs (redistArch != "unsupported") {
|
featureRelease = {
|
||||||
inherit (package) cudnnVersion minCudaVersion maxCudaVersion;
|
inherit (package) cudnnVersion minCudaVersion maxCudaVersion;
|
||||||
${redistArch}.outputs = {
|
${redistArch}.outputs = {
|
||||||
bin = true;
|
bin = true;
|
||||||
|
|
|
@ -62,7 +62,6 @@ self: super:
|
||||||
|
|
||||||
# issues finding libcharset.h without libiconv in buildInputs on darwin.
|
# issues finding libcharset.h without libiconv in buildInputs on darwin.
|
||||||
with-utf8 = addExtraLibrary pkgs.libiconv super.with-utf8;
|
with-utf8 = addExtraLibrary pkgs.libiconv super.with-utf8;
|
||||||
with-utf8_1_1_0_0 = addExtraLibrary pkgs.libiconv super.with-utf8_1_1_0_0;
|
|
||||||
|
|
||||||
git-annex = overrideCabal (drv: {
|
git-annex = overrideCabal (drv: {
|
||||||
# We can't use testFlags since git-annex side steps the Cabal test mechanism
|
# We can't use testFlags since git-annex side steps the Cabal test mechanism
|
||||||
|
|
|
@ -39,12 +39,12 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "coiled";
|
pname = "coiled";
|
||||||
version = "1.93.0";
|
version = "1.95.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-3vniVOW4byF+J2dsnhNp2qvEPzeONbpZ760z9wIYDRA=";
|
hash = "sha256-+YmBKfiJYJVjpSrPGXlzMbQtweObLrLZr1c+aJ58fu4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
poetry-core,
|
poetry-core,
|
||||||
pytest-django,
|
pytest-django,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
|
stdenv,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -78,10 +79,21 @@ buildPythonPackage rec {
|
||||||
REDIS_HOST = "127.0.0.1";
|
REDIS_HOST = "127.0.0.1";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests =
|
||||||
# requires a running mongodb
|
[
|
||||||
"test_mongo"
|
# requires a running mongodb
|
||||||
];
|
"test_mongo"
|
||||||
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
|
# fails with an assertion
|
||||||
|
"test_max_rss"
|
||||||
|
"test_recycle"
|
||||||
|
# cannot connect to redis
|
||||||
|
"test_broker"
|
||||||
|
"test_custom"
|
||||||
|
"test_redis"
|
||||||
|
"test_redis_connection"
|
||||||
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
"django_q/tests/test_commands.py"
|
"django_q/tests/test_commands.py"
|
||||||
|
@ -89,11 +101,13 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
pytestFlagsArray = [ "-vv" ];
|
pytestFlagsArray = [ "-vv" ];
|
||||||
|
|
||||||
meta = with lib; {
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
description = "Multiprocessing distributed task queue for Django based on Django-Q";
|
description = "Multiprocessing distributed task queue for Django based on Django-Q";
|
||||||
homepage = "https://github.com/django-q2/django-q2";
|
homepage = "https://github.com/django-q2/django-q2";
|
||||||
changelog = "https://github.com/django-q2/django-q2/releases/tag/v${version}";
|
changelog = "https://github.com/django-q2/django-q2/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
maintainers = with lib.maintainers; [ SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,13 +9,13 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jupyter-collaboration-ui";
|
pname = "jupyter-collaboration-ui";
|
||||||
version = "2.0.1";
|
version = "2.0.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "jupyter_collaboration_ui";
|
pname = "jupyter_collaboration_ui";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-9UONyyhvhpywCVNbGtZz9eL8EGUS4XBM1zEY1RWsomY=";
|
hash = "sha256-YaNUu0+g5DgcqfLUte7pwsEvwyKCmxBjiOgQmVl/H/o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
wrapGAppsNoGuiHook,
|
wrapGAppsNoGuiHook,
|
||||||
notify2,
|
notify2,
|
||||||
glib,
|
glib,
|
||||||
|
libnotify,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -56,6 +57,7 @@ buildPythonPackage (
|
||||||
pyudev
|
pyudev
|
||||||
setproctitle
|
setproctitle
|
||||||
notify2
|
notify2
|
||||||
|
libnotify
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "psygnal";
|
pname = "psygnal";
|
||||||
version = "0.11.1";
|
version = "0.13.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||||
owner = "pyapp-kit";
|
owner = "pyapp-kit";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-eGJWtmw2Ps3jII4T8E6s3djzxfqcSdyPemvejal0cn4=";
|
hash = "sha256-ZEN8S2sI1usXl5A1Ow1+l4BBB6qNnlVt/nvFtAX4maY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
|
@ -58,7 +58,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Implementation of Qt Signals";
|
description = "Implementation of Qt Signals";
|
||||||
homepage = "https://github.com/pyapp-kit/psygnal";
|
homepage = "https://github.com/pyapp-kit/psygnal";
|
||||||
changelog = "https://github.com/pyapp-kit/psygnal/blob/v${version}/CHANGELOG.md";
|
changelog = "https://github.com/pyapp-kit/psygnal/blob/${src.tag}/CHANGELOG.md";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ SomeoneSerge ];
|
maintainers = with maintainers; [ SomeoneSerge ];
|
||||||
};
|
};
|
||||||
|
|
37
pkgs/development/python-modules/rctclient/default.nix
Normal file
37
pkgs/development/python-modules/rctclient/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
click,
|
||||||
|
setuptools,
|
||||||
|
pytestCheckHook,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "rctclient";
|
||||||
|
version = "0.0.4";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "svalouch";
|
||||||
|
repo = "python-rctclient";
|
||||||
|
tag = "v${version}";
|
||||||
|
hash = "sha256-QPla5h8wSM9Ynj44Uwc1a2yAnu8TXbyBWzVHQeW6jnI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
optional-dependencies.cli = [ click ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "rctclient" ];
|
||||||
|
|
||||||
|
nativeCheckInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python implementation of the RCT Power GmbH Serial Communication Protocol";
|
||||||
|
homepage = "https://github.com/svalouch/python-rctclient";
|
||||||
|
changelog = "https://github.com/svalouch/python-rctclient/releases/tag/${src.tag}";
|
||||||
|
license = with licenses; [ gpl3Only ];
|
||||||
|
maintainers = with maintainers; [ _9R ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,25 +1,30 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
fetchFromGitHub,
|
||||||
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "spidev";
|
pname = "spidev";
|
||||||
version = "3.6";
|
version = "3.7";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "doceme";
|
||||||
hash = "sha256-FNvDdZSkqu+FQDq2F5hdPD70ZNYrybdp71UttTcBEVs=";
|
repo = "py-spidev";
|
||||||
|
tag = "v${version}";
|
||||||
|
hash = "sha256-XLCWuLjBpsEGjP3yUNbFMxJQ1m9S7TY0LfVVteUU2bY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# package does not include tests
|
build-system = [ setuptools ];
|
||||||
doCheck = false;
|
|
||||||
|
doCheck = false; # no tests
|
||||||
|
|
||||||
pythonImportsCheck = [ "spidev" ];
|
pythonImportsCheck = [ "spidev" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/doceme/py-spidev/releases/tag/${src.tag}";
|
||||||
homepage = "https://github.com/doceme/py-spidev";
|
homepage = "https://github.com/doceme/py-spidev";
|
||||||
description = "Python bindings for Linux SPI access through spidev";
|
description = "Python bindings for Linux SPI access through spidev";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
|
@ -24,14 +24,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "sqlframe";
|
pname = "sqlframe";
|
||||||
version = "3.31.2";
|
version = "3.31.3";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "eakmanrq";
|
owner = "eakmanrq";
|
||||||
repo = "sqlframe";
|
repo = "sqlframe";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-X7KZSbq9KKUE4lXZIHj++koJmjWYI1sMhA6LfClr9pU=";
|
hash = "sha256-x9ILbtl71Xp4p5OWQ/goays5W6uE17FCes7ZVfWZBwY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
|
|
|
@ -2,11 +2,12 @@
|
||||||
lib,
|
lib,
|
||||||
skawarePackages,
|
skawarePackages,
|
||||||
skalibs,
|
skalibs,
|
||||||
|
execline,
|
||||||
|
writeTextFile,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.9.6.1";
|
version = "2.9.6.1";
|
||||||
|
|
||||||
in
|
in
|
||||||
skawarePackages.buildPackage {
|
skawarePackages.buildPackage {
|
||||||
inherit version;
|
inherit version;
|
||||||
|
@ -75,4 +76,24 @@ skawarePackages.buildPackage {
|
||||||
${./execlineb-wrapper.c} \
|
${./execlineb-wrapper.c} \
|
||||||
-lskarnet
|
-lskarnet
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Write an execline script.
|
||||||
|
# Documented in ../../../../doc/build-helpers/trivial-build-helpers.chapter.md
|
||||||
|
passthru.writeScript =
|
||||||
|
name: options: script:
|
||||||
|
writeTextFile {
|
||||||
|
inherit name;
|
||||||
|
text = ''
|
||||||
|
#!${execline}/bin/execlineb ${toString options}
|
||||||
|
${script}
|
||||||
|
'';
|
||||||
|
|
||||||
|
executable = true;
|
||||||
|
derivationArgs.nativeBuildInputs = [ execline ];
|
||||||
|
checkPhase = ''
|
||||||
|
echo redirfd -w 1 /dev/null echo >test.el
|
||||||
|
cat <$target >>test.el
|
||||||
|
execlineb -W test.el
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, fetchzip }:
|
{ lib, fetchzip }:
|
||||||
let
|
let
|
||||||
version = "3.5.2";
|
version = "3.6.0";
|
||||||
srcHash = "sha256-aHzaBYQ+IHen15FwmSIHaRLe8oWm3BpADrmqW4UWwj0=";
|
srcHash = "sha256-/vBWuCHvVaFqCbwZAXgkHpfAQaOt4dtqeCXmDuQzBoc=";
|
||||||
# The tarball contains vendored dependencies
|
# The tarball contains vendored dependencies
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
in
|
in
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
buildHomeAssistantComponent,
|
||||||
|
rctclient,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildHomeAssistantComponent rec {
|
||||||
|
owner = "weltenwort";
|
||||||
|
domain = "rct_power";
|
||||||
|
version = "v0.14.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "weltenwort";
|
||||||
|
repo = "home-assistant-rct-power-integration";
|
||||||
|
tag = version;
|
||||||
|
hash = "sha256-wM66MyRhBsMfUr+KlqV4jSuXcnKfW0fkbDAyuU2crsc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
rctclient
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = false; # no tests
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/weltenwort/home-assistant-rct-power-integration/releases/tag/${src.tag}";
|
||||||
|
description = "Custom integration for RCT Power Inverters";
|
||||||
|
homepage = "https://github.com/weltenwort/home-assistant-rct-power-integration";
|
||||||
|
maintainers = with maintainers; [ _9R ];
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -13,13 +13,13 @@
|
||||||
buildHomeAssistantComponent rec {
|
buildHomeAssistantComponent rec {
|
||||||
owner = "mampfes";
|
owner = "mampfes";
|
||||||
domain = "waste_collection_schedule";
|
domain = "waste_collection_schedule";
|
||||||
version = "2.7.0";
|
version = "2.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit owner;
|
inherit owner;
|
||||||
repo = "hacs_waste_collection_schedule";
|
repo = "hacs_waste_collection_schedule";
|
||||||
tag = version;
|
tag = version;
|
||||||
hash = "sha256-llrECprqzjioEAF+eGbDJ8pkyG3ejTrQd5L60JpPp/Y=";
|
hash = "sha256-2dsuDVk2vFZPKLuFdNISg3b3z7PI+Ag3c2IZRbQnrgg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
withConnPrometheus ? false,
|
withConnPrometheus ? false,
|
||||||
withConnPubSub ? false,
|
withConnPubSub ? false,
|
||||||
withCups ? false,
|
withCups ? false,
|
||||||
withDBengine ? false,
|
withDBengine ? true,
|
||||||
withDebug ? false,
|
withDebug ? false,
|
||||||
withEbpf ? false,
|
withEbpf ? false,
|
||||||
withIpmi ? (stdenv.hostPlatform.isLinux),
|
withIpmi ? (stdenv.hostPlatform.isLinux),
|
||||||
|
@ -57,14 +57,14 @@
|
||||||
withML ? true,
|
withML ? true,
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
version = "2.4.0";
|
version = "2.5.1";
|
||||||
pname = "netdata";
|
pname = "netdata";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "netdata";
|
owner = "netdata";
|
||||||
repo = "netdata";
|
repo = "netdata";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-egHsWmhnrl8D59gr7uD5hBnleCOI8gVEBGwdO5GSnOg=";
|
hash = "sha256-77k93mg7iED53k38jATbS2Y1N0eLKhjo0RYyinApkuE=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -133,10 +133,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
++ lib.optional withCloudUi (
|
++ lib.optional withCloudUi (
|
||||||
replaceVars ./dashboard-v3-add.patch {
|
replaceVars ./dashboard-v3-add.patch {
|
||||||
# FIXME web.archive.org link can be replace once https://github.com/netdata/netdata-cloud/issues/1081 resolved
|
# FIXME web.archive.org link can be replace once https://github.com/netdata/netdata-cloud/issues/1081 resolved
|
||||||
# last update 03/16/2025 23:56:24
|
# last update 04/01/2025 04:45:14
|
||||||
dashboardTarball = fetchurl {
|
dashboardTarball = fetchurl {
|
||||||
url = "https://web.archive.org/web/20250316235624/https://app.netdata.cloud/agent.tar.gz";
|
url = "https://web.archive.org/web/20250401044514/https://app.netdata.cloud/agent.tar.gz";
|
||||||
hash = "sha256-Vtw+CbBgqGRenkis0ZR2/TLsoM83NjNA6mbndb95EK8=";
|
hash = "sha256-NtmM1I3VrvFErMoBl+w63Nt0DzOOsaB98cxE/axm8mE=";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -220,9 +220,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DWEB_DIR=share/netdata/web"
|
"-DWEB_DIR=share/netdata/web"
|
||||||
(lib.cmakeBool "ENABLE_DASHBOARD" withCloudUi)
|
(lib.cmakeBool "ENABLE_DASHBOARD" withCloudUi)
|
||||||
# FIXME uncomment when https://github.com/netdata/netdata/issues/19901#issuecomment-2819701451 resolved
|
(lib.cmakeBool "ENABLE_DBENGINE" withDBengine)
|
||||||
(lib.cmakeBool "ENABLE_DBENGINE" true)
|
|
||||||
# (lib.cmakeBool "ENABLE_DBENGINE" withDBengine)
|
|
||||||
(lib.cmakeBool "ENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE" withConnPrometheus)
|
(lib.cmakeBool "ENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE" withConnPrometheus)
|
||||||
(lib.cmakeBool "ENABLE_JEMALLOC" true)
|
(lib.cmakeBool "ENABLE_JEMALLOC" true)
|
||||||
(lib.cmakeBool "ENABLE_LIBBACKTRACE" withLibbacktrace)
|
(lib.cmakeBool "ENABLE_LIBBACKTRACE" withLibbacktrace)
|
||||||
|
@ -260,7 +258,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
sourceRoot = "${finalAttrs.src.name}/src/go/plugin/go.d";
|
sourceRoot = "${finalAttrs.src.name}/src/go/plugin/go.d";
|
||||||
|
|
||||||
vendorHash = "sha256-PgQs3+++iD9Lg8psTBVzF4b+kGJzhV5yNQBkw/+Dqks=";
|
vendorHash = "sha256-N03IGTtF78PCo4kf0Sdtzv6f8z47ohg8g3YIXtINRjU=";
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
proxyVendor = true;
|
proxyVendor = true;
|
||||||
|
|
||||||
|
|
|
@ -14870,6 +14870,8 @@ self: super: with self; {
|
||||||
|
|
||||||
rcssmin = callPackage ../development/python-modules/rcssmin { };
|
rcssmin = callPackage ../development/python-modules/rcssmin { };
|
||||||
|
|
||||||
|
rctclient = callPackage ../development/python-modules/rctclient { };
|
||||||
|
|
||||||
rdbtools = callPackage ../development/python-modules/rdbtools { };
|
rdbtools = callPackage ../development/python-modules/rdbtools { };
|
||||||
|
|
||||||
rdflib = callPackage ../development/python-modules/rdflib { };
|
rdflib = callPackage ../development/python-modules/rdflib { };
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
$ hydra-eval-jobs -I . pkgs/top-level/release-haskell.nix
|
$ hydra-eval-jobs -I . pkgs/top-level/release-haskell.nix
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
supportedSystems ? import ../../ci/supportedSystems.nix,
|
supportedSystems ? builtins.fromJSON (builtins.readFile ../../ci/supportedSystems.json),
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
attrNamesOnly ? false,
|
attrNamesOnly ? false,
|
||||||
|
|
||||||
# Set this to `null` to build for builtins.currentSystem only
|
# Set this to `null` to build for builtins.currentSystem only
|
||||||
systems ? import ../../ci/supportedSystems.nix,
|
systems ? builtins.fromJSON (builtins.readFile ../../ci/supportedSystems.json),
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
lib = import (path + "/lib");
|
lib = import (path + "/lib");
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
system ? builtins.currentSystem,
|
system ? builtins.currentSystem,
|
||||||
officialRelease ? false,
|
officialRelease ? false,
|
||||||
# The platform doubles for which we build Nixpkgs.
|
# The platform doubles for which we build Nixpkgs.
|
||||||
supportedSystems ? import ../../ci/supportedSystems.nix,
|
supportedSystems ? builtins.fromJSON (builtins.readFile ../../ci/supportedSystems.json),
|
||||||
# The platform triples for which we build bootstrap tools.
|
# The platform triples for which we build bootstrap tools.
|
||||||
bootstrapConfigs ? [
|
bootstrapConfigs ? [
|
||||||
"aarch64-apple-darwin"
|
"aarch64-apple-darwin"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue