mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
Merge release-26.05 into staging-nixos-26.05
This commit is contained in:
commit
9abeb6b1c7
94 changed files with 1521 additions and 1300 deletions
|
|
@ -51,7 +51,7 @@ let
|
|||
|
||||
in
|
||||
rec {
|
||||
inherit pkgs fmt;
|
||||
inherit pkgs docPkgs fmt;
|
||||
codeownersValidator = pkgs.callPackage ./codeowners-validator { };
|
||||
|
||||
# FIXME(lf-): it might be useful to test other Nix implementations
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
pkgs ? (import ../ci { }).pkgs,
|
||||
pkgs ? (import ../ci { }).docPkgs,
|
||||
nixpkgs ? { },
|
||||
}:
|
||||
|
||||
|
|
|
|||
|
|
@ -120,7 +120,17 @@ in
|
|||
assert config.merged.positive == { yay = 100; };
|
||||
assert config.merged.extensi-foo == { extensible = "foo"; };
|
||||
assert config.merged.extensi-bar == { extensible = "bar"; };
|
||||
assert config.docs."submodules.<name>.foo.bar".declarations == [ __curPos.file ];
|
||||
assert config.docs."submodules.<name>.foo.bar".type == "signed integer";
|
||||
assert
|
||||
lib.length
|
||||
(options.submodules.type.nestedTypes.elemType.nestedTypes.foo.type.getSubOptions [ ])
|
||||
.bar.declarationPositions == 1;
|
||||
assert
|
||||
(lib.head
|
||||
(options.submodules.type.nestedTypes.elemType.nestedTypes.foo.type.getSubOptions [ ])
|
||||
.bar.declarationPositions
|
||||
).file == __curPos.file;
|
||||
assert config.docs."submodules.<name>.qux".type == "string";
|
||||
assert config.docs."submodules.<name>.qux".declarations == [ __curPos.file ];
|
||||
assert
|
||||
|
|
@ -133,8 +143,11 @@ in
|
|||
assert config.docs."submodules.<name>.qux".description == "A qux for when you don't want a foo";
|
||||
assert config.docs."submodules.<name>.qux".readOnly == false;
|
||||
assert config.docs."submodules.<name>.qux".visible == true;
|
||||
# Not available (yet?)
|
||||
# assert config.docs."submodules.<name>.qux".declarationsWithPositions == [ ... ];
|
||||
assert
|
||||
lib.length options.submodules.type.nestedTypes.elemType.nestedTypes.qux.declarationPositions == 1;
|
||||
assert
|
||||
(lib.head options.submodules.type.nestedTypes.elemType.nestedTypes.qux.declarationPositions).file
|
||||
== __curPos.file;
|
||||
assert options.submodules.declarations == [ __curPos.file ];
|
||||
assert lib.length options.submodules.declarationPositions == 1;
|
||||
assert (lib.head options.submodules.declarationPositions).file == __curPos.file;
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ let
|
|||
;
|
||||
inherit (lib.lists)
|
||||
concatLists
|
||||
concatMap
|
||||
elemAt
|
||||
filter
|
||||
foldl'
|
||||
|
|
@ -1004,6 +1005,27 @@ rec {
|
|||
else
|
||||
throw "The option `${showOption loc}` is defined as ${lib.strings.escapeNixIdentifier choice}, but ${lib.strings.escapeNixIdentifier choice} is not among the valid choices (${choicesStr}). Value ${choice} was defined in ${showFiles (getFiles defs)}.";
|
||||
nestedTypes = tags;
|
||||
getSubModules =
|
||||
let
|
||||
tagsWithSubModules = filterAttrs (_: mods: mods != null) (
|
||||
mapAttrs (_: opt: opt.type.getSubModules) tags
|
||||
);
|
||||
in
|
||||
if tagsWithSubModules == { } then null else [ tagsWithSubModules ];
|
||||
substSubModules =
|
||||
allWrappedModules:
|
||||
let
|
||||
tagsWithNewTypes = zipAttrsWith (tag: tags.${tag}.type.substSubModules) (
|
||||
concatMap (
|
||||
{ _file, imports }: map (mapAttrs (_: imports: { inherit _file imports; })) imports
|
||||
) allWrappedModules
|
||||
);
|
||||
in
|
||||
attrTag (
|
||||
mapAttrs (
|
||||
tag: opt: opt // (optionalAttrs (tagsWithNewTypes ? ${tag}) { type = tagsWithNewTypes.${tag}; })
|
||||
) tags
|
||||
);
|
||||
functor = defaultFunctor "attrTag" // {
|
||||
type = { tags, ... }: lib.types.attrTag tags;
|
||||
payload = { inherit tags; };
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ in
|
|||
settings = lib.mkOption {
|
||||
description = ''
|
||||
Configuration of Chhoto URL.
|
||||
See <https://github.com/SinTan1729/chhoto-url/blob/main/compose.yaml> for a list of options.
|
||||
See <https://github.com/SinTan1729/chhoto-url/blob/main/docs/INSTALLATION.md#configuration-options> for a list of options.
|
||||
'';
|
||||
example = {
|
||||
port = 4567;
|
||||
|
|
@ -152,7 +152,7 @@ in
|
|||
description = ''
|
||||
Files to load environment variables from in addition to [](#opt-services.chhoto-url.settings).
|
||||
This is useful to avoid putting secrets into the nix store.
|
||||
See <https://github.com/SinTan1729/chhoto-url/blob/main/compose.yaml> for a list of options.
|
||||
See <https://github.com/SinTan1729/chhoto-url/blob/main/docs/INSTALLATION.md#configuration-options> for a list of options.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
};
|
||||
|
||||
interactive.nodes.machine = {
|
||||
services.glitchtip.listenAddress = "0.0.0.0";
|
||||
networking.firewall.allowedTCPPorts = [ 8000 ];
|
||||
virtualisation.forwardPorts = [
|
||||
{
|
||||
|
|
@ -29,9 +28,13 @@
|
|||
];
|
||||
};
|
||||
|
||||
interactive.sshBackdoor.enable = true;
|
||||
interactive.defaults.virtualisation.graphics = false;
|
||||
|
||||
testScript = ''
|
||||
import json
|
||||
import re
|
||||
import time
|
||||
|
||||
machine.wait_for_unit("chhoto-url.service")
|
||||
machine.wait_for_open_port(8000)
|
||||
|
|
@ -53,8 +56,10 @@
|
|||
assert (match := re.search(r"(?m)^location: (.+?)\r?$", resp))
|
||||
assert match[1] == "https://nixos.org/"
|
||||
|
||||
time.sleep(2)
|
||||
resp = json.loads(machine.succeed(f"curl -H 'X-API-Key: api_key' localhost:8000/api/expand -d '{slug}'"))
|
||||
assert resp["success"] is True
|
||||
assert resp["longurl"] == "https://nixos.org/"
|
||||
assert resp["hits"] == 1
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,11 +10,11 @@
|
|||
buildMozillaMach rec {
|
||||
pname = "firefox-beta";
|
||||
binaryName = "firefox-beta";
|
||||
version = "151.0b9";
|
||||
version = "152.0b10";
|
||||
applicationName = "Firefox Beta";
|
||||
src = fetchurl {
|
||||
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
||||
sha512 = "2d50cbe82dd470ab94148ab57585324ff98950fa25b806065b61ab2f541c795d826f4d9a454225ec798cdcd77dfd453dc50d26f0ccf8bdb5fcdf010244aec45a";
|
||||
sha512 = "531117225f690736e529d654766136878e3c719ec500860fcd578d9bf93f2e46f2887f0c4ba21dd17884cc41bda37fbd735c998091a0e1b0eb72d5d43f4f2339";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
yq-go,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
|
|
@ -22,21 +21,29 @@ buildGoModule {
|
|||
|
||||
vendorHash = "sha256-LZOvss6wiZZi5USuXfivqtt69dTKzEmm7lM2LUDACfY=";
|
||||
|
||||
# NOTE: Remove the install and upgrade hooks.
|
||||
postPatch = ''
|
||||
sed -i '/^hooks:/,+2 d' plugin.yaml
|
||||
# Remove the install and upgrade hooks.
|
||||
sed -i '/^platformHooks:[[:space:]]*$/,/^[^[:space:]]/d' plugin.yaml
|
||||
# Remove the per-platform commands
|
||||
sed -i '/^platformCommand:[[:space:]]*$/,/^[^[:space:]]/d' plugin.yaml
|
||||
# Add a simple runtime config
|
||||
cat <<'EOF' >> ./plugin.yaml
|
||||
platformCommand:
|
||||
- command: "''$HELM_PLUGIN_DIR/helm-unittest"
|
||||
EOF
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
install -dm755 $out/helm-unittest
|
||||
mv $out/bin/helm-unittest $out/helm-unittest/untt
|
||||
rmdir $out/bin
|
||||
install -m644 -Dt $out/helm-unittest plugin.yaml
|
||||
'';
|
||||
subPackages = [ "cmd/helm-unittest" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
yq-go
|
||||
];
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -dm755 "$out/helm-unittest"
|
||||
install -m755 -Dt "$out/helm-unittest" "$GOPATH/bin/helm-unittest"
|
||||
install -m644 -Dt "$out/helm-unittest" ./plugin.yaml
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
traefik-crd = {
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik-crd/traefik-crd-39.0.701+up39.0.7.tgz";
|
||||
sha256 = "1ii00d4r0lmzwi8n16m2fgi50j0s5cj1bm0jlsi3dbdbpq0savi3";
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik-crd/traefik-crd-40.1.3+up40.1.0.tgz";
|
||||
sha256 = "0wrjc73w4h7bshm5lg6hb71h6s49wmxkmplrf6601zq400yr0m2y";
|
||||
};
|
||||
traefik = {
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik/traefik-39.0.701+up39.0.7.tgz";
|
||||
sha256 = "1ijrh3wr4k6ydcv0ylvy4i3swbj5byam0lkk51khfl9mmz4z8y0r";
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik/traefik-40.1.3+up40.1.0.tgz";
|
||||
sha256 = "1sgc46xpc2vg5s5vbs7jk2y2bzylf34qcamx681jq0gfjaxs0cdz";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,26 +1,26 @@
|
|||
{
|
||||
"airgap-images-amd64-tar-gz": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.33.12%2Bk3s1/k3s-airgap-images-amd64.tar.gz",
|
||||
"sha256": "6a29f795a718e0b7a11b81b4f8a342764a90b78a83a57ad6e1b90d81c3718290"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.33.13%2Bk3s1/k3s-airgap-images-amd64.tar.gz",
|
||||
"sha256": "2e96b421314df12b5a4b2168ae0a8f097a63b9826bf93fbb86f7b69a48551cd7"
|
||||
},
|
||||
"airgap-images-amd64-tar-zst": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.33.12%2Bk3s1/k3s-airgap-images-amd64.tar.zst",
|
||||
"sha256": "1ec9755fbe791b710b176c12f66160e19b31605345c92f3b5916176976f813a8"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.33.13%2Bk3s1/k3s-airgap-images-amd64.tar.zst",
|
||||
"sha256": "b01d1c0b5eeff414a405a423851e13575317831eec3f87f22d6a7038f9a1fdb7"
|
||||
},
|
||||
"airgap-images-arm-tar-gz": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.33.12%2Bk3s1/k3s-airgap-images-arm.tar.gz",
|
||||
"sha256": "893e395bbee35745e32aaa4e421aaf0c88e685739edc5658f9bf573a95a86782"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.33.13%2Bk3s1/k3s-airgap-images-arm.tar.gz",
|
||||
"sha256": "b0d3bbbb034fcb920124562ef115ede32c2269fa8f5c35342a7c801c1e3d8068"
|
||||
},
|
||||
"airgap-images-arm-tar-zst": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.33.12%2Bk3s1/k3s-airgap-images-arm.tar.zst",
|
||||
"sha256": "1613727aaa8ae55a1a597a2914faf9ab909a710e175a26b4652754b25ab01337"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.33.13%2Bk3s1/k3s-airgap-images-arm.tar.zst",
|
||||
"sha256": "ce3ac7a19d4753d543063e8bc70425b289a4b0c5c1a9e5e23555f2c70c3053f8"
|
||||
},
|
||||
"airgap-images-arm64-tar-gz": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.33.12%2Bk3s1/k3s-airgap-images-arm64.tar.gz",
|
||||
"sha256": "5fa48235a216c9dfcaefcd344597d221adf16aa583a0ca9d9b4094e4c9c1ef5f"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.33.13%2Bk3s1/k3s-airgap-images-arm64.tar.gz",
|
||||
"sha256": "e483093a7cfa530445405faa7496ac6dedd7cb51312afc5e0cd8455923bd661e"
|
||||
},
|
||||
"airgap-images-arm64-tar-zst": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.33.12%2Bk3s1/k3s-airgap-images-arm64.tar.zst",
|
||||
"sha256": "ec56b324e405a3990b9ee16b5aa39bfb636ce88a127869685c042944caf38835"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.33.13%2Bk3s1/k3s-airgap-images-arm64.tar.zst",
|
||||
"sha256": "76103ee88986c05f858d3f0f92c5e42f6410e33a94b5ee528897c7d45e1bef74"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
{
|
||||
k3sVersion = "1.33.12+k3s1";
|
||||
k3sCommit = "35e4874312bcfd643320c7f7cb225f7063cb9e4e";
|
||||
k3sRepoSha256 = "1md7w6n9iz3nk63rnf4ahs66d2vg3gfc5frksar2iw3kcv99bhmc";
|
||||
k3sVendorHash = "sha256-O0HIcCzrKGR8NkMoDfaD1wPbAttHt0kEpVjr/kOLMu8=";
|
||||
k3sVersion = "1.33.13+k3s1";
|
||||
k3sCommit = "86c2c10c51e4340bb8252fff312d74dcafaf39d5";
|
||||
k3sRepoSha256 = "06m8rqarxii7ip4pjwyr25mskgnr00lp3xypr8ywq01akns8y2bg";
|
||||
k3sVendorHash = "sha256-oshDuY+I4sdXvjxyrp7meI9XzXo9DUr9wdD6pvUT3fg=";
|
||||
chartVersions = import ./chart-versions.nix;
|
||||
imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json);
|
||||
k3sRootVersion = "0.15.0";
|
||||
k3sRootSha256 = "008n8xx7x36y9y4r24hx39xagf1dxbp3pqq2j53s9zkaiqc62hd0";
|
||||
k3sRootVersion = "0.15.2";
|
||||
k3sRootSha256 = "0yxq2jqqb7flm4rs9dl7fqxba3mmwkmjbc8rx7pgai4qa1lzyigy";
|
||||
k3sCNIVersion = "1.9.1-k3s1";
|
||||
k3sCNISha256 = "1ggaz0p1c2k94car9d89a05smz3zx32sxn197b1l5kmjcnzdwadh";
|
||||
containerdVersion = "2.2.3-k3s1.33";
|
||||
containerdSha256 = "1zkbjwnhxxkc9lqk2i9wfi10ywd4rsky3sjs2dzlid91l6xgrwhv";
|
||||
containerdVersion = "2.2.5-k3s1.33";
|
||||
containerdSha256 = "1al4zsyh3pz379ia0awhrlz7nyl2abyy0ayw0gl4gr6xjp7jsp1s";
|
||||
containerdPackage = "github.com/k3s-io/containerd/v2";
|
||||
criCtlVersion = "1.33.0-k3s2";
|
||||
flannelVersion = "v0.28.4";
|
||||
flannelPluginVersion = "v1.9.0-flannel1";
|
||||
kubeRouterVersion = "v2.6.3-k3s1";
|
||||
criDockerdVersion = "v0.3.19-k3s2";
|
||||
helmJobVersion = "v0.10.0-build20260513";
|
||||
helmJobVersion = "v0.11.1-build20260615";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
traefik-crd = {
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik-crd/traefik-crd-39.0.701+up39.0.7.tgz";
|
||||
sha256 = "1ii00d4r0lmzwi8n16m2fgi50j0s5cj1bm0jlsi3dbdbpq0savi3";
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik-crd/traefik-crd-40.1.3+up40.1.0.tgz";
|
||||
sha256 = "0wrjc73w4h7bshm5lg6hb71h6s49wmxkmplrf6601zq400yr0m2y";
|
||||
};
|
||||
traefik = {
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik/traefik-39.0.701+up39.0.7.tgz";
|
||||
sha256 = "1ijrh3wr4k6ydcv0ylvy4i3swbj5byam0lkk51khfl9mmz4z8y0r";
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik/traefik-40.1.3+up40.1.0.tgz";
|
||||
sha256 = "1sgc46xpc2vg5s5vbs7jk2y2bzylf34qcamx681jq0gfjaxs0cdz";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,26 +1,26 @@
|
|||
{
|
||||
"airgap-images-amd64-tar-gz": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.34.8%2Bk3s1/k3s-airgap-images-amd64.tar.gz",
|
||||
"sha256": "2a5f910bb31b8674dff61f55a242b8dacb553894a50d66ea3c2dbf4ec8931345"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.34.9%2Bk3s1/k3s-airgap-images-amd64.tar.gz",
|
||||
"sha256": "87a83fb2db2883e427e3c2351c2d3bff7bd6d3ad2ab703aec22e81e326bd63cf"
|
||||
},
|
||||
"airgap-images-amd64-tar-zst": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.34.8%2Bk3s1/k3s-airgap-images-amd64.tar.zst",
|
||||
"sha256": "c1a261f664a58664aab975ba5c861d872c825d4f8ccc391c649283bf2c1663cf"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.34.9%2Bk3s1/k3s-airgap-images-amd64.tar.zst",
|
||||
"sha256": "b01d1c0b5eeff414a405a423851e13575317831eec3f87f22d6a7038f9a1fdb7"
|
||||
},
|
||||
"airgap-images-arm-tar-gz": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.34.8%2Bk3s1/k3s-airgap-images-arm.tar.gz",
|
||||
"sha256": "a14b0421af4e4afe70010886cf66eb99b2cb48e1f810269bae47dad5c8bbc2c7"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.34.9%2Bk3s1/k3s-airgap-images-arm.tar.gz",
|
||||
"sha256": "6063398406fca10cafb109a04967c42dfcfee7216e6c6ec49a2f8c3a3b51d80a"
|
||||
},
|
||||
"airgap-images-arm-tar-zst": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.34.8%2Bk3s1/k3s-airgap-images-arm.tar.zst",
|
||||
"sha256": "b6dba85a8470f95ab2a57658bb5ac2adfcf3e3c0634501e7b87d6904f32308d6"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.34.9%2Bk3s1/k3s-airgap-images-arm.tar.zst",
|
||||
"sha256": "db42a4016d8ff1f98520613fd0f569723c7553063d1a3f9aa12f25bc68b19b2a"
|
||||
},
|
||||
"airgap-images-arm64-tar-gz": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.34.8%2Bk3s1/k3s-airgap-images-arm64.tar.gz",
|
||||
"sha256": "dbb6f771024fbf07a85d57fb77d43a59a4cd712684e819dd31f9633088c3f99e"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.34.9%2Bk3s1/k3s-airgap-images-arm64.tar.gz",
|
||||
"sha256": "eedeab95e4e1f7f11bdd08b45555c591d6b35a59be9f476b9ac95d9940ab720d"
|
||||
},
|
||||
"airgap-images-arm64-tar-zst": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.34.8%2Bk3s1/k3s-airgap-images-arm64.tar.zst",
|
||||
"sha256": "984dc4a2050e1bde1b57ac8a07ce6639a56151a3b57cee0616220bc680c65041"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.34.9%2Bk3s1/k3s-airgap-images-arm64.tar.zst",
|
||||
"sha256": "26a5528bb00c7beac8c88399af77c71123e74fedbba5b03c1c5ae003c838880f"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
{
|
||||
k3sVersion = "1.34.8+k3s1";
|
||||
k3sCommit = "fb21251ee14ffbec9a2ba5d8ff25a7aa1221fbe3";
|
||||
k3sRepoSha256 = "18f2mhhn7nz8lri1qbjja5nfjncsadra9wrqxxgprfg5lx7fi3a2";
|
||||
k3sVendorHash = "sha256-jikPQgyQ4ApWPF+iHYjL7H6ccWcC1x/JEABluJyzmfs=";
|
||||
k3sVersion = "1.34.9+k3s1";
|
||||
k3sCommit = "5f72184f2d188f75171bbd21953b1c16268e425f";
|
||||
k3sRepoSha256 = "0z9c98f02ixvfjlm6yj3i93pvplnfc52l54lyfrb40d1b9wgrsdw";
|
||||
k3sVendorHash = "sha256-JAOi23vFIYoTxB7g5Fyr+91dEX0lqChJMHCNW3q8O/g=";
|
||||
chartVersions = import ./chart-versions.nix;
|
||||
imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json);
|
||||
k3sRootVersion = "0.15.0";
|
||||
k3sRootSha256 = "008n8xx7x36y9y4r24hx39xagf1dxbp3pqq2j53s9zkaiqc62hd0";
|
||||
k3sRootVersion = "0.15.2";
|
||||
k3sRootSha256 = "0yxq2jqqb7flm4rs9dl7fqxba3mmwkmjbc8rx7pgai4qa1lzyigy";
|
||||
k3sCNIVersion = "1.9.1-k3s1";
|
||||
k3sCNISha256 = "1ggaz0p1c2k94car9d89a05smz3zx32sxn197b1l5kmjcnzdwadh";
|
||||
containerdVersion = "2.2.3-k3s1";
|
||||
containerdSha256 = "0fn252icn082822r754i2bqd8rivhvjwkfk031a8g0vvw8rz46vj";
|
||||
containerdVersion = "2.2.5-k3s2";
|
||||
containerdSha256 = "1i9vkmf3gg34d9hjq15c00frhqxs9cba03zwg7qqq34gkb4qhjch";
|
||||
containerdPackage = "github.com/k3s-io/containerd/v2";
|
||||
criCtlVersion = "1.34.0-k3s2";
|
||||
flannelVersion = "v0.28.4";
|
||||
flannelPluginVersion = "v1.9.0-flannel1";
|
||||
kubeRouterVersion = "v2.6.3-k3s1";
|
||||
criDockerdVersion = "v0.3.19-k3s3";
|
||||
helmJobVersion = "v0.10.0-build20260513";
|
||||
helmJobVersion = "v0.11.1-build20260615";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
traefik-crd = {
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik-crd/traefik-crd-39.0.701+up39.0.7.tgz";
|
||||
sha256 = "1ii00d4r0lmzwi8n16m2fgi50j0s5cj1bm0jlsi3dbdbpq0savi3";
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik-crd/traefik-crd-40.1.3+up40.1.0.tgz";
|
||||
sha256 = "0wrjc73w4h7bshm5lg6hb71h6s49wmxkmplrf6601zq400yr0m2y";
|
||||
};
|
||||
traefik = {
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik/traefik-39.0.701+up39.0.7.tgz";
|
||||
sha256 = "1ijrh3wr4k6ydcv0ylvy4i3swbj5byam0lkk51khfl9mmz4z8y0r";
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik/traefik-40.1.3+up40.1.0.tgz";
|
||||
sha256 = "1sgc46xpc2vg5s5vbs7jk2y2bzylf34qcamx681jq0gfjaxs0cdz";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,26 +1,26 @@
|
|||
{
|
||||
"airgap-images-amd64-tar-gz": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.35.5%2Bk3s1/k3s-airgap-images-amd64.tar.gz",
|
||||
"sha256": "b25863ba596e81ee773b462edc1b7ee26e80ff8e675c983115464372713237ac"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.35.6%2Bk3s1/k3s-airgap-images-amd64.tar.gz",
|
||||
"sha256": "0ffcf255abd68eb4a321c9b13e1b596c1d32a59c5b9bbcaa4d415f213ba34cf1"
|
||||
},
|
||||
"airgap-images-amd64-tar-zst": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.35.5%2Bk3s1/k3s-airgap-images-amd64.tar.zst",
|
||||
"sha256": "c1a261f664a58664aab975ba5c861d872c825d4f8ccc391c649283bf2c1663cf"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.35.6%2Bk3s1/k3s-airgap-images-amd64.tar.zst",
|
||||
"sha256": "b3af3ad5f8faaaf5deb3e875815f0805f2abd31f8c2f4d566cc2d9e6bb7e688a"
|
||||
},
|
||||
"airgap-images-arm-tar-gz": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.35.5%2Bk3s1/k3s-airgap-images-arm.tar.gz",
|
||||
"sha256": "5b9fc436d67f0ca941084c512715f2ea21e6c66732144145788f1403ffd6c082"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.35.6%2Bk3s1/k3s-airgap-images-arm.tar.gz",
|
||||
"sha256": "1e5747971cc382ef44b3f0b0aa640da45642c2bec330fd6daae28d61c90f0eca"
|
||||
},
|
||||
"airgap-images-arm-tar-zst": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.35.5%2Bk3s1/k3s-airgap-images-arm.tar.zst",
|
||||
"sha256": "1613727aaa8ae55a1a597a2914faf9ab909a710e175a26b4652754b25ab01337"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.35.6%2Bk3s1/k3s-airgap-images-arm.tar.zst",
|
||||
"sha256": "29eae298befd23f13426443ccc049921874dd4e4987c4e5e15a1e63b816177fd"
|
||||
},
|
||||
"airgap-images-arm64-tar-gz": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.35.5%2Bk3s1/k3s-airgap-images-arm64.tar.gz",
|
||||
"sha256": "bc085e02004382b15413e98457079e2a0a3d8f18b3c9a4a58917f1bc6064ea29"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.35.6%2Bk3s1/k3s-airgap-images-arm64.tar.gz",
|
||||
"sha256": "14d4b33fd5dbc60c47d2c025b9a0cb1fa617e3ff351cc9c284ad9da3caf0263b"
|
||||
},
|
||||
"airgap-images-arm64-tar-zst": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.35.5%2Bk3s1/k3s-airgap-images-arm64.tar.zst",
|
||||
"sha256": "0bf33db3b0595166f1c36a6780ebd789343f50f23a4d61157519ada4d002919d"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.35.6%2Bk3s1/k3s-airgap-images-arm64.tar.zst",
|
||||
"sha256": "850056a90a804ae95977bed34bcaf7d0cbc9fcb794700a25f34454c2b2fd6b50"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
{
|
||||
k3sVersion = "1.35.5+k3s1";
|
||||
k3sCommit = "6a4781ad53ee5cad273bedcd9462ae36ac97d798";
|
||||
k3sRepoSha256 = "1m6sy7p5v3kkg66mzsna9c4d1f7ly843ii42zmb2a26vxa0dicx3";
|
||||
k3sVendorHash = "sha256-czE0ZJ9yWc3VSuPqjy4V+ViBGPriluMPmUK5aTk4DmY=";
|
||||
k3sVersion = "1.35.6+k3s1";
|
||||
k3sCommit = "87243446a2c2fe958c31ad552fe38ebf96757b06";
|
||||
k3sRepoSha256 = "0hcd2pyd66isnii7x6nbw420n0sc7rwrbws4aayakas1xi0yrkzq";
|
||||
k3sVendorHash = "sha256-U8JM3CKLGUMWLntMyczrHCW+WMAeiDy2xwzR39InvCM=";
|
||||
chartVersions = import ./chart-versions.nix;
|
||||
imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json);
|
||||
k3sRootVersion = "0.15.0";
|
||||
k3sRootSha256 = "008n8xx7x36y9y4r24hx39xagf1dxbp3pqq2j53s9zkaiqc62hd0";
|
||||
k3sRootVersion = "0.15.2";
|
||||
k3sRootSha256 = "0yxq2jqqb7flm4rs9dl7fqxba3mmwkmjbc8rx7pgai4qa1lzyigy";
|
||||
k3sCNIVersion = "1.9.1-k3s1";
|
||||
k3sCNISha256 = "1ggaz0p1c2k94car9d89a05smz3zx32sxn197b1l5kmjcnzdwadh";
|
||||
containerdVersion = "2.2.3-k3s1";
|
||||
containerdSha256 = "0fn252icn082822r754i2bqd8rivhvjwkfk031a8g0vvw8rz46vj";
|
||||
containerdVersion = "2.2.5-k3s2";
|
||||
containerdSha256 = "1i9vkmf3gg34d9hjq15c00frhqxs9cba03zwg7qqq34gkb4qhjch";
|
||||
containerdPackage = "github.com/k3s-io/containerd/v2";
|
||||
criCtlVersion = "1.35.0-k3s2";
|
||||
flannelVersion = "v0.28.4";
|
||||
flannelPluginVersion = "v1.9.0-flannel1";
|
||||
kubeRouterVersion = "v2.6.3-k3s1";
|
||||
criDockerdVersion = "v0.3.19-k3s3";
|
||||
helmJobVersion = "v0.10.0-build20260513";
|
||||
helmJobVersion = "v0.11.1-build20260615";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
traefik-crd = {
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik-crd/traefik-crd-39.0.701+up39.0.7.tgz";
|
||||
sha256 = "1ii00d4r0lmzwi8n16m2fgi50j0s5cj1bm0jlsi3dbdbpq0savi3";
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik-crd/traefik-crd-40.1.3+up40.1.0.tgz";
|
||||
sha256 = "0wrjc73w4h7bshm5lg6hb71h6s49wmxkmplrf6601zq400yr0m2y";
|
||||
};
|
||||
traefik = {
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik/traefik-39.0.701+up39.0.7.tgz";
|
||||
sha256 = "1ijrh3wr4k6ydcv0ylvy4i3swbj5byam0lkk51khfl9mmz4z8y0r";
|
||||
url = "https://k3s.io/k3s-charts/assets/traefik/traefik-40.1.3+up40.1.0.tgz";
|
||||
sha256 = "1sgc46xpc2vg5s5vbs7jk2y2bzylf34qcamx681jq0gfjaxs0cdz";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,26 +1,26 @@
|
|||
{
|
||||
"airgap-images-amd64-tar-gz": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.36.1%2Bk3s1/k3s-airgap-images-amd64.tar.gz",
|
||||
"sha256": "8aad05e71764f08eae8d4db9e5d42d892dce39c9eb79206514c4ee03f4293db1"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.36.2%2Bk3s1/k3s-airgap-images-amd64.tar.gz",
|
||||
"sha256": "6065608edb70f061570fa15c4cce4eeb31e5218eadbacad65de4a75d1de4dad6"
|
||||
},
|
||||
"airgap-images-amd64-tar-zst": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.36.1%2Bk3s1/k3s-airgap-images-amd64.tar.zst",
|
||||
"sha256": "72cf836bfcf8f9af2de88102b69129d297b77a60243895a7ac4bc47d77a65079"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.36.2%2Bk3s1/k3s-airgap-images-amd64.tar.zst",
|
||||
"sha256": "da6a3b2dbd55cc368d930078ae8814ed22eb9c92247f7b9b46bf073445ff55b3"
|
||||
},
|
||||
"airgap-images-arm-tar-gz": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.36.1%2Bk3s1/k3s-airgap-images-arm.tar.gz",
|
||||
"sha256": "639f155016f956764b212a1671a6e090100016505b34d3f45e76513fdd93cb5f"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.36.2%2Bk3s1/k3s-airgap-images-arm.tar.gz",
|
||||
"sha256": "aaa7e592ba0b83e4e70741fc963358b87d57bb20a6daa09ef102db14995285e4"
|
||||
},
|
||||
"airgap-images-arm-tar-zst": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.36.1%2Bk3s1/k3s-airgap-images-arm.tar.zst",
|
||||
"sha256": "4b16cc7a17bac0957db9df4ad937ce52792a696b0eb60944b52eb65447a0d1fa"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.36.2%2Bk3s1/k3s-airgap-images-arm.tar.zst",
|
||||
"sha256": "9d1440d7fc88720f03b0e57d291e3a727a67a4f2e89bb5c4757d83a390635b2e"
|
||||
},
|
||||
"airgap-images-arm64-tar-gz": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.36.1%2Bk3s1/k3s-airgap-images-arm64.tar.gz",
|
||||
"sha256": "bc84f7965ef5f3a7e45e9f79f1090ef066fdd9bdb96d476c5d37cb13d0c2935b"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.36.2%2Bk3s1/k3s-airgap-images-arm64.tar.gz",
|
||||
"sha256": "07766de91ed2bfa240e12b1d0b9c3af2257c8296bfa4ce17fba776243a2790fb"
|
||||
},
|
||||
"airgap-images-arm64-tar-zst": {
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.36.1%2Bk3s1/k3s-airgap-images-arm64.tar.zst",
|
||||
"sha256": "174e1e7cf8493ea8fb2550231de3e93fc2f3cec27f977236fd7ab90a18680eed"
|
||||
"url": "https://github.com/k3s-io/k3s/releases/download/v1.36.2%2Bk3s1/k3s-airgap-images-arm64.tar.zst",
|
||||
"sha256": "26a5528bb00c7beac8c88399af77c71123e74fedbba5b03c1c5ae003c838880f"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
{
|
||||
k3sVersion = "1.36.1+k3s1";
|
||||
k3sCommit = "a9663261a7ff40522542485a6b2f81916b6d72f9";
|
||||
k3sRepoSha256 = "0788034bw5pl8ikfb16fvdhl8a3dhhfasrbafir6s9fb8q9h3z4z";
|
||||
k3sVendorHash = "sha256-jX/qoRhVLZy/25fdhp5NOiRSGEatV/acBbSpjhutAzU=";
|
||||
k3sVersion = "1.36.2+k3s1";
|
||||
k3sCommit = "01b6f04aaa69e8b09303f0393d4b4f1811da23aa";
|
||||
k3sRepoSha256 = "0iqh1hkqfgm9df3bnwi79zxcdk0a9621q451yibr19j58pb76pxv";
|
||||
k3sVendorHash = "sha256-rwFC0bzUacl5kiQrnpRqqIam+9ADqaPuxLxNBX0wWXY=";
|
||||
chartVersions = import ./chart-versions.nix;
|
||||
imagesVersions = builtins.fromJSON (builtins.readFile ./images-versions.json);
|
||||
k3sRootVersion = "0.15.0";
|
||||
k3sRootSha256 = "008n8xx7x36y9y4r24hx39xagf1dxbp3pqq2j53s9zkaiqc62hd0";
|
||||
k3sRootVersion = "0.15.2";
|
||||
k3sRootSha256 = "0yxq2jqqb7flm4rs9dl7fqxba3mmwkmjbc8rx7pgai4qa1lzyigy";
|
||||
k3sCNIVersion = "1.9.1-k3s1";
|
||||
k3sCNISha256 = "1ggaz0p1c2k94car9d89a05smz3zx32sxn197b1l5kmjcnzdwadh";
|
||||
containerdVersion = "2.2.3-k3s1";
|
||||
containerdSha256 = "0fn252icn082822r754i2bqd8rivhvjwkfk031a8g0vvw8rz46vj";
|
||||
containerdVersion = "2.3.2-k3s2";
|
||||
containerdSha256 = "1jzhkh0zg1s2922fkr4r5v1680apafkjqba8ic6br8nc8bk7j4xq";
|
||||
containerdPackage = "github.com/k3s-io/containerd/v2";
|
||||
criCtlVersion = "1.36.0-k3s1";
|
||||
flannelVersion = "v0.28.4";
|
||||
flannelPluginVersion = "v1.9.0-flannel1";
|
||||
kubeRouterVersion = "v2.6.3-k3s1";
|
||||
criDockerdVersion = "v0.3.19-k3s5";
|
||||
helmJobVersion = "v0.10.0-build20260513";
|
||||
helmJobVersion = "v0.11.1-build20260615";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "evolution";
|
||||
version = "3.60.1";
|
||||
version = "3.60.2";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
|
@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor finalAttrs.version}/evolution-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-jzM860wxzOfXdJXokBoA79xTdtpUKcHClNfj77xvcwg=";
|
||||
hash = "sha256-IYpJ+lBoFV29vTWjDRCi8jfHJGX7HQ4Kp4iJ8DnC7Y8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -91,8 +91,8 @@ rec {
|
|||
thunderbird-140 = common {
|
||||
applicationName = "Thunderbird ESR";
|
||||
|
||||
version = "140.12.0esr";
|
||||
sha512 = "ccbcc305d5cc10aa01aa5071f40a21b42de0300d9ad6763c4fc4ad71bf797566f2380c8fd84d46952e7c4eae0a35905173e6906b108192833660eae2ceea7b51";
|
||||
version = "140.12.1esr";
|
||||
sha512 = "24e795483ba7bc112c0debe1becdaf79cc2de95703b9ee726d0216bfc1db7b33c169503f83ac867e5998a8d1d0284a6ef12c7d35d98b10d6432497c2db237477";
|
||||
|
||||
updateScript = callPackage ./update.nix {
|
||||
attrPath = "thunderbirdPackages.thunderbird-140";
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
cmakeBuildType = if debug then "Debug" else "RelWithDebInfo";
|
||||
|
||||
dontStrip = debug;
|
||||
separateDebugInfo = !debug;
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
{
|
||||
"version": "1.3.19-stable",
|
||||
"version": "1.3.21-stable",
|
||||
"sources": {
|
||||
"aarch64-darwin": {
|
||||
"url": "https://acli.atlassian.com/darwin/1.3.19-stable/acli_1.3.19-stable_darwin_arm64.tar.gz",
|
||||
"sha256": "c5f1b1f6db63972d126a2f8ac9aca9a199739c7b51ac9e352e8ae3ed2b27131c"
|
||||
"url": "https://acli.atlassian.com/darwin/1.3.21-stable/acli_1.3.21-stable_darwin_arm64.tar.gz",
|
||||
"sha256": "39687d1c18054736f7264d76d33ceb89e8ebf480fbbba9541d9fefdda94ded66"
|
||||
},
|
||||
"aarch64-linux": {
|
||||
"url": "https://acli.atlassian.com/linux/1.3.19-stable/acli_1.3.19-stable_linux_arm64.tar.gz",
|
||||
"sha256": "72972e74fa9036c5b40175570234a2e79559776c06a3aa29f632a39c7d3674da"
|
||||
"url": "https://acli.atlassian.com/linux/1.3.21-stable/acli_1.3.21-stable_linux_arm64.tar.gz",
|
||||
"sha256": "b6104cd1737613fe4b24c20619965bb59b7b9bc09e39fb95f41a671b2b320ab8"
|
||||
},
|
||||
"x86_64-darwin": {
|
||||
"url": "https://acli.atlassian.com/darwin/1.3.19-stable/acli_1.3.19-stable_darwin_amd64.tar.gz",
|
||||
"sha256": "394096ecd5a6082cbbbc8b2f3e1f1fbe694cdb340e25a4014eeb78461b869beb"
|
||||
"url": "https://acli.atlassian.com/darwin/1.3.21-stable/acli_1.3.21-stable_darwin_amd64.tar.gz",
|
||||
"sha256": "75f08d45886f770117405bb5b053bfa4c8e98045afe3dfa965905fabd8825f5c"
|
||||
},
|
||||
"x86_64-linux": {
|
||||
"url": "https://acli.atlassian.com/linux/1.3.19-stable/acli_1.3.19-stable_linux_amd64.tar.gz",
|
||||
"sha256": "f29fa8b7f01710053c2f4e07723501ebfe448672b669d32d83e961686d383a6d"
|
||||
"url": "https://acli.atlassian.com/linux/1.3.21-stable/acli_1.3.21-stable_linux_amd64.tar.gz",
|
||||
"sha256": "f158f6e8f6ae7e279d1ced8ce85a93647aa70c42c29f0d5ad303ebd3c727f956"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
|||
];
|
||||
|
||||
cmakeBuildType = "RelWithDebInfo";
|
||||
separateDebugInfo = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
|
|
|
|||
|
|
@ -11,10 +11,24 @@ let
|
|||
url = "https://github.com/RPGLogs/Uploaders-archon-lite/releases/download/v${version}/archon-lite-v${version}.AppImage";
|
||||
hash = "sha256-ooNvgbtV6HKgzRLgHZul92NLnEB8oX6fHL6iwfHajVA=";
|
||||
};
|
||||
|
||||
extracted = appimageTools.extractType2 { inherit pname version src; };
|
||||
in
|
||||
appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
|
||||
extraInstallCommands = ''
|
||||
mkdir -p $out/share/applications
|
||||
mkdir -p $out/share/icons/hicolor/512x512/apps
|
||||
cp -r ${extracted}/usr/share/icons/hicolor/512x512/apps/'Archon App Lite.png' $out/share/icons/hicolor/512x512/apps/archon-lite.png
|
||||
chmod -R +w $out/share/
|
||||
test ! -e $out/share/icons/hicolor/0x0 # check for regression of https://github.com/electron-userland/electron-builder/issues/5294
|
||||
cp ${extracted}/'Archon App Lite.desktop' $out/share/applications/archon-lite.desktop
|
||||
substituteInPlace $out/share/applications/archon-lite.desktop \
|
||||
--replace-fail "Exec=AppRun --no-sandbox" "Exec=archon-lite" \
|
||||
--replace-fail "Icon=Archon App Lite" "Icon=archon-lite"
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
|
|
|||
|
|
@ -8,28 +8,30 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "chhoto-url";
|
||||
version = "7.2.1";
|
||||
version = "7.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SinTan1729";
|
||||
repo = "chhoto-url";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-n8fCQeY0gIyZuACKWa8Fk9TQ680PpVS2MHMFy7UgDwk=";
|
||||
hash = "sha256-1kPXsN5gOfY8JyaV6J5X2cEH00Xm06nsU5GNuVDxBJo=";
|
||||
fetchLFS = true;
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/actix";
|
||||
sourceRoot = "${finalAttrs.src.name}/backend";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/{main.rs,services/get.rs,services/utils.rs} \
|
||||
--replace-fail "./resources/" "${placeholder "out"}/share/chhoto-url/resources/"
|
||||
--replace-fail "./frontend/" "${placeholder "out"}/share/chhoto-url/frontend/"
|
||||
substituteInPlace Cargo.toml \
|
||||
--replace-fail 'rust-version = "1.96"' 'rust-version = "1.95"'
|
||||
'';
|
||||
|
||||
cargoHash = "sha256-9EVGsOipx9ObygpM37iZYLnhYjSMHFhHTDvjHkLWLz8=";
|
||||
cargoHash = "sha256-H3HrHu1y8wIc0j3cCIPOUnFe1jzpx1vCSfZvushIf70=";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/chhoto-url
|
||||
cp -r ${finalAttrs.src}/resources $out/share/chhoto-url/resources
|
||||
cp -r ${finalAttrs.src}/frontend $out/share/chhoto-url/frontend
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
diff --git a/src/external_libs.cmake b/src/external_libs.cmake
|
||||
index 62e6e879..8934777f 100644
|
||||
index 5a98540..1c5ab6d 100644
|
||||
--- a/src/external_libs.cmake
|
||||
+++ b/src/external_libs.cmake
|
||||
@@ -1,7 +1,6 @@
|
||||
|
|
@ -11,11 +11,13 @@ index 62e6e879..8934777f 100644
|
|||
CONFIGURE_COMMAND echo
|
||||
BUILD_IN_SOURCE 1
|
||||
BUILD_COMMAND ${DFLY_TOOLS_MAKE} all
|
||||
@@ -19,18 +18,16 @@ endif()
|
||||
@@ -19,20 +18,16 @@ endif()
|
||||
|
||||
add_third_party(
|
||||
dconv
|
||||
- URL https://github.com/google/double-conversion/archive/refs/tags/v3.3.0.tar.gz
|
||||
- GIT_REPOSITORY https://github.com/google/double-conversion
|
||||
- # URL https://github.com/google/double-conversion/archive/refs/tags/v3.3.1.tar.gz
|
||||
- GIT_TAG 0604b4c
|
||||
- PATCH_COMMAND ${SED_REPL} "/static const std::ctype/d"
|
||||
- <SOURCE_DIR>/double-conversion/string-to-double.cc
|
||||
- COMMAND ${SED_REPL} "/std::use_facet</d" <SOURCE_DIR>/double-conversion/string-to-double.cc
|
||||
|
|
@ -35,12 +37,12 @@ index 62e6e879..8934777f 100644
|
|||
CONFIGURE_COMMAND <SOURCE_DIR>/configure --disable-avx2 --prefix=${THIRD_PARTY_LIB_DIR}/reflex
|
||||
CXX=${CMAKE_CXX_COMPILER} CC=${CMAKE_C_COMPILER}
|
||||
)
|
||||
@@ -41,16 +38,14 @@ set(REFLEX "${THIRD_PARTY_LIB_DIR}/reflex/bin/reflex")
|
||||
@@ -41,16 +36,14 @@ set(REFLEX "${THIRD_PARTY_LIB_DIR}/reflex/bin/reflex")
|
||||
|
||||
add_third_party(
|
||||
jsoncons
|
||||
- GIT_REPOSITORY https://github.com/dragonflydb/jsoncons
|
||||
- GIT_TAG Dragonfly.178
|
||||
- GIT_TAG Dragonfly1.5.0
|
||||
- GIT_SHALLOW 1
|
||||
+ DOWNLOAD_COMMAND cp -r ${CMAKE_BINARY_DIR}/deps-nixpkgs/jsoncons/. <SOURCE_DIR>
|
||||
CMAKE_PASS_FLAGS "-DJSONCONS_BUILD_TESTS=OFF -DJSONCONS_HAS_POLYMORPHIC_ALLOCATOR=ON"
|
||||
|
|
@ -54,7 +56,7 @@ index 62e6e879..8934777f 100644
|
|||
|
||||
BUILD_IN_SOURCE 1
|
||||
CONFIGURE_COMMAND echo skip
|
||||
@@ -65,7 +60,7 @@ set(MIMALLOC_C_FLAGS "-O3 -g -DMI_STAT=1 -DNDEBUG")
|
||||
@@ -65,7 +58,7 @@ set(MIMALLOC_C_FLAGS "-O3 -g -DMI_STAT=1 -DNDEBUG")
|
||||
file(MAKE_DIRECTORY ${MIMALLOC_INCLUDE_DIR})
|
||||
|
||||
ExternalProject_Add(mimalloc2_project
|
||||
|
|
@ -63,7 +65,7 @@ index 62e6e879..8934777f 100644
|
|||
DOWNLOAD_DIR ${THIRD_PARTY_DIR}/mimalloc2
|
||||
SOURCE_DIR ${THIRD_PARTY_DIR}/mimalloc2
|
||||
# INSTALL_DIR ${MIMALLOC_ROOT_DIR}
|
||||
@@ -118,21 +113,21 @@ set_target_properties(TRDP::mimalloc2 PROPERTIES IMPORTED_LOCATION ${MIMALLOC_RO
|
||||
@@ -119,23 +112,21 @@ set_target_properties(TRDP::mimalloc2 PROPERTIES IMPORTED_LOCATION ${MIMALLOC_RO
|
||||
|
||||
add_third_party(
|
||||
croncpp
|
||||
|
|
@ -78,17 +80,28 @@ index 62e6e879..8934777f 100644
|
|||
- URL https://github.com/uni-algo/uni-algo/archive/refs/tags/v1.0.0.tar.gz
|
||||
+ DOWNLOAD_COMMAND cp -r ${CMAKE_BINARY_DIR}/deps-nixpkgs/uni-algo/. <SOURCE_DIR>
|
||||
|
||||
CMAKE_PASS_FLAGS "-DCMAKE_CXX_STANDARD:STRING=17"
|
||||
CMAKE_PASS_FLAGS "-DCMAKE_CXX_STANDARD:STRING=20"
|
||||
)
|
||||
|
||||
add_third_party(
|
||||
hnswlib
|
||||
- URL https://github.com/nmslib/hnswlib/archive/refs/tags/v0.7.0.tar.gz
|
||||
- GIT_REPOSITORY https://github.com/dragonflydb/hnswlib.git
|
||||
- # HEAD of dragonfly branch
|
||||
- GIT_TAG d07dd1da2bf48b85d2f03b8396193ad7120f75c2
|
||||
+ DOWNLOAD_COMMAND cp -r ${CMAKE_BINARY_DIR}/deps-nixpkgs/hnswlib/. <SOURCE_DIR>
|
||||
|
||||
BUILD_COMMAND echo SKIP
|
||||
INSTALL_COMMAND cp -R <SOURCE_DIR>/hnswlib ${THIRD_PARTY_LIB_DIR}/hnswlib/include/
|
||||
@@ -142,21 +137,20 @@ endif()
|
||||
@@ -145,7 +136,7 @@ if (WITH_SEARCH)
|
||||
# No autoconf/cmake/install in upstream Makefile; manual install copy.
|
||||
add_third_party(
|
||||
stemmer
|
||||
- URL https://github.com/snowballstem/snowball/archive/refs/tags/v3.0.1.tar.gz
|
||||
+ DOWNLOAD_COMMAND cp -r ${CMAKE_BINARY_DIR}/deps-nixpkgs/stemmer/. <SOURCE_DIR>
|
||||
BUILD_IN_SOURCE 1
|
||||
CONFIGURE_COMMAND echo skip
|
||||
BUILD_COMMAND ${DFLY_TOOLS_MAKE} -j4 CFLAGS=-O3\ -fPIC libstemmer.a
|
||||
@@ -159,21 +150,20 @@ endif()
|
||||
|
||||
add_third_party(
|
||||
fast_float
|
||||
|
|
|
|||
|
|
@ -1,35 +1,52 @@
|
|||
diff --git a/helio/cmake/third_party.cmake b/helio/cmake/third_party.cmake
|
||||
index 810a8fa..8b11922 100644
|
||||
index 6cad93a..409e45f 100644
|
||||
--- a/helio/cmake/third_party.cmake
|
||||
+++ b/helio/cmake/third_party.cmake
|
||||
@@ -151,7 +151,7 @@ endfunction()
|
||||
@@ -189,24 +189,9 @@ function(download_and_validate url file out_status)
|
||||
set(${out_status} "${st}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
-if(NOT EXISTS "${GTEST_TARBALL}")
|
||||
- download_and_validate("${GTEST_RELEASE_URL}" "${GTEST_TARBALL}" st1)
|
||||
- list(GET st1 0 rc1)
|
||||
- if(NOT rc1 EQUAL 0)
|
||||
- file(REMOVE "${GTEST_TARBALL}")
|
||||
- message(STATUS "Primary download failed: ${st1}. Trying archive URL...")
|
||||
- download_and_validate("${GTEST_ARCHIVE_URL}" "${GTEST_TARBALL}" st2)
|
||||
- list(GET st2 0 rc2)
|
||||
- if(NOT rc2 EQUAL 0)
|
||||
- file(REMOVE "${GTEST_TARBALL}")
|
||||
- message(FATAL_ERROR "Failed to download googletest.\nRelease: ${st1}\nArchive: ${st2}")
|
||||
- endif()
|
||||
- endif()
|
||||
-endif()
|
||||
-
|
||||
FetchContent_Declare(
|
||||
gtest
|
||||
- URL https://github.com/google/googletest/archive/v1.15.2.tar.gz
|
||||
- URL "${GTEST_TARBALL}"
|
||||
+ DOWNLOAD_COMMAND true
|
||||
)
|
||||
|
||||
FetchContent_GetProperties(gtest)
|
||||
@@ -162,7 +162,7 @@ endif ()
|
||||
@@ -217,7 +202,7 @@ endif ()
|
||||
|
||||
FetchContent_Declare(
|
||||
benchmark
|
||||
- URL https://github.com/google/benchmark/archive/v1.9.1.tar.gz
|
||||
- URL https://github.com/google/benchmark/archive/v1.9.5.tar.gz
|
||||
+ DOWNLOAD_COMMAND true
|
||||
)
|
||||
|
||||
FetchContent_GetProperties(benchmark)
|
||||
@@ -181,7 +181,7 @@ endif ()
|
||||
@@ -236,7 +221,7 @@ endif ()
|
||||
|
||||
FetchContent_Declare(
|
||||
abseil_cpp
|
||||
- URL https://github.com/abseil/abseil-cpp/releases/download/20250512.1/abseil-cpp-20250512.1.tar.gz
|
||||
+ DOWNLOAD_COMMAND true
|
||||
PATCH_COMMAND patch -p1 < "${CMAKE_CURRENT_LIST_DIR}/../patches/abseil-20250512.1.patch"
|
||||
COMMAND patch -p1 < "${CMAKE_CURRENT_LIST_DIR}/../patches/abseil-gcc-undefined-sanitizer-compilation-fix.patch"
|
||||
)
|
||||
|
||||
@@ -204,11 +204,7 @@ if (LEGACY_GLOG)
|
||||
@@ -263,11 +248,7 @@ if (LEGACY_GLOG)
|
||||
|
||||
FetchContent_Declare(
|
||||
glog
|
||||
|
|
@ -42,36 +59,16 @@ index 810a8fa..8b11922 100644
|
|||
)
|
||||
|
||||
FetchContent_GetProperties(glog)
|
||||
@@ -278,7 +274,7 @@ if (WITH_GPERF)
|
||||
@@ -337,7 +318,7 @@ if (WITH_GPERF)
|
||||
|
||||
add_third_party(
|
||||
gperf
|
||||
- URL https://github.com/gperftools/gperftools/archive/gperftools-2.16.tar.gz
|
||||
- URL https://github.com/gperftools/gperftools/archive/gperftools-2.18.1.tar.gz
|
||||
+ DOWNLOAD_COMMAND cp -r ${CMAKE_CURRENT_BINARY_DIR}/deps-nixpkgs/gperf/. <SOURCE_DIR>
|
||||
|
||||
# GIT_SHALLOW TRUE
|
||||
# Remove building the unneeded programs (they fail on macos)
|
||||
@@ -312,9 +308,7 @@ set(MIMALLOC_INCLUDE_DIR ${THIRD_PARTY_LIB_DIR}/mimalloc/include)
|
||||
set (MIMALLOC_PATCH_COMMAND patch -p1 -d ${THIRD_PARTY_DIR}/mimalloc/ -i ${CMAKE_CURRENT_LIST_DIR}/../patches/mimalloc-v2.1.6.patch)
|
||||
|
||||
add_third_party(mimalloc
|
||||
- #GIT_REPOSITORY https://github.com/microsoft/mimalloc.git
|
||||
- #GIT_TAG 0f6d8293c74796fa913e4b5eb4361f1e4734f7c6
|
||||
- URL https://github.com/microsoft/mimalloc/archive/refs/tags/v2.1.6.tar.gz
|
||||
+ DOWNLOAD_COMMAND cp -r ${CMAKE_CURRENT_BINARY_DIR}/deps-nixpkgs/mimalloc216/. <SOURCE_DIR>
|
||||
PATCH_COMMAND "${MIMALLOC_PATCH_COMMAND}"
|
||||
# -DCMAKE_BUILD_TYPE=Release
|
||||
# Add -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-O0 to debug
|
||||
@@ -328,7 +322,7 @@ add_third_party(mimalloc
|
||||
)
|
||||
|
||||
add_third_party(jemalloc
|
||||
- URL https://github.com/jemalloc/jemalloc/releases/download/5.2.1/jemalloc-5.2.1.tar.bz2
|
||||
+ DOWNLOAD_COMMAND cp -r ${CMAKE_CURRENT_BINARY_DIR}/deps-nixpkgs/jemalloc/. <SOURCE_DIR>
|
||||
PATCH_COMMAND ./autogen.sh
|
||||
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${THIRD_PARTY_LIB_DIR}/jemalloc --with-jemalloc-prefix=je_ --disable-libdl
|
||||
)
|
||||
@@ -336,7 +330,7 @@ add_third_party(jemalloc
|
||||
@@ -367,7 +348,7 @@ endif()
|
||||
|
||||
add_third_party(
|
||||
xxhash
|
||||
|
|
@ -80,16 +77,16 @@ index 810a8fa..8b11922 100644
|
|||
|
||||
# A bug in xxhash 0.8.1 that searches for a file that doesn't exist
|
||||
PATCH_COMMAND touch <SOURCE_DIR>/xxhsum.1
|
||||
@@ -347,7 +341,7 @@ add_third_party(
|
||||
@@ -378,7 +359,7 @@ add_third_party(
|
||||
|
||||
add_third_party(
|
||||
uring
|
||||
- URL https://github.com/axboe/liburing/archive/refs/tags/liburing-2.8.tar.gz
|
||||
- URL https://github.com/axboe/liburing/archive/refs/tags/liburing-2.13.tar.gz
|
||||
+ DOWNLOAD_COMMAND cp -r ${CMAKE_CURRENT_BINARY_DIR}/deps-nixpkgs/uring/. <SOURCE_DIR>
|
||||
|
||||
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${THIRD_PARTY_LIB_DIR}/uring
|
||||
BUILD_COMMAND make -C src
|
||||
@@ -356,7 +350,7 @@ add_third_party(
|
||||
@@ -387,12 +368,12 @@ add_third_party(
|
||||
|
||||
add_third_party(
|
||||
pugixml
|
||||
|
|
@ -98,28 +95,35 @@ index 810a8fa..8b11922 100644
|
|||
)
|
||||
|
||||
if (WITH_AWS)
|
||||
@@ -364,9 +358,7 @@ if (WITH_AWS)
|
||||
set (AWS_PATCH_COMMAND patch -p1 -d ${THIRD_PARTY_DIR}/aws/ -i ${CMAKE_CURRENT_LIST_DIR}/../patches/aws-sdk-cpp-1.11.717.patch)
|
||||
- set(AWS_CMAKE_PASS_FLAGS "-DBUILD_ONLY=s3 -DNO_HTTP_CLIENT=ON -DENABLE_TESTING=OFF -DENABLE_CURL_LOGGING=OFF -DAUTORUN_UNIT_TESTS=OFF -DBUILD_SHARED_LIBS=OFF -DAWS_SDK_WARNINGS_ARE_ERRORS=OFF -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_POLICY_VERSION_MINIMUM=3.5")
|
||||
+ set(AWS_CMAKE_PASS_FLAGS "-DBUILD_ONLY=s3 -DNO_HTTP_CLIENT=ON -DENABLE_TESTING=OFF -DENABLE_CURL_LOGGING=OFF -DAUTORUN_UNIT_TESTS=OFF -DBUILD_SHARED_LIBS=OFF -DAWS_SDK_WARNINGS_ARE_ERRORS=OFF -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DENFORCE_SUBMODULE_VERSIONS=OFF")
|
||||
|
||||
if (OPENSSL_CRYPTO_LIBRARY AND OPENSSL_INCLUDE_DIR)
|
||||
string(APPEND AWS_CMAKE_PASS_FLAGS " -Dcrypto_LIBRARY=${OPENSSL_CRYPTO_LIBRARY} -Dcrypto_INCLUDE_DIR=${OPENSSL_INCLUDE_DIR}")
|
||||
@@ -410,10 +391,7 @@ if (WITH_AWS)
|
||||
|
||||
add_third_party(
|
||||
aws
|
||||
- GIT_REPOSITORY https://github.com/aws/aws-sdk-cpp.git
|
||||
- GIT_TAG 3e51fa016655eeb6b6610bdf8fe7cf33ebbf3e00
|
||||
- GIT_TAG 1.11.717
|
||||
- GIT_SHALLOW TRUE
|
||||
- GIT_CONFIG submodule.recurse=1 submodule.fetchJobs=10
|
||||
+ DOWNLOAD_COMMAND cp -r ${CMAKE_CURRENT_BINARY_DIR}/deps-nixpkgs/aws-sdk-cpp/. <SOURCE_DIR>
|
||||
PATCH_COMMAND "${AWS_PATCH_COMMAND}"
|
||||
CMAKE_PASS_FLAGS "-DBUILD_ONLY=s3 -DNO_HTTP_CLIENT=ON -DENABLE_TESTING=OFF -DAUTORUN_UNIT_TESTS=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_POLICY_VERSION_MINIMUM=3.5"
|
||||
CMAKE_PASS_FLAGS "${AWS_CMAKE_PASS_FLAGS}"
|
||||
LIB libaws-cpp-sdk-s3.a libaws-cpp-sdk-core.a libaws-crt-cpp.a libaws-c-mqtt.a libaws-c-event-stream.a libaws-c-s3.a libaws-c-auth.a libaws-c-http.a libaws-c-io.a libs2n.a libaws-c-compression.a libaws-c-cal.a libaws-c-sdkutils.a libaws-checksums.a libaws-c-common.a
|
||||
@@ -376,8 +368,7 @@ endif()
|
||||
if (WITH_GCP)
|
||||
add_third_party(
|
||||
rapidjson
|
||||
- GIT_REPOSITORY https://github.com/Tencent/rapidjson.git
|
||||
- GIT_TAG ab1842a
|
||||
+ DOWNLOAD_COMMAND cp -r ${CMAKE_BINARY_DIR}/deps-nixpkgs/rapidjson/. <SOURCE_DIR>
|
||||
CMAKE_PASS_FLAGS "-DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF \
|
||||
-DRAPIDJSON_BUILD_DOC=OFF -DCMAKE_POLICY_VERSION_MINIMUM=3.5"
|
||||
LIB "none"
|
||||
@@ -386,24 +377,23 @@ endif()
|
||||
@@ -422,8 +400,7 @@ endif()
|
||||
|
||||
add_third_party(
|
||||
rapidjson
|
||||
- GIT_REPOSITORY https://github.com/Tencent/rapidjson.git
|
||||
- GIT_TAG ab1842a
|
||||
+ DOWNLOAD_COMMAND cp -r ${CMAKE_BINARY_DIR}/deps-nixpkgs/rapidjson/. <SOURCE_DIR>
|
||||
CMAKE_PASS_FLAGS "-DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF \
|
||||
-DRAPIDJSON_BUILD_DOC=OFF -DCMAKE_POLICY_VERSION_MINIMUM=3.5"
|
||||
LIB "none"
|
||||
@@ -431,14 +408,14 @@ add_third_party(
|
||||
|
||||
add_third_party(
|
||||
cares
|
||||
|
|
@ -134,11 +138,9 @@ index 810a8fa..8b11922 100644
|
|||
- URL https://github.com/facebook/zstd/releases/download/v1.5.7/zstd-1.5.7.tar.zst
|
||||
+ DOWNLOAD_COMMAND cp -r ${CMAKE_CURRENT_BINARY_DIR}/deps-nixpkgs/zstd/. <SOURCE_DIR>
|
||||
SOURCE_SUBDIR "build/cmake"
|
||||
-
|
||||
+
|
||||
|
||||
# for debug pass : "CFLAGS=-fPIC -O0 -ggdb"
|
||||
CMAKE_PASS_FLAGS "-DZSTD_BUILD_SHARED=OFF -DZSTD_BUILD_PROGRAMS=OFF -DZSTD_BUILD_TESTS=OFF"
|
||||
)
|
||||
@@ -447,8 +424,7 @@ add_third_party(
|
||||
|
||||
add_third_party(
|
||||
expected
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
stdenv,
|
||||
|
||||
# Dependencies
|
||||
abseil-cpp,
|
||||
c-ares,
|
||||
croncpp,
|
||||
double-conversion,
|
||||
|
|
@ -15,8 +14,6 @@
|
|||
gperftools,
|
||||
gtest,
|
||||
hdrhistogram_c,
|
||||
hnswlib,
|
||||
jemalloc,
|
||||
liburing,
|
||||
lz4,
|
||||
pcre2,
|
||||
|
|
@ -36,6 +33,7 @@
|
|||
cmake,
|
||||
gcc-unwrapped,
|
||||
ninja,
|
||||
perl,
|
||||
|
||||
# Runtime dependencies
|
||||
boost,
|
||||
|
|
@ -57,21 +55,31 @@
|
|||
|
||||
let
|
||||
pname = "dragonflydb";
|
||||
version = "1.34.2";
|
||||
version = "1.39.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dragonflydb";
|
||||
repo = "dragonfly";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-n70IB32tZDe665hVLrKC0BSSJutmYhtPJvfNa48xaqA=";
|
||||
hash = "sha256-vLuuf3fVdVzcd06bafGiLtION6IwTnspiIJmZF9tUGg=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
aws-sdk-cpp-1-11-162 = fetchFromGitHub {
|
||||
# dragonfly's helio applies patches written against this exact abseil
|
||||
# release (see helio/patches/abseil-20250512.1.patch), so it's pinned here
|
||||
# rather than taken from nixpkgs' abseil-cpp, which tracks a newer version.
|
||||
abseil-cpp-20250512 = fetchFromGitHub {
|
||||
owner = "abseil";
|
||||
repo = "abseil-cpp";
|
||||
tag = "20250512.1";
|
||||
hash = "sha256-eB7OqTO9Vwts9nYQ/Mdq0Ds4T1KgmmpYdzU09VPWOhk=";
|
||||
};
|
||||
|
||||
aws-sdk-cpp-1-11-717 = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "aws-sdk-cpp";
|
||||
tag = "1.11.162";
|
||||
hash = "sha256-NxVE7H8BOetpbBkB2PTVBoHSXYm6cTp41F1LJmhtBbs=";
|
||||
tag = "1.11.717";
|
||||
hash = "sha256-stDZg9dvKljnbZZUHEn1KmlgDdvW6BK7H7RtGk/nyEI=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
|
@ -85,8 +93,17 @@ let
|
|||
jsoncons-dragonfly = fetchFromGitHub {
|
||||
owner = "dragonflydb";
|
||||
repo = "jsoncons";
|
||||
rev = "Dragonfly.178";
|
||||
hash = "sha256-cxM95DFFo5z+eImgZzJw+ykaeSDtBF+hw5qo6gnL53s=";
|
||||
rev = "Dragonfly1.5.0";
|
||||
hash = "sha256-9W9GJpzKuqolXoz5iYiE1EbVWr7HiFqpMgZO1BQdi0s=";
|
||||
};
|
||||
|
||||
# dragonfly's search module uses a fork of hnswlib with custom changes, so
|
||||
# this can't come from nixpkgs' hnswlib (nmslib upstream).
|
||||
hnswlib-dragonfly = fetchFromGitHub {
|
||||
owner = "dragonflydb";
|
||||
repo = "hnswlib";
|
||||
rev = "d07dd1da2bf48b85d2f03b8396193ad7120f75c2";
|
||||
hash = "sha256-GFBjKzDauznGGfkXZqSFgbvBKxDXbx2rETqY5BnCIiw=";
|
||||
};
|
||||
|
||||
lua-dragonfly = fetchFromGitHub {
|
||||
|
|
@ -96,13 +113,6 @@ let
|
|||
hash = "sha256-uLNe+hLihu4wMW/wstGnYdPa2bGPC5UiNE+VyNIYY2c=";
|
||||
};
|
||||
|
||||
mimalloc216 = fetchFromGitHub {
|
||||
owner = "microsoft";
|
||||
repo = "mimalloc";
|
||||
tag = "v2.1.6";
|
||||
hash = "sha256-Ff3+RP+lAXCOeHJ87oG3c02rPP4WQIbg5L/CVe6gA3M=";
|
||||
};
|
||||
|
||||
mimalloc224 = fetchFromGitHub {
|
||||
owner = "microsoft";
|
||||
repo = "mimalloc";
|
||||
|
|
@ -110,6 +120,15 @@ let
|
|||
hash = "sha256-+8xZT+mVEqlqabQc+1buVH/X6FZxvCd0rWMyjPu9i4o=";
|
||||
};
|
||||
|
||||
# nixpkgs' libstemmer is older than the snowball release dragonfly's search
|
||||
# module builds against, so the source is pinned and built in-tree here.
|
||||
snowball-stemmer = fetchFromGitHub {
|
||||
owner = "snowballstem";
|
||||
repo = "snowball";
|
||||
tag = "v3.0.1";
|
||||
hash = "sha256-QPIPePddUqwpa0YMn0E7H9GZj3s2bEkJzZdXlrHeZbo=";
|
||||
};
|
||||
|
||||
withUnwind = !stdenv.targetPlatform.isAarch64;
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
|
|
@ -130,7 +149,7 @@ stdenv.mkDerivation {
|
|||
|
||||
# Copy FetchContent dependencies (in helio/cmake/third_party.cmake)
|
||||
# These go to build/_deps/ where FetchContent expects them
|
||||
cp -r --no-preserve=mode,ownership ${abseil-cpp.src} build/_deps/abseil_cpp-src
|
||||
cp -r --no-preserve=mode,ownership ${abseil-cpp-20250512} build/_deps/abseil_cpp-src
|
||||
cp -r --no-preserve=mode,ownership ${gbenchmark.src} build/_deps/benchmark-src
|
||||
cp -r --no-preserve=mode,ownership ${glog-absl} build/_deps/glog-src
|
||||
cp -r --no-preserve=mode,ownership ${gtest.src} build/_deps/gtest-src
|
||||
|
|
@ -142,13 +161,12 @@ stdenv.mkDerivation {
|
|||
cp -r --no-preserve=mode,ownership ${fast-float.src} build/deps-nixpkgs/fast_float
|
||||
cp -r --no-preserve=mode,ownership ${flatbuffers_23.src} build/deps-nixpkgs/flatbuffers
|
||||
cp -r --no-preserve=mode,ownership ${hdrhistogram_c.src} build/deps-nixpkgs/hdr_histogram
|
||||
cp -r --no-preserve=mode,ownership ${jemalloc.src} build/deps-nixpkgs/jemalloc
|
||||
cp -r --no-preserve=mode,ownership ${jsoncons-dragonfly} build/deps-nixpkgs/jsoncons
|
||||
cp -r --no-preserve=mode,ownership ${liburing.src} build/deps-nixpkgs/uring
|
||||
cp -r --no-preserve=mode,ownership ${lua-dragonfly} build/deps-nixpkgs/lua
|
||||
cp -r --no-preserve=mode,ownership ${lz4.src} build/deps-nixpkgs/lz4
|
||||
cp -r --no-preserve=mode,ownership ${mimalloc216} build/deps-nixpkgs/mimalloc216
|
||||
cp -r --no-preserve=mode,ownership ${mimalloc224} build/deps-nixpkgs/mimalloc224
|
||||
cp -r --no-preserve=mode,ownership ${rapidjson.src} build/deps-nixpkgs/rapidjson
|
||||
cp -r --no-preserve=mode,ownership ${pugixml.src} build/deps-nixpkgs/pugixml
|
||||
cp -r --no-preserve=mode,ownership ${re-flex.src} build/deps-nixpkgs/reflex
|
||||
cp -r --no-preserve=mode,ownership ${xxhash.src} build/deps-nixpkgs/xxhash
|
||||
|
|
@ -161,16 +179,7 @@ stdenv.mkDerivation {
|
|||
${
|
||||
if withAws then
|
||||
''
|
||||
cp -r --no-preserve=mode,ownership ${aws-sdk-cpp-1-11-162} build/deps-nixpkgs/aws-sdk-cpp
|
||||
''
|
||||
else
|
||||
""
|
||||
}
|
||||
|
||||
${
|
||||
if withGcp then
|
||||
''
|
||||
cp -r --no-preserve=mode,ownership ${rapidjson.src} build/deps-nixpkgs/rapidjson
|
||||
cp -r --no-preserve=mode,ownership ${aws-sdk-cpp-1-11-717} build/deps-nixpkgs/aws-sdk-cpp
|
||||
''
|
||||
else
|
||||
""
|
||||
|
|
@ -188,7 +197,8 @@ stdenv.mkDerivation {
|
|||
${
|
||||
if withSearch then
|
||||
''
|
||||
cp -r --no-preserve=mode,ownership ${hnswlib.src} build/deps-nixpkgs/hnswlib
|
||||
cp -r --no-preserve=mode,ownership ${hnswlib-dragonfly} build/deps-nixpkgs/hnswlib
|
||||
cp -r --no-preserve=mode,ownership ${snowball-stemmer} build/deps-nixpkgs/stemmer
|
||||
cp -r --no-preserve=mode,ownership ${uni-algo.src} build/deps-nixpkgs/uni-algo
|
||||
''
|
||||
else
|
||||
|
|
@ -200,6 +210,14 @@ stdenv.mkDerivation {
|
|||
chmod u+x build/deps-nixpkgs/reflex/configure
|
||||
chmod u+x build/deps-nixpkgs/uring/configure
|
||||
touch build/deps-nixpkgs/xxhash/xxhsum.1
|
||||
|
||||
# snowball generates its C sources with perl scripts run via their shebang;
|
||||
# the source copy drops their execute bit, so restore it and fix the
|
||||
# /usr/bin/env shebang for the sandbox.
|
||||
if [ -d build/deps-nixpkgs/stemmer ]; then
|
||||
find build/deps-nixpkgs/stemmer -name '*.pl' -exec chmod +x {} +
|
||||
patchShebangs build/deps-nixpkgs/stemmer
|
||||
fi
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
@ -209,6 +227,7 @@ stdenv.mkDerivation {
|
|||
bison
|
||||
cmake
|
||||
ninja
|
||||
perl
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
|
|
|||
|
|
@ -14,14 +14,14 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "drawio";
|
||||
version = "30.0.4";
|
||||
version = "30.2.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jgraph";
|
||||
repo = "drawio-desktop";
|
||||
rev = "v${finalAttrs.version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-kkKiGRxztEVFo/wlcdBYcDlxadNarcTyL1MqwonfVY4=";
|
||||
hash = "sha256-hn+Lrsn+aNZqVFcyLinuJjUiQgai0o4F5d5cT9CvtLA=";
|
||||
};
|
||||
|
||||
# `@electron/fuses` tries to run `codesign` and fails. Disable and use autoSignDarwinBinariesHook instead
|
||||
|
|
@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
offlineCache = fetchNpmDeps {
|
||||
src = finalAttrs.src;
|
||||
hash = "sha256-hv1LQwsSOsBR5l/joUmXq6foQsVilH+jw3Wje24ISCg=";
|
||||
hash = "sha256-PnYUy0Arxo5uTYyYfUEkbd4u7oIOHkEc0/ufp0umBhE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ index a976b2e..c15e6f3 100644
|
|||
|
||||
for (ii = 0; strv && strv[ii]; ii++) {
|
||||
diff --git a/src/Microsoft365/camel/camel-m365-store.c b/src/Microsoft365/camel/camel-m365-store.c
|
||||
index 6c1ebd6..4b7de44 100644
|
||||
index 5c9f51d..1510272 100644
|
||||
--- a/src/Microsoft365/camel/camel-m365-store.c
|
||||
+++ b/src/Microsoft365/camel/camel-m365-store.c
|
||||
@@ -311,7 +311,7 @@ m365_store_save_category_changes (GHashTable *old_categories, /* gchar *id ~> Ca
|
||||
|
|
|
|||
|
|
@ -23,11 +23,11 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "evolution-ews";
|
||||
version = "3.60.1";
|
||||
version = "3.60.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/evolution-ews/${lib.versions.majorMinor finalAttrs.version}/evolution-ews-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-CiL4ZevrcOJnlSD9LZSqmXPEA8vk4DqojPjyPzWOi20=";
|
||||
hash = "sha256-lAIFgY9piEEUV931gE0hDzUVwm4zQV3r2Puycxsdrys=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
|||
|
|
@ -15,14 +15,14 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fastdds";
|
||||
version = "3.6.1";
|
||||
version = "3.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eProsima";
|
||||
repo = "Fast-DDS";
|
||||
rev = "v${finalAttrs.version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-C9MKfQJ+8XsiSIYaB43j6xmoIyRH7h7sgEyzj1gml/8=";
|
||||
hash = "sha256-17AxZwYPBhl+AyehWvNYP/if124GcmNfWJOD/yB+tgk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -19,14 +19,14 @@
|
|||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "faugus-launcher";
|
||||
version = "1.22.4";
|
||||
version = "1.22.6";
|
||||
pyproject = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Faugus";
|
||||
repo = "faugus-launcher";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-Npfoqa6A1YSNSxV3zcIQL6prlht47dVaZYpq9+Dx9LY=";
|
||||
hash = "sha256-hN0DU7MFlG8+TVQ2pWRRIVIDlmmHE54Dv/PqFAwwECs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
@ -54,9 +54,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
|||
--replace-fail "/usr/bin/python3" "${python3Packages.python.interpreter}"
|
||||
|
||||
substituteInPlace faugus/path_manager.py \
|
||||
--replace-fail "PathManager.user_data('faugus-launcher/umu-run')" "'${lib.getExe umu-launcher}'"
|
||||
|
||||
substituteInPlace faugus/launcher.py faugus/shortcut.py \
|
||||
--replace-fail "PathManager.user_data('faugus-launcher/umu-run')" "'${lib.getExe umu-launcher}'" \
|
||||
--replace-fail "/usr/lib/extensions/vulkan/lsfgvk/lib/liblsfg-vk.so" "${lsfg-vk}/lib/liblsfg-vk.so" \
|
||||
--replace-fail "/usr/lib/liblsfg-vk.so" "${lsfg-vk}/lib/liblsfg-vk.so"
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -24,11 +24,11 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "file-roller";
|
||||
version = "44.6";
|
||||
version = "44.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/file-roller/${lib.versions.major finalAttrs.version}/file-roller-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-noc7UAW8QleZqM1LI34f/0MOyNazSpksYDPx38bjdk4=";
|
||||
hash = "sha256-Z8ralqJAnIWfN46C++hosOnACmnmt7iF1ULGTqKhKX0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -10,13 +10,13 @@
|
|||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "glitchtip-frontend";
|
||||
version = "6.1.8";
|
||||
version = "6.2.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "glitchtip";
|
||||
repo = "glitchtip-frontend";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-y8NPj1xjGnGS9yBFaRjFRxLdTGrAq08T9N7cZN5IeSc=";
|
||||
hash = "sha256-iKY1w9lmfuyvDblH/TlnUwAnda17qWGxmx1qtmQRENg=";
|
||||
};
|
||||
|
||||
nodejs = nodejs_22;
|
||||
|
|
@ -25,7 +25,7 @@ buildNpmPackage (finalAttrs: {
|
|||
name = "${finalAttrs.pname}-${finalAttrs.version}-npm-deps";
|
||||
inherit (finalAttrs) src;
|
||||
npmDepsFetcherVersion = 3;
|
||||
hash = "sha256-AIzPJpNvGV/U71UFAUwOqx8kb31s7LXhMha4bXV+oCU=";
|
||||
hash = "sha256-V9aRKoJ6+BN/q7NS21eZBopzkWje8sOGGL1AgO4cUM0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
|||
42
pkgs/by-name/gl/glitchtip/glitchtip-rust.nix
Normal file
42
pkgs/by-name/gl/glitchtip/glitchtip-rust.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitLab,
|
||||
rustPlatform,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "glitchtip-rust";
|
||||
version = "0.3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "glitchtip";
|
||||
repo = "glitchtip-rust";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-0FG+seIWqfyOG3JR0WF4ICnxMAPx9FO0JyFSB43CttU=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-14j7h4TgQhTE5oihnvjAxtGZhPajuTRD4Cga8xzN9Lg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.maturinBuildHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "gt_rust" ];
|
||||
|
||||
meta = {
|
||||
description = "Rust components of GlitchTip Backend";
|
||||
homepage = "https://glitchtip.com";
|
||||
changelog = "https://gitlab.com/glitchtip/glitchtip-rust/-/tags/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
defelo
|
||||
felbinger
|
||||
];
|
||||
};
|
||||
})
|
||||
|
|
@ -13,6 +13,7 @@ let
|
|||
self = python;
|
||||
packageOverrides = final: prev: {
|
||||
django = final.django_6;
|
||||
glitchtip-rust = final.callPackage ./glitchtip-rust.nix { };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -24,11 +25,11 @@ let
|
|||
arro3-core
|
||||
arro3-io
|
||||
boto3
|
||||
brotli
|
||||
cxxfilt
|
||||
django
|
||||
django-allauth
|
||||
django-anymail
|
||||
django-async-backend
|
||||
django-cors-headers
|
||||
django-environ
|
||||
django-extensions
|
||||
|
|
@ -45,8 +46,10 @@ let
|
|||
duckdb
|
||||
google-cloud-logging
|
||||
granian
|
||||
glitchtip-rust
|
||||
mcp
|
||||
minidump
|
||||
opentelemetry-proto
|
||||
orjson
|
||||
psycopg
|
||||
pydantic
|
||||
|
|
@ -76,14 +79,14 @@ in
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "glitchtip";
|
||||
version = "6.1.8";
|
||||
version = "6.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "glitchtip";
|
||||
repo = "glitchtip-backend";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-4RAZYGoS1tUbcPVv8L0sFWqFfBX05yXKZHFZDbEn0C0=";
|
||||
hash = "sha256-E1YwJwfL5+Q68xRfnoi2Sg+vAZxGQa0IKfOSVuLVnK0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
@ -127,6 +130,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
passthru = {
|
||||
inherit frontend python;
|
||||
inherit (python.pkgs) glitchtip-rust;
|
||||
tests = { inherit (nixosTests) glitchtip; };
|
||||
updateScript = ./update.sh;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,3 +7,4 @@ version=$(curl ${GITLAB_TOKEN:+-H "Private-Token: $GITLAB_TOKEN"} -sL https://gi
|
|||
|
||||
nix-update --version="$version" glitchtip
|
||||
nix-update --version="$version" glitchtip.frontend
|
||||
nix-update glitchtip.glitchtip-rust
|
||||
|
|
|
|||
|
|
@ -77,11 +77,11 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-control-center";
|
||||
version = "50.2";
|
||||
version = "50.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-control-center/${lib.versions.major finalAttrs.version}/gnome-control-center-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-tWvriHuUMumAp1e5juydMdiWlev/tHkbPDvUeWI6kmE=";
|
||||
hash = "sha256-Bu67D9MFbE2NeLvTdUyWEI84HXC3YNpCPFAklGlEKHw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
|||
|
|
@ -31,11 +31,11 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-maps";
|
||||
version = "50.1";
|
||||
version = "50.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-maps/${lib.versions.major finalAttrs.version}/gnome-maps-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-Qs3wNn+UXOPbEgOmvP0dX1822crDYcgcGFZ7kxMN6es=";
|
||||
hash = "sha256-KKRGfR7J/jjrf4YmdMGZ6IQIbiXkwLDYDrUEVoICzr8=";
|
||||
};
|
||||
|
||||
doCheck = !stdenv.hostPlatform.isDarwin;
|
||||
|
|
|
|||
|
|
@ -31,13 +31,13 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
pname = "gnome-music";
|
||||
version = "49.1";
|
||||
version = "50.0";
|
||||
|
||||
pyproject = false;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-music/${lib.versions.major finalAttrs.version}/gnome-music-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-uoga4LVeNOYmn9LT342L+jxex+N7rIlFrseLf/IHvGc=";
|
||||
hash = "sha256-xyiQyn5YCc7+uHawEZn4sZcUa1wl6dV0UwGihMDzzao=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -21,11 +21,11 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-nibbles";
|
||||
version = "4.5.1";
|
||||
version = "4.5.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-nibbles/${lib.versions.majorMinor finalAttrs.version}/gnome-nibbles-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-hLrSgl05uL9wHvZEqrFrLcfnK7Q+P4cC0j7slhPSljc=";
|
||||
hash = "sha256-dnKdO1Ys14Yq0wWQw71A/SUfnUu1xTuqhBUBl/Ixpfo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -15,11 +15,11 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-shell-extensions";
|
||||
version = "50.1";
|
||||
version = "50.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-shell-extensions/${lib.versions.major finalAttrs.version}/gnome-shell-extensions-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-RqXkpebEWNOftCNabYgzy9+8a+YLCeDw14Dxvm1aEmE=";
|
||||
hash = "sha256-ofHWxSjS0pJuh02+nbFuu7nRiVZPil2++bMWqwSPodE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
|||
|
|
@ -48,11 +48,11 @@ in
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-software";
|
||||
version = "50.2";
|
||||
version = "50.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-software/${lib.versions.major finalAttrs.version}/gnome-software-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-ysroXVfkbRj0p8j+M0vzXIwY51uKZvrVbgzioA4c/j8=";
|
||||
hash = "sha256-sTGOaPArs5AvzY+QTVbwP1NOpQmPZeTGu5wskk2n+CM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
|||
|
|
@ -23,11 +23,11 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-sudoku";
|
||||
version = "50.1";
|
||||
version = "50.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-sudoku/${lib.versions.major finalAttrs.version}/gnome-sudoku-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-CwbJd37Ns1oPzZLRZJZCVJ3oFmKfSJ9dkzMVo03Me+I=";
|
||||
hash = "sha256-ZKtGEAg+eMiV4T4C/pUHj5f44DwKj6h83EKFv3KzO58=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gspell";
|
||||
version = "1.14.3";
|
||||
version = "1.14.4";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
|
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gspell/${lib.versions.majorMinor version}/gspell-${version}.tar.xz";
|
||||
hash = "sha256-6LOcZ1VvdUlTYpUvgcokG1o8F8dZYLd/yT+nAsYSpaQ=";
|
||||
hash = "sha256-5zqJ1oxw+HSK77aw9c/f7D/xc89ESYN/1ssX0en89IY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -46,11 +46,11 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gvfs";
|
||||
version = "1.60.0";
|
||||
version = "1.60.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gvfs/${lib.versions.majorMinor finalAttrs.version}/gvfs-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-ZIJz8GnpLH48ATuSFI6CyQHwgETis7FMbPvVImn2tkY=";
|
||||
hash = "sha256-kOq6Mzq30xp/3q3kWVSlE8NmHM672aE4qrP7SB37nkA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
|||
|
|
@ -43,6 +43,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
|||
"lib"
|
||||
];
|
||||
|
||||
cmakeBuildType = "RelWithDebInfo";
|
||||
separateDebugInfo = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
|
|
|||
|
|
@ -59,6 +59,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
doCheck = true;
|
||||
|
||||
cmakeBuildType = "RelWithDebInfo";
|
||||
separateDebugInfo = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
|
|
|||
|
|
@ -45,6 +45,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
|||
wayland-protocols
|
||||
];
|
||||
|
||||
cmakeBuildType = "RelWithDebInfo";
|
||||
separateDebugInfo = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
|
|
|||
|
|
@ -51,6 +51,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
|||
qtWrapperArgs+=(--prefix PATH : "${makeBinPath [ pciutils ]}")
|
||||
'';
|
||||
|
||||
cmakeBuildType = "RelWithDebInfo";
|
||||
separateDebugInfo = true;
|
||||
|
||||
meta = {
|
||||
description = "Hyprland QT/qml utility apps";
|
||||
homepage = "https://github.com/hyprwm/hyprland-qtutils";
|
||||
|
|
|
|||
|
|
@ -185,6 +185,7 @@ customStdenv.mkDerivation (finalAttrs: {
|
|||
cmakeBuildType = if debug then "Debug" else "RelWithDebInfo";
|
||||
|
||||
dontStrip = debug;
|
||||
separateDebugInfo = !debug;
|
||||
strictDeps = true;
|
||||
|
||||
cmakeFlags = mapAttrsToList cmakeBool {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
doCheck = true;
|
||||
|
||||
cmakeBuildType = "RelWithDebInfo";
|
||||
separateDebugInfo = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/hyprwm/hyprlang";
|
||||
description = "Official implementation library for the hypr config language";
|
||||
|
|
|
|||
|
|
@ -72,6 +72,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
|||
ln -s $out/share/hypr/hyprlock.conf $out/etc/xdg/hypr/hyprlock.conf
|
||||
'';
|
||||
|
||||
cmakeBuildType = "RelWithDebInfo";
|
||||
separateDebugInfo = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
|
|
|||
|
|
@ -90,6 +90,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
|||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
cmakeBuildType = "RelWithDebInfo";
|
||||
separateDebugInfo = true;
|
||||
|
||||
meta = {
|
||||
inherit (finalAttrs.src.meta) homepage;
|
||||
description = "Blazing fast wayland wallpaper utility";
|
||||
|
|
|
|||
|
|
@ -29,7 +29,10 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-ABumeksE8Bvtdb6g4vJ2jA9BLlYHnXU86VAuKJhBPoY=";
|
||||
};
|
||||
|
||||
cmakeBuildType = if debug then "Debug" else "Release";
|
||||
cmakeBuildType = if debug then "Debug" else "RelWithDebInfo";
|
||||
|
||||
dontStrip = debug;
|
||||
separateDebugInfo = !debug;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
|
|
|
|||
|
|
@ -46,6 +46,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
strictDeps = true;
|
||||
|
||||
cmakeBuildType = "RelWithDebInfo";
|
||||
separateDebugInfo = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
|||
];
|
||||
|
||||
cmakeBuildType = "RelWithDebInfo";
|
||||
separateDebugInfo = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
|
|
|
|||
|
|
@ -31,6 +31,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
|||
pugixml
|
||||
];
|
||||
|
||||
cmakeBuildType = "RelWithDebInfo";
|
||||
separateDebugInfo = true;
|
||||
|
||||
meta = {
|
||||
inherit (finalAttrs.src.meta) homepage;
|
||||
description = "A fast and consistent wire protocol for IPC ";
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
pkgsCross,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
|
|
@ -15,13 +16,20 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-9lJEjns8ttjgI52ZXeWgL77GMd7o7IvefBJ5UH9y9ks=";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
"CC:=$(CC)"
|
||||
];
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
aarch64-cross = pkgsCross.aarch64-multiplatform.ioping;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Disk I/O latency measuring tool";
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
|
|
|
|||
|
|
@ -3,36 +3,36 @@
|
|||
lib,
|
||||
fetchFromGitHub,
|
||||
nodejs,
|
||||
pnpm_8,
|
||||
pnpm_11,
|
||||
fetchPnpmDeps,
|
||||
pnpmConfigHook,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "it-tools";
|
||||
version = "2024.10.22-7ca5933";
|
||||
version = "0-unstable-2026-02-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CorentinTh";
|
||||
repo = "it-tools";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-SQAZv+9tINRH10lewcuv8G2qwfulLOP8sGjX47LxeUk=";
|
||||
rev = "d505845f918e946ec300af7b36efc107e2f66e9e";
|
||||
hash = "sha256-dWVRiLbJ1X4yHT5yRcq+KaHmjjtc24yQg0jQvWTPNwU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
pnpmConfigHook
|
||||
pnpm_8
|
||||
pnpm_11
|
||||
];
|
||||
|
||||
pnpmDeps = fetchPnpmDeps {
|
||||
inherit
|
||||
inherit (finalAttrs)
|
||||
pname
|
||||
version
|
||||
src
|
||||
;
|
||||
pnpm = pnpm_8;
|
||||
fetcherVersion = 3;
|
||||
hash = "sha256-dsjf2TyLAqPzR8OXJgNcoOdDZj2t+H+tLfRhfPsu1G8=";
|
||||
pnpm = pnpm_11;
|
||||
fetcherVersion = 4;
|
||||
hash = "sha256-ju8YO0IHIGJtCi5TnxvfLUXcTqKWnTBKAGFBhzQJTok=";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
|
|
@ -58,4 +58,4 @@ stdenv.mkDerivation rec {
|
|||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ akotro ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -12,13 +12,13 @@
|
|||
|
||||
buildDotnetModule (finalAttrs: {
|
||||
pname = "jackett";
|
||||
version = "0.24.2108";
|
||||
version = "0.24.2151";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jackett";
|
||||
repo = "jackett";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-MWA5gTiNjkKIaHgUGVt2XV3QBPYGTf/dVqCnmdAaJ0U=";
|
||||
hash = "sha256-V4oBku723EWLTBBjFVkAJTBdhXYTs3Vx98YDinTr5Kc=";
|
||||
};
|
||||
|
||||
projectFile = "src/Jackett.Server/Jackett.Server.csproj";
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libshumate";
|
||||
version = "1.6.1";
|
||||
version = "1.6.2";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
|
@ -34,7 +34,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libshumate/${lib.versions.majorMinor finalAttrs.version}/libshumate-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-s2qtNFAHkXhfVGaE0PLtZE5IGf9Oha5noiRfFZ7MstQ=";
|
||||
hash = "sha256-IjZLuY+LUgM0M2q4IkAZagljSJuGpbODKOG+orZPOp4=";
|
||||
};
|
||||
|
||||
depsBuildBuild = [
|
||||
|
|
|
|||
|
|
@ -31,5 +31,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
philiptaron
|
||||
willbush
|
||||
];
|
||||
teams = [ lib.teams.ci ];
|
||||
};
|
||||
})
|
||||
|
|
|
|||
|
|
@ -22,11 +22,11 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "quadrapassel";
|
||||
version = "50.1";
|
||||
version = "50.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/quadrapassel/${lib.versions.major finalAttrs.version}/quadrapassel-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-UeQ9BZ8GuJwQXVPXHe8L2XzpREcO4Tn8fnQ/zkpsOZQ=";
|
||||
hash = "sha256-z5mB/WbOy9jsWz5i9SXRTy/OXkd7xdkTqKy+7j/6FH0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -2,25 +2,31 @@
|
|||
lib,
|
||||
fetchurl,
|
||||
appimageTools,
|
||||
makeWrapper,
|
||||
writeScript,
|
||||
}:
|
||||
let
|
||||
pname = "remnote";
|
||||
version = "1.26.11";
|
||||
version = "1.26.20";
|
||||
src = fetchurl {
|
||||
url = "https://download2.remnote.io/remnote-desktop2/RemNote-${version}.AppImage";
|
||||
hash = "sha256-3F1lC/3ek6k3x6qZ4WswJRe/QYEy3iTNMhMmLtR6i0U=";
|
||||
hash = "sha256-3/gb/7LO18exAmFYzzfJM7lCbMPrVqCcD32LfkVIO5g=";
|
||||
};
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
appimageContents = appimageTools.extract { inherit pname version src; };
|
||||
in
|
||||
appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
extraInstallCommands = ''
|
||||
install -Dm444 ${appimageContents}/remnote.desktop -t $out/share/applications
|
||||
substituteInPlace $out/share/applications/remnote.desktop \
|
||||
--replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=remnote %u'
|
||||
install -Dm444 ${appimageContents}/remnote.png -t $out/share/icons/hicolor/512x512/apps
|
||||
|
||||
wrapProgram $out/bin/remnote \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-wayland-ime=true --wayland-text-input-version=3}}"
|
||||
'';
|
||||
|
||||
passthru.updateScript = writeScript "update.sh" ''
|
||||
|
|
@ -39,7 +45,8 @@ appimageTools.wrapType2 {
|
|||
meta = {
|
||||
description = "Note-taking application focused on learning and productivity";
|
||||
homepage = "https://remnote.com/";
|
||||
maintainers = [ ];
|
||||
changelog = "https://feedback.remnote.com/changelog";
|
||||
maintainers = with lib.maintainers; [ talal ];
|
||||
license = lib.licenses.unfree;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
mainProgram = "remnote";
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_SHARED_LIBS" false)
|
||||
(lib.cmakeBool "USE_SYSTEM_ZLIB" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_LIBUSB" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_LIBPNG" true)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,32 @@
|
|||
diff --git a/src/sage/doctest/test.py b/src/sage/doctest/test.py
|
||||
index 812f8167c12..a4822642f0c 100644
|
||||
--- a/src/sage/doctest/test.py
|
||||
+++ b/src/sage/doctest/test.py
|
||||
@@ -49,11 +49,11 @@ Check that :issue:`2235` has been fixed::
|
||||
|
||||
Check slow doctest warnings are correctly raised::
|
||||
|
||||
- sage: subprocess.call(["python3", "-m", "sage.doctest", "--warn-long", # long time
|
||||
+ sage: subprocess.call(["python3", "-m", "sage.doctest", "--warn-long", "0.2", # long time
|
||||
....: "--random-seed=0", "--optional=sage", "sleep2.rst"], **kwds)
|
||||
Running doctests...
|
||||
Doctesting 1 file.
|
||||
- ... --warn-long --random-seed=0 sleep2.rst
|
||||
+ ... --warn-long 0.2 --random-seed=0 sleep2.rst
|
||||
**********************************************************************
|
||||
File "sleep2.rst", line 4, in sage.doctest.tests.sleep2
|
||||
Warning: slow doctest:
|
||||
@@ -66,11 +66,11 @@ Check slow doctest warnings are correctly raised::
|
||||
----------------------------------------------------------------------
|
||||
...
|
||||
0
|
||||
- sage: subprocess.call(["python3", "-m", "sage.doctest", "--format=github", "--warn-long", # long time
|
||||
+ sage: subprocess.call(["python3", "-m", "sage.doctest", "--format=github", "--warn-long", "0.2", # long time
|
||||
....: "--random-seed=0", "--optional=sage", "sleep2.rst"], **kwds)
|
||||
Running doctests...
|
||||
Doctesting 1 file.
|
||||
- ... --warn-long --random-seed=0 sleep2.rst
|
||||
+ ... --warn-long 0.2 --random-seed=0 sleep2.rst
|
||||
**********************************************************************
|
||||
::warning title=Warning: slow doctest:,file=sleep2.rst,line=4::slow doctest:: Test ran for ...s cpu, ...s wall%0ACheck ran for ...s cpu, ...s wall%0A
|
||||
while walltime(t) < 2: pass
|
||||
|
|
@ -78,6 +78,9 @@ stdenv.mkDerivation rec {
|
|||
# a more conservative version of https://github.com/sagemath/sage/pull/37951
|
||||
./patches/gap-element-crash.patch
|
||||
|
||||
# https://github.com/sagemath/sage/issues/42473
|
||||
./patches/lower-sleep2-test-threshold.patch
|
||||
|
||||
# https://github.com/sagemath/sage/pull/42009, landed in 10.10.beta0
|
||||
(fetchpatch2 {
|
||||
name = "gap-root-paths.patch";
|
||||
|
|
|
|||
|
|
@ -2,32 +2,30 @@
|
|||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
makeWrapper,
|
||||
nodejs,
|
||||
pnpm_9,
|
||||
pnpm_10,
|
||||
fetchPnpmDeps,
|
||||
pnpmConfigHook,
|
||||
}:
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "serve";
|
||||
version = "14.2.4";
|
||||
version = "14.2.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vercel";
|
||||
repo = "serve";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-QVbau4MrpgEQkwlWx4tU9H93zdM0mSZgIzXpjHRM5mk=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-lM04fuzgcLHz8/Jf4wJVYXveFcO6sFyJ9PQAcpweyjk=";
|
||||
};
|
||||
|
||||
npmDeps = null;
|
||||
pnpmDeps = fetchPnpmDeps {
|
||||
inherit (finalAttrs) pname version src;
|
||||
pnpm = pnpm_9;
|
||||
fetcherVersion = 3;
|
||||
hash = "sha256-N5oasGilHECndJZYdRHZFvAa4aYwmPtOTBZtcty4g/k=";
|
||||
pnpm = pnpm_10;
|
||||
fetcherVersion = 4;
|
||||
hash = "sha256-9gejKf+GqB8BPAQtQSuZsTb6jFro3X1aL1noVfyKTPg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pnpm_9 ];
|
||||
nativeBuildInputs = [ pnpm_10 ];
|
||||
npmConfigHook = pnpmConfigHook;
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
diff --git a/src/webview/app/mod.rs b/src/webview/app/mod.rs
|
||||
index 2c6125e..26ab73f 100644
|
||||
--- a/src/webview/app/mod.rs
|
||||
+++ b/src/webview/app/mod.rs
|
||||
@@ -23,6 +23,10 @@ cef_impl!(
|
||||
CMD_SWITCHES.iter().for_each(|switch| {
|
||||
line.append_switch(Some(&CefString::from(switch.to_owned())));
|
||||
});
|
||||
+ line.append_switch_with_value(
|
||||
+ Some(&CefString::from("disable-features")),
|
||||
+ Some(&CefString::from("LocalNetworkAccessChecks")),
|
||||
+ );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/src/config.rs b/src/config.rs
|
||||
index 4eda395..679699f 100644
|
||||
--- a/src/config.rs
|
||||
+++ b/src/config.rs
|
||||
@@ -70,7 +70,7 @@ pub struct ServerConfig {
|
||||
|
||||
impl ServerConfig {
|
||||
pub fn new(current_dir: &Path) -> Self {
|
||||
- let file = current_dir.join(SERVER_FILE);
|
||||
+ let file = Path::new("@serverjs@").to_path_buf();
|
||||
|
||||
Self { file }
|
||||
}
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
diff --git a/src/shared/renderer/utils.rs b/src/shared/renderer/utils.rs
|
||||
index be4a65d..1b944ad 100644
|
||||
--- a/src/shared/renderer/utils.rs
|
||||
+++ b/src/shared/renderer/utils.rs
|
||||
@@ -1,6 +1,6 @@
|
||||
use std::{mem, ptr};
|
||||
|
||||
-use gl::types::{GLenum, GLfloat, GLint, GLsizei, GLsizeiptr, GLuint};
|
||||
+use gl::types::{GLchar, GLenum, GLfloat, GLint, GLsizei, GLsizeiptr, GLuint};
|
||||
|
||||
use super::constants::BYTES_PER_PIXEL;
|
||||
|
||||
@@ -139,7 +139,7 @@ pub fn compile_shader(kind: GLenum, src: &str) -> GLuint {
|
||||
gl::GetShaderiv(shader, gl::INFO_LOG_LENGTH, &mut len);
|
||||
|
||||
let mut buffer = vec![0u8; len as usize];
|
||||
- gl::GetShaderInfoLog(shader, len, ptr::null_mut(), buffer.as_mut_ptr() as *mut i8);
|
||||
+ gl::GetShaderInfoLog(shader, len, ptr::null_mut(), buffer.as_mut_ptr() as *mut GLchar);
|
||||
|
||||
panic!(
|
||||
"Shader compile error: {}",
|
||||
|
|
@ -1,124 +1,91 @@
|
|||
{
|
||||
lib,
|
||||
symlinkJoin,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
gitUpdater,
|
||||
|
||||
# buildInputs
|
||||
atk,
|
||||
cef-binary,
|
||||
gtk3,
|
||||
libayatana-appindicator,
|
||||
libxkbcommon,
|
||||
mpv,
|
||||
openssl,
|
||||
|
||||
# nativeBuildInputs
|
||||
makeBinaryWrapper,
|
||||
pkg-config,
|
||||
wrapGAppsHook4,
|
||||
|
||||
# buildInputs
|
||||
bashNonInteractive,
|
||||
glib-networking,
|
||||
gtk4,
|
||||
libadwaita,
|
||||
libepoxy,
|
||||
libsoup_3,
|
||||
mpv,
|
||||
webkitgtk_6_0,
|
||||
|
||||
# Wrapper
|
||||
addDriverRunpath,
|
||||
libGL,
|
||||
nodejs,
|
||||
}:
|
||||
|
||||
let
|
||||
# Stremio expects CEF files in a specific layout
|
||||
cef = symlinkJoin {
|
||||
name = "stremio-linux-shell-cef";
|
||||
paths = [
|
||||
"${cef-binary}/Resources"
|
||||
"${cef-binary}/Release"
|
||||
];
|
||||
};
|
||||
in
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "stremio-linux-shell";
|
||||
version = "1.0.0-beta.13";
|
||||
version = "1.0.2";
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Stremio";
|
||||
repo = "stremio-linux-shell";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-1f9IBNo5gxpSqTSIf8QuQOlf+sfRhohOmQTLRbX/OU8=";
|
||||
hash = "sha256-NbzUAv/L8xzdepqn677nlROumjlliZIHzPXIToHHeTU=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-wx5oF4uF9UMtKzfGxZKsy6mVjYaRD40dLuvaRtz8yE4=";
|
||||
|
||||
patches = [
|
||||
# Chromium 142 stopped allowing local network access by default, which
|
||||
# breaks the app's ability to communicate with the Stremio server.
|
||||
./allow-local-network-access.patch
|
||||
|
||||
# GLchar is u8 on aarch64
|
||||
# Upstream PR: https://github.com/Stremio/stremio-linux-shell/pull/40
|
||||
./fix-getshaderinfolog-call.patch
|
||||
|
||||
# Patch server.js path so that we don't have to install it in $out/bin
|
||||
./better-server-path.patch
|
||||
];
|
||||
cargoHash = "sha256-yafkD7D0E+lbFV7MlLwQM4iWC8Glo/Tn2F+TFff6GoM=";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/config.rs \
|
||||
--replace-fail "@serverjs@" "${placeholder "out"}/share/stremio/server.js"
|
||||
substituteInPlace data/com.stremio.Stremio.service \
|
||||
--replace-fail "Exec=/app/bin/stremio" "Exec=$out/bin/stremio"
|
||||
|
||||
substituteInPlace $cargoDepsCopy/*/libappindicator-sys-*/src/lib.rs \
|
||||
--replace-fail "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1"
|
||||
substituteInPlace $cargoDepsCopy/*/xkbcommon-dl-*/src/lib.rs \
|
||||
--replace-fail "libxkbcommon.so.0" "${libxkbcommon}/lib/libxkbcommon.so.0"
|
||||
substituteInPlace $cargoDepsCopy/*/xkbcommon-dl-*/src/x11.rs \
|
||||
--replace-fail "libxkbcommon-x11.so.0" "${libxkbcommon}/lib/libxkbcommon-x11.so.0"
|
||||
substituteInPlace data/stremio.sh \
|
||||
--replace-fail "/app/libexec/stremio/stremio" "$out/libexec/stremio/stremio"
|
||||
'';
|
||||
|
||||
# Don't download CEF during build
|
||||
buildFeatures = [ "offline-build" ];
|
||||
|
||||
buildInputs = [
|
||||
atk
|
||||
cef
|
||||
gtk3
|
||||
libayatana-appindicator
|
||||
libxkbcommon
|
||||
mpv
|
||||
openssl
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeBinaryWrapper
|
||||
pkg-config
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
env.CEF_PATH = "${cef}";
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
buildInputs = [
|
||||
bashNonInteractive
|
||||
glib-networking
|
||||
gtk4
|
||||
libadwaita
|
||||
libepoxy
|
||||
libsoup_3
|
||||
mpv
|
||||
webkitgtk_6_0
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/applications
|
||||
cp data/com.stremio.Stremio.desktop $out/share/applications/com.stremio.Stremio.desktop
|
||||
install -Dm644 data/icons/com.stremio.Stremio.svg $out/share/icons/hicolor/scalable/apps/com.stremio.Stremio.svg
|
||||
install -Dm644 data/com.stremio.Stremio.desktop $out/share/applications/com.stremio.Stremio.desktop
|
||||
install -Dm644 data/com.stremio.Stremio.service $out/share/dbus-1/services/com.stremio.Stremio.service
|
||||
install -Dm644 data/server.js $out/libexec/stremio/server.js
|
||||
install -Dm755 data/stremio.sh $out/bin/stremio
|
||||
|
||||
mkdir -p $out/share/icons/hicolor/scalable/apps
|
||||
cp data/icons/com.stremio.Stremio.svg $out/share/icons/hicolor/scalable/apps/com.stremio.Stremio.svg
|
||||
|
||||
mkdir -p $out/share/stremio
|
||||
cp data/server.js $out/share/stremio/server.js
|
||||
|
||||
mv $out/bin/stremio-linux-shell $out/bin/stremio
|
||||
mv $out/bin/stremio-linux-shell $out/libexec/stremio/stremio
|
||||
'';
|
||||
|
||||
# Avoid also wrapping `$out/libexec/stremio/stremio`
|
||||
dontWrapGApps = true;
|
||||
|
||||
# Node.js is required to run `server.js`
|
||||
# Add to `gappsWrapperArgs` to avoid two layers of wrapping.
|
||||
# Add to `wrapGApp` arguments to avoid two layers of wrapping.
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix LD_LIBRARY_PATH : "${addDriverRunpath.driverLink}/lib" \
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libGL ]}" \
|
||||
--prefix PATH : "${lib.makeBinPath [ nodejs ]}"
|
||||
)
|
||||
wrapGApp $out/bin/stremio \
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ addDriverRunpath.driverLink ]}" \
|
||||
--prefix PATH : "${lib.makeBinPath [ nodejs ]}" \
|
||||
--prefix ANV_DEBUG : "video-decode,video-encode" \
|
||||
--prefix LC_NUMERIC : "C" \
|
||||
--prefix SERVER_PATH : "$out/libexec/stremio/server.js"
|
||||
'';
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
|
@ -126,13 +93,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
doInstallCheck = true;
|
||||
|
||||
passthru = {
|
||||
inherit cef;
|
||||
updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Modern media center that gives you the freedom to watch everything you want";
|
||||
description = "Client for Stremio on Linux";
|
||||
homepage = "https://www.stremio.com/";
|
||||
downloadPage = "https://github.com/Stremio/stremio-linux-shell";
|
||||
changelog = "https://github.com/Stremio/stremio-linux-shell/releases/tag/${finalAttrs.src.tag}";
|
||||
license =
|
||||
with lib.licenses;
|
||||
AND [
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
fetchFromGitHub,
|
||||
makeWrapper,
|
||||
nodejs-slim,
|
||||
pnpm_9,
|
||||
pnpm_10,
|
||||
fetchPnpmDeps,
|
||||
pnpmConfigHook,
|
||||
versionCheckHook,
|
||||
|
|
@ -29,13 +29,13 @@
|
|||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "textlint";
|
||||
version = "15.2.1";
|
||||
version = "15.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "textlint";
|
||||
repo = "textlint";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-xjtmYz+O+Sn697OrBkPddv1Ma5UsOkO5v4SGlhsaYWA=";
|
||||
hash = "sha256-Dt0AprnI/ixezMwU6JG6WhfJTU1xTRu2M4xwbY4uOko=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
@ -57,16 +57,16 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
src
|
||||
patches
|
||||
;
|
||||
pnpm = pnpm_9;
|
||||
fetcherVersion = 3;
|
||||
hash = "sha256-TYMhAcmfWHbj/0yLNYiJXWd1GiYb+zqBLj2/83cGbzg=";
|
||||
pnpm = pnpm_10;
|
||||
fetcherVersion = 4;
|
||||
hash = "sha256-dWcLm8cTo8LC6IqMEe1zDxVJ7ioytKigEwYna6hiO8A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
nodejs-slim
|
||||
pnpmConfigHook
|
||||
pnpm_9
|
||||
pnpm_10
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
|
||||
index 1f0e8f8b..68a9c06a 100644
|
||||
index 9ee6370f6..552beed1b 100644
|
||||
--- a/pnpm-lock.yaml
|
||||
+++ b/pnpm-lock.yaml
|
||||
@@ -4,9 +4,6 @@ settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
@@ -295,9 +295,6 @@ catalogs:
|
||||
specifier: ^3.25.76
|
||||
version: 3.25.76
|
||||
|
||||
-overrides:
|
||||
- '@textlint/ast-node-types': workspace:*
|
||||
|
|
@ -12,3 +12,15 @@ index 1f0e8f8b..68a9c06a 100644
|
|||
importers:
|
||||
|
||||
.:
|
||||
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
|
||||
index 300a519e0..bf41d5370 100644
|
||||
--- a/pnpm-workspace.yaml
|
||||
+++ b/pnpm-workspace.yaml
|
||||
@@ -130,7 +130,5 @@ minimumReleaseAgeExclude:
|
||||
# Force all @textlint/ast-node-types references to use the workspace version
|
||||
# This prevents version conflicts where some packages might reference old versions (e.g., 13.4.1)
|
||||
# that cause TypeScript type incompatibility errors in monorepo
|
||||
-overrides:
|
||||
- "@textlint/ast-node-types": "workspace:*"
|
||||
# https://pnpm.io/settings#verifydepsbeforerun
|
||||
verifyDepsBeforeRun: "install"
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vivaldi";
|
||||
version = "8.0.4033.50";
|
||||
version = "8.0.4033.54";
|
||||
|
||||
suffix =
|
||||
{
|
||||
|
|
@ -80,8 +80,8 @@ stdenv.mkDerivation rec {
|
|||
url = "https://downloads.vivaldi.com/stable/vivaldi-stable_${version}-1_${suffix}.deb";
|
||||
hash =
|
||||
{
|
||||
aarch64-linux = "sha256-5n5+DY03lRDKLWX/WPX17Wg7IeTl4MDKEWOZEYHaPDE=";
|
||||
x86_64-linux = "sha256-IVytlw5NzxV1TwLHeX81AgWEHHVzksVC3a0S/WuWEaA=";
|
||||
aarch64-linux = "sha256-i2FAMp3MFsnXTjQoF4Y/BuB6j+x3ugfsu0ePGI/h5Po=";
|
||||
x86_64-linux = "sha256-a4ZLX/DpygZgPPjt4BQxTuRbFoPmNuRgdZFiI6UclQI=";
|
||||
}
|
||||
.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "wamrc";
|
||||
version = "2.4.4";
|
||||
version = "2.4.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bytecodealliance";
|
||||
repo = "wasm-micro-runtime";
|
||||
tag = "WAMR-${finalAttrs.version}";
|
||||
hash = "sha256-pNudBKnhdR/Ye0m2tVZB/wSfJZYK8+gdCpCp0rDp0o4=";
|
||||
hash = "sha256-HBew8kbi7AaKrAEZbPIlXqiO+1wDljSzEsE9+FWzxHE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ let
|
|||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xaos";
|
||||
version = "4.3.4";
|
||||
version = "4.3.5";
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
|
|
@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
owner = "xaos-project";
|
||||
repo = "XaoS";
|
||||
tag = "release-${finalAttrs.version}";
|
||||
hash = "sha256-vOFwZbdbcrcJLHUa1QzxzadPcx5GF5uNPg+MZ7NbAPc=";
|
||||
hash = "sha256-dGfmX55bm2BCFl7mRit88ULAcJ0VP15yVGI7nhRH0Ig=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
@ -45,23 +45,21 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
postPatch = ''
|
||||
substituteInPlace src/include/config.h \
|
||||
--replace-fail "/usr/share/XaoS" "${datapath}"
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
substituteInPlace XaoS.pro \
|
||||
--replace-fail \
|
||||
"QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64" \
|
||||
"QMAKE_APPLE_DEVICE_ARCHS = ${if stdenv.hostPlatform.isAarch64 then "arm64" else "x86_64"}"
|
||||
'';
|
||||
|
||||
desktopItems = [ "xdg/xaos.desktop" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D bin/xaos "$out/bin/xaos"
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p "${datapath}"
|
||||
cp -r tutorial examples catalogs "${datapath}"
|
||||
|
||||
install -D "xdg/xaos.png" "$out/share/icons/xaos.png"
|
||||
|
||||
install -D doc/xaos.6 "$man/man6/xaos.6"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = finalAttrs.src.meta // {
|
||||
|
|
@ -69,6 +67,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
mainProgram = "xaos";
|
||||
homepage = "https://xaos-project.github.io/";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ coolcuber ];
|
||||
};
|
||||
})
|
||||
|
|
|
|||
|
|
@ -9,16 +9,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "xfr";
|
||||
version = "0.9.19";
|
||||
version = "0.9.20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lance0";
|
||||
repo = "xfr";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-O6jfK3oHzimmOsUPX7eeZmm1dPNIl98RxLrg+yiEJlo=";
|
||||
hash = "sha256-qEagafvSktcZzg5hTAhVwamnJ/xxjs2fwIcWgmrt0Oo=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-c6TYOGJN7HAzi+vibK30foBtDQN3EnBFt4YrvAnApoY=";
|
||||
cargoHash = "sha256-3OjzNSbK+bDaJ1HaO5S8t6SRSjmm2I5LQFmmXz8n2s0=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
genericBuilder:
|
||||
|
||||
genericBuilder {
|
||||
version = "27.3.4.13";
|
||||
hash = "sha256-2WF+EWq1S9IaDuUuG8IR09LjYvEq81E88oq6yFazkkM=";
|
||||
version = "27.3.4.14";
|
||||
hash = "sha256-vnD6+KAD2Hm21w+/RB9MxrCbxdFTd2YbE79dd4M5t4U=";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
genericBuilder:
|
||||
|
||||
genericBuilder {
|
||||
version = "28.5.0.2";
|
||||
hash = "sha256-H25iMB+CvAd8yXv8jydBOCYfMm0LEwN1otRearNthYI=";
|
||||
version = "28.5.0.3";
|
||||
hash = "sha256-OCKR5lryM/jnFFB3hMpud4gQAzPISfK1d0spVXvj358=";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
genericBuilder:
|
||||
|
||||
genericBuilder {
|
||||
version = "29.0.2";
|
||||
hash = "sha256-6tpe+jCOC1V2SOPMH1J8DHVXQqR4pqEjIiAcSitn8Hc=";
|
||||
version = "29.0.3";
|
||||
hash = "sha256-clRU+zrmp8wgCm3rEVUP9y3MmvLzsJGW4RL8qWDZz8A=";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@
|
|||
# nix build .#legacyPackages.x86_64-darwin.mesa .#legacyPackages.aarch64-darwin.mesa
|
||||
rec {
|
||||
pname = "mesa";
|
||||
version = "26.1.3";
|
||||
version = "26.1.4";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
owner = "mesa";
|
||||
repo = "mesa";
|
||||
rev = "mesa-${version}";
|
||||
hash = "sha256-W2Ud9wmiIuDYMnFj8sK2SGAI1WayMCtdj7/7od/1Ql4=";
|
||||
hash = "sha256-PiuqafeJY7aGvb/T8rksTgManWiH9tjxbsi/W1vlFDM=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,74 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
django,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
postgresql,
|
||||
postgresqlTestHook,
|
||||
psycopg,
|
||||
psycopg-pool,
|
||||
pytest-django,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-async-backend";
|
||||
version = "6.0.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Arfey";
|
||||
repo = "django-async-backend";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-4zaXPfHIE9RwkSbHPt1DHFInn8LP+JXiBiMJYkZeR6M=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tests/settings.py \
|
||||
--replace-fail '"HOST": "localhost"' '"HOST": "/build/run/postgresql"'
|
||||
|
||||
substituteInPlace tests/db/backends/postgresql/test_async_backend.py \
|
||||
--replace-fail "new_connection.get_database_version())[0], 15" "new_connection.get_database_version())[0], ${lib.versions.major postgresql.version}"
|
||||
'';
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
django
|
||||
psycopg
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "django_async_backend" ];
|
||||
|
||||
env = {
|
||||
DJANGO_SETTINGS_MODULE = "settings";
|
||||
PGDATABASE = "postgres";
|
||||
PGUSER = "postgres";
|
||||
};
|
||||
|
||||
preCheck = ''
|
||||
export PYTHONPATH=$PYTHONPATH:$PWD/tests
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [
|
||||
django # must come first as vtasks only works with django 6
|
||||
|
||||
postgresql
|
||||
postgresqlTestHook
|
||||
psycopg-pool
|
||||
pytest-django
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlags = [ "./tests" ];
|
||||
|
||||
meta = {
|
||||
description = "Django extension providing async capabilities for database and other components";
|
||||
homepage = "https://github.com/Arfey/django-async-backend";
|
||||
changelog = "https://github.com/Arfey/django-async-backend/releases/tag/${src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ SuperSandro2000 ];
|
||||
broken = lib.versionOlder (lib.versions.major django.version) "6";
|
||||
};
|
||||
}
|
||||
|
|
@ -23,14 +23,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-vtasks";
|
||||
version = "2.1.1";
|
||||
version = "2.1.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "glitchtip";
|
||||
repo = "django-vtasks";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-f9x6atPMYgQQ/jpCJdDj33l+mhyei+6IWi4bqqVWxU8=";
|
||||
hash = "sha256-L2desiA5ZSdW6KcWuJ4UmtqDVuvAFeRplLgJex7inVM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
|||
|
|
@ -27,14 +27,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pillow-heif";
|
||||
version = "1.3.0";
|
||||
version = "1.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bigcat88";
|
||||
repo = "pillow_heif";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-+SlDxNCbuqPqjgJx62snInsWQXWQwnO/sI4mll0Uu4Y=";
|
||||
hash = "sha256-EaislmA4v2qKCDQ87I85Pn8IlS4VJWyNXkITipKSBC8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
@ -77,17 +77,6 @@ buildPythonPackage rec {
|
|||
disabledTests = [
|
||||
# Time sensitive speed test, not reproducible
|
||||
"test_decode_threads"
|
||||
# Tests failing with libheif 1.22.0. To be removed in the next release
|
||||
# https://github.com/bigcat88/pillow_heif/issues/424
|
||||
# these check what happens when the ispe is not valid
|
||||
"test_numpy_array_invalid_ispe"
|
||||
"test_allow_incorrect_headers"
|
||||
"test_invalid_ispe_ok"
|
||||
"test_invalid_ispe_allow"
|
||||
"test_invalid_ispe_stride"
|
||||
"test_invalid_ispe_stride_pillow"
|
||||
# disable version check for libheif
|
||||
"test_libheif_info"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# https://github.com/bigcat88/pillow_heif/issues/89
|
||||
|
|
|
|||
|
|
@ -8,14 +8,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "protego";
|
||||
version = "0.6.0";
|
||||
version = "0.6.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scrapy";
|
||||
repo = "protego";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-qyOY35gNFojewFMFVT58k1s5uM4j9IZzEURnPh+3htE=";
|
||||
hash = "sha256-Me+bSJnHHJH0ryPoSS7EN2Px5FNElCWQzvKrmWll4mQ=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -23,7 +23,7 @@ let
|
|||
let
|
||||
attrName = if jitSupport then "${version}_jit" else version;
|
||||
postgresql = import path { inherit self; };
|
||||
attrValue = if jitSupport then postgresql.withJIT else postgresql.withoutJIT;
|
||||
attrValue = if jitSupport then postgresql.withJIT else postgresql;
|
||||
in
|
||||
self.lib.nameValuePair attrName attrValue
|
||||
) versions;
|
||||
|
|
|
|||
|
|
@ -551,65 +551,65 @@ let
|
|||
(withBlocksize == null && withWalBlocksize == null);
|
||||
installCheckTarget = "check-world";
|
||||
|
||||
passthru =
|
||||
let
|
||||
this = self.callPackage generic args;
|
||||
in
|
||||
{
|
||||
inherit dlSuffix;
|
||||
passthru = {
|
||||
inherit dlSuffix;
|
||||
|
||||
psqlSchema = lib.versions.major version;
|
||||
psqlSchema = lib.versions.major version;
|
||||
|
||||
withJIT = if jitSupport then this.withPackages (_: [ this.jit ]) else null;
|
||||
withoutJIT = this;
|
||||
withJIT =
|
||||
if jitSupport then
|
||||
finalAttrs.finalPackage.withPackages (_: [ finalAttrs.finalPackage.jit ])
|
||||
else
|
||||
null;
|
||||
withoutJIT = finalAttrs.finalPackage.withPackages (_: [ ]);
|
||||
|
||||
pkgs =
|
||||
let
|
||||
scope = {
|
||||
inherit
|
||||
jitSupport
|
||||
pythonSupport
|
||||
perlSupport
|
||||
tclSupport
|
||||
;
|
||||
inherit (llvmPackages) llvm;
|
||||
postgresql = this;
|
||||
stdenv = stdenv';
|
||||
postgresqlTestExtension = newSuper.callPackage ./postgresqlTestExtension.nix { };
|
||||
postgresqlBuildExtension = newSuper.callPackage ./postgresqlBuildExtension.nix { };
|
||||
};
|
||||
newSelf = self // scope;
|
||||
newSuper = {
|
||||
callPackage = newScope (scope // this.pkgs);
|
||||
};
|
||||
in
|
||||
import ./ext.nix newSelf newSuper;
|
||||
|
||||
withPackages = postgresqlWithPackages {
|
||||
inherit buildEnv lib makeBinaryWrapper;
|
||||
postgresql = this;
|
||||
};
|
||||
|
||||
pg_config = buildPackages.callPackage ./pg_config.nix {
|
||||
inherit (finalAttrs) finalPackage;
|
||||
outputs = {
|
||||
out = lib.getOutput "out" finalAttrs.finalPackage;
|
||||
man = lib.getOutput "man" finalAttrs.finalPackage;
|
||||
pkgs =
|
||||
let
|
||||
scope = {
|
||||
inherit
|
||||
jitSupport
|
||||
pythonSupport
|
||||
perlSupport
|
||||
tclSupport
|
||||
;
|
||||
inherit (llvmPackages) llvm;
|
||||
postgresql = finalAttrs.finalPackage;
|
||||
stdenv = stdenv';
|
||||
postgresqlTestExtension = newSuper.callPackage ./postgresqlTestExtension.nix { };
|
||||
postgresqlBuildExtension = newSuper.callPackage ./postgresqlBuildExtension.nix { };
|
||||
};
|
||||
};
|
||||
newSelf = self // scope;
|
||||
newSuper = {
|
||||
callPackage = newScope (scope // finalAttrs.finalPackage.pkgs);
|
||||
};
|
||||
in
|
||||
import ./ext.nix newSelf newSuper;
|
||||
|
||||
tests = {
|
||||
postgresql = nixosTests.postgresql.postgresql.passthru.override finalAttrs.finalPackage;
|
||||
postgresql-replication = nixosTests.postgresql.postgresql-replication.passthru.override finalAttrs.finalPackage;
|
||||
postgresql-tls-client-cert = nixosTests.postgresql.postgresql-tls-client-cert.passthru.override finalAttrs.finalPackage;
|
||||
postgresql-wal-receiver = nixosTests.postgresql.postgresql-wal-receiver.passthru.override finalAttrs.finalPackage;
|
||||
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
}
|
||||
// lib.optionalAttrs jitSupport {
|
||||
postgresql-jit = nixosTests.postgresql.postgresql-jit.passthru.override finalAttrs.finalPackage;
|
||||
withPackages = postgresqlWithPackages {
|
||||
inherit buildEnv lib makeBinaryWrapper;
|
||||
postgresql = finalAttrs.finalPackage;
|
||||
};
|
||||
|
||||
pg_config = buildPackages.callPackage ./pg_config.nix {
|
||||
inherit (finalAttrs) finalPackage;
|
||||
outputs = {
|
||||
out = lib.getOutput "out" finalAttrs.finalPackage;
|
||||
man = lib.getOutput "man" finalAttrs.finalPackage;
|
||||
};
|
||||
};
|
||||
|
||||
tests = {
|
||||
postgresql = nixosTests.postgresql.postgresql.passthru.override finalAttrs.finalPackage;
|
||||
postgresql-replication = nixosTests.postgresql.postgresql-replication.passthru.override finalAttrs.finalPackage;
|
||||
postgresql-tls-client-cert = nixosTests.postgresql.postgresql-tls-client-cert.passthru.override finalAttrs.finalPackage;
|
||||
postgresql-wal-receiver = nixosTests.postgresql.postgresql-wal-receiver.passthru.override finalAttrs.finalPackage;
|
||||
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
}
|
||||
// lib.optionalAttrs jitSupport {
|
||||
postgresql-jit = nixosTests.postgresql.postgresql-jit.passthru.override finalAttrs.finalPackage;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.postgresql.org";
|
||||
description = "Powerful, open source object-relational database system";
|
||||
|
|
|
|||
|
|
@ -4120,6 +4120,8 @@ self: super: with self; {
|
|||
|
||||
django-apscheduler = callPackage ../development/python-modules/django-apscheduler { };
|
||||
|
||||
django-async-backend = callPackage ../development/python-modules/django-async-backend { };
|
||||
|
||||
django-auditlog = callPackage ../development/python-modules/django-auditlog { };
|
||||
|
||||
django-auth-ldap = callPackage ../development/python-modules/django-auth-ldap {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue