mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-07 17:43:33 -05:00
Compare commits
No commits in common. "master" and "nixos-unstable-small" have entirely different histories.
master
...
nixos-unst
108 changed files with 615 additions and 827 deletions
2
.github/workflows/backport.yml
vendored
2
.github/workflows/backport.yml
vendored
|
|
@ -49,7 +49,7 @@ jobs:
|
|||
|
||||
- name: Create backport PRs
|
||||
id: backport
|
||||
uses: korthout/backport-action@2e830a1d0b8269505846ddd407a70876913ad1f8 # v4.6.0
|
||||
uses: korthout/backport-action@66065406958f46e82238fd59546f5a99e69e22aa # v4.5.2
|
||||
with:
|
||||
# Config README: https://github.com/korthout/backport-action#backport-action
|
||||
add_author_as_reviewer: true
|
||||
|
|
|
|||
|
|
@ -79,8 +79,6 @@
|
|||
- `nim1` and respective aliases have been removed due to entering EOL; please migrate to `nim` or `nim-unwrapped` (nim 2).
|
||||
- `nim-2_0` & `nim-2_2` and respective aliases have been removed; please migrate to `nim` or `nim-unwrapped` (nim 2.2.10).
|
||||
|
||||
- `vimacs` has been removed, as it has not been maintained in 10 years and was built for an old version of vim (6.0).
|
||||
|
||||
## Other Notable Changes {#sec-nixpkgs-release-26.11-notable-changes}
|
||||
|
||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||
|
|
|
|||
|
|
@ -21952,8 +21952,8 @@
|
|||
name = "Petr Hodina";
|
||||
};
|
||||
phorcys420 = {
|
||||
name = "Phorcys";
|
||||
email = "nixpkgs@phorcys.net";
|
||||
name = "Adele";
|
||||
email = "adele@coder.com";
|
||||
github = "phorcys420";
|
||||
githubId = 57866459;
|
||||
};
|
||||
|
|
@ -30480,13 +30480,6 @@
|
|||
github = "x807x";
|
||||
githubId = 86676478;
|
||||
};
|
||||
xaltsc = {
|
||||
email = "hey+dev@xaltsc.dev";
|
||||
matrix = "@xaltsc:matrix.org";
|
||||
name = "xaltsc";
|
||||
github = "xaltsc";
|
||||
githubId = 41400742;
|
||||
};
|
||||
xanderio = {
|
||||
name = "Alexander Sieg";
|
||||
email = "alex@xanderio.de";
|
||||
|
|
|
|||
|
|
@ -117,28 +117,6 @@ in
|
|||
default = [ ];
|
||||
};
|
||||
|
||||
secretValues = mkOption {
|
||||
type = with types; attrsOf path;
|
||||
description = ''
|
||||
Attrset of patterns in the settings that should be replaced at
|
||||
runtime, just before the service starts, with values read from the
|
||||
given files. The files must be readable by the service user.
|
||||
|
||||
Compared to the secretFiles option, secretValues allows having the
|
||||
full settings structure in Nix, and only externalizing the secret
|
||||
values themselves.
|
||||
'';
|
||||
default = { };
|
||||
example = lib.literalExpression ''
|
||||
{
|
||||
"@my_server_password@" = "/run/secrets/my_server_password";
|
||||
"@my_server_username@" = "/run/secrets/my_server_username";
|
||||
"@sabnzbd_api_key@" = "/run/secrets/sabnzbd_api_key";
|
||||
"@sabnzbd_nzb_key@" = "/run/secrets/sabnzbd_nzb_key";
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
allowConfigWrite = mkOption {
|
||||
type = types.bool;
|
||||
description = ''
|
||||
|
|
@ -523,12 +501,6 @@ in
|
|||
"''${files[@]}" \
|
||||
> "$tmpfile"
|
||||
|
||||
${lib.concatStringsSep "\n" (
|
||||
lib.mapAttrsToList (n: v: ''
|
||||
"${lib.getExe pkgs.replace-secret}" "${n}" "${v}" "$tmpfile"
|
||||
'') cfg.secretValues
|
||||
)}
|
||||
|
||||
install -D \
|
||||
-m ${if cfg.allowConfigWrite then "600" else "400"} \
|
||||
-o '${cfg.user}' -g '${cfg.group}' \
|
||||
|
|
|
|||
|
|
@ -110,13 +110,6 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.prometheus.exporters.kea = {
|
||||
enable = true;
|
||||
controlSocketPaths = [
|
||||
config.services.kea.dhcp4.settings.control-socket.socket-name
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
nameserver =
|
||||
|
|
@ -224,9 +217,5 @@
|
|||
|
||||
with subtest("DDNS"):
|
||||
nameserver.wait_until_succeeds("kdig +short client.lan.nixos.test @10.0.0.2 | grep -q 10.0.0.3")
|
||||
|
||||
with subtest("Prometheus Exporter"):
|
||||
router.log(router.execute("curl 127.0.0.1:9547")[1])
|
||||
router.succeed("curl --silent 127.0.0.1:9547 | grep -qE '^kea_dhcp4_addresses_assigned_total.*1.0$'")
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,26 +105,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
nodes.with_secret_values =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
config = {
|
||||
services.sabnzbd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
misc.api_key = "@api_key@";
|
||||
misc.nzb_key = "@nzb_key@";
|
||||
};
|
||||
secretValues = {
|
||||
# Just for testing; don't use world readable files from the Nix
|
||||
# store in production!
|
||||
"@api_key@" = builtins.toFile "api_key" "dummyapikey";
|
||||
"@nzb_key@" = builtins.toFile "nzb_key" "dummynzbkey";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
def wait_for_up(m):
|
||||
m.wait_for_unit("sabnzbd.service")
|
||||
|
|
@ -133,12 +113,9 @@ in
|
|||
wait_for_up(machine)
|
||||
wait_for_up(with_writeable_config)
|
||||
wait_for_up(with_raw_config_file)
|
||||
wait_for_up(with_secret_values)
|
||||
|
||||
machine.succeed("do_test")
|
||||
with_writeable_config.succeed("do_test")
|
||||
with_raw_config_file.succeed("do_test_2")
|
||||
with_secret_values.succeed("grep dummyapikey /var/lib/sabnzbd/sabnzbd.ini")
|
||||
with_secret_values.succeed("grep dummynzbkey /var/lib/sabnzbd/sabnzbd.ini")
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
melpaBuild,
|
||||
fetchFromGitHub,
|
||||
modus-themes,
|
||||
nix-update-script,
|
||||
}:
|
||||
melpaBuild {
|
||||
pname = "modus-themes-exporter";
|
||||
version = "0-unstable-2026-04-24";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "protesilaos";
|
||||
repo = "modus-themes-exporter";
|
||||
rev = "a19c4b0f22d353afcd441fbbc6c0565858a86c9b";
|
||||
hash = "sha256-/PCCArQUV1uhhbOC3fqSuUkgDqc4+QlLubTtjx8/vGc=";
|
||||
};
|
||||
|
||||
packageRequires = [ modus-themes ];
|
||||
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch=main" ]; };
|
||||
|
||||
meta = {
|
||||
description = "Export a Modus themes to another application";
|
||||
homepage = "https://github.com/protesilaos/modus-themes-exporter";
|
||||
maintainers = [ lib.maintainers.HeitorAugustoLN ];
|
||||
license = lib.licenses.gpl3Plus;
|
||||
};
|
||||
}
|
||||
|
|
@ -74,7 +74,6 @@ mapAliases (
|
|||
typescript-nvim = throw "'vimPlugins.typescript-nvim' has been removed: upstream deleted repository"; # Added 2026-06-15
|
||||
vim-csharp = throw "'vimPlugins.vim-csharp' has been removed: repository deleted"; # Added 2026-05-12
|
||||
vim-sourcetrail = throw "'vimPlugins.vim-sourcetrail' has been removed: abandoned by upstream"; # Added 2022-08-14
|
||||
vimacs = throw "'vimPlugins.vimacs' has been removed due to lack of maintenance"; # Added 2026-07-07
|
||||
# keep-sorted end
|
||||
}
|
||||
// deprecations
|
||||
|
|
|
|||
|
|
@ -25096,6 +25096,20 @@ final: prev: {
|
|||
meta.hydraPlatforms = [ ];
|
||||
};
|
||||
|
||||
vimacs = buildVimPlugin {
|
||||
pname = "vimacs";
|
||||
version = "0.96-unstable-2016-03-24";
|
||||
src = fetchFromGitHub {
|
||||
owner = "andrep";
|
||||
repo = "vimacs";
|
||||
rev = "7b8e297722d55089f0f0535fe6422533c98112fb";
|
||||
hash = "sha256-zgSKuwhuyoa67UlX4yX2JumjfHrx7Mlvg7Bv2i6TInU=";
|
||||
};
|
||||
meta.homepage = "https://github.com/andrep/vimacs/";
|
||||
meta.license = unfree;
|
||||
meta.hydraPlatforms = [ ];
|
||||
};
|
||||
|
||||
vimade = buildVimPlugin {
|
||||
pname = "vimade";
|
||||
version = "2.5.1-unstable-2026-05-17";
|
||||
|
|
|
|||
|
|
@ -5820,6 +5820,22 @@ assertNoAdditions {
|
|||
};
|
||||
});
|
||||
|
||||
vimacs = super.vimacs.overrideAttrs (old: {
|
||||
buildPhase = ''
|
||||
substituteInPlace bin/vim \
|
||||
--replace-fail '/usr/bin/vim' 'vim' \
|
||||
--replace-fail '/usr/bin/gvim' 'gvim'
|
||||
# remove unnecessary duplicated bin wrapper script
|
||||
rm -r plugin/vimacs
|
||||
'';
|
||||
meta = old.meta // {
|
||||
description = "Vim-Improved eMACS: Emacs emulation plugin for Vim";
|
||||
homepage = "http://algorithm.com.au/code/vimacs";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ millerjason ];
|
||||
};
|
||||
});
|
||||
|
||||
vimade = super.vimade.overrideAttrs {
|
||||
checkInputs = with self; [
|
||||
# Optional providers
|
||||
|
|
|
|||
|
|
@ -1790,6 +1790,7 @@ https://github.com/marrub--/vim-zscript/,,
|
|||
https://github.com/dag/vim2hs/,,
|
||||
https://github.com/monkoose/vim9-stargate/,,
|
||||
https://github.com/dominikduda/vim_current_word/,,
|
||||
https://github.com/andrep/vimacs/,,
|
||||
https://github.com/TaDaa/vimade/,,
|
||||
https://github.com/jreybert/vimagit/,,
|
||||
https://github.com/gotcha/vimelette/,,
|
||||
|
|
|
|||
44
pkgs/applications/editors/vim/vimacs.nix
Normal file
44
pkgs/applications/editors/vim/vimacs.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
config,
|
||||
vim-full,
|
||||
macvim,
|
||||
vimPlugins,
|
||||
useMacvim ? stdenv.hostPlatform.isDarwin && (config.vimacs.macvim or true),
|
||||
vimacsExtraArgs ? "",
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "vimacs";
|
||||
version = lib.getVersion finalAttrs.vimPackage;
|
||||
vimPackage = if useMacvim then macvim else vim-full;
|
||||
|
||||
buildInputs = [
|
||||
finalAttrs.vimPackage
|
||||
vimPlugins.vimacs
|
||||
];
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p "$out"/bin
|
||||
cp "${vimPlugins.vimacs}"/bin/vim $out/bin/vimacs
|
||||
substituteInPlace "$out"/bin/vimacs \
|
||||
--replace '-vim}' '-@bin@/bin/vim}' \
|
||||
--replace '-gvim}' '-@bin@/bin/vim -g}' \
|
||||
--replace '--cmd "let g:VM_Enabled = 1"' \
|
||||
'--cmd "let g:VM_Enabled = 1" --cmd "set rtp^=@rtp@" ${vimacsExtraArgs}' \
|
||||
--replace @rtp@ ${vimPlugins.vimacs} \
|
||||
--replace @bin@ ${finalAttrs.vimPackage}
|
||||
for prog in vm gvm gvimacs vmdiff vimacsdiff
|
||||
do
|
||||
ln -s "$out"/bin/vimacs $out/bin/$prog
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Vim-Improved eMACS: Emacs emulation for Vim";
|
||||
homepage = "http://algorithm.com.au/code/vimacs";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ millerjason ];
|
||||
};
|
||||
})
|
||||
|
|
@ -21,26 +21,26 @@ vscode-utils.buildVscodeMarketplaceExtension (finalAttrs: {
|
|||
sources = {
|
||||
"x86_64-linux" = {
|
||||
arch = "linux-x64";
|
||||
hash = "sha256-m1c/d6ZnIKxuzwh62BVITwOrU+O3iarvvzGy8O0Q2fg=";
|
||||
hash = "sha256-/uvQIg773WUzalc9XFtBrocsGye3v5y1rvKyJVpXWS0=";
|
||||
};
|
||||
"aarch64-linux" = {
|
||||
arch = "linux-arm64";
|
||||
hash = "sha256-QXufvHESQtNG0MDO3+ELONqSr7Ugzje4ZPX/VYWOmQ4=";
|
||||
hash = "sha256-zC0iYoAxmymxdqo2JgDcMOvUOA3pFbkx0s9C4F6E75k=";
|
||||
};
|
||||
"x86_64-darwin" = {
|
||||
arch = "darwin-x64";
|
||||
hash = "sha256-gtHPurMqM93UhE6VfqR8y/XiF0nICkrPxwlV+ca7Bd4=";
|
||||
hash = "sha256-mhZBWpV3Gl5TLieIEvrtDmtqQBKeiCcDCwOShQnp++Y=";
|
||||
};
|
||||
"aarch64-darwin" = {
|
||||
arch = "darwin-arm64";
|
||||
hash = "sha256-9YxeN0pYu7E8J1lz1IAzTFluBes7joCEOAzQpkRi7SM=";
|
||||
hash = "sha256-I570YO5mvXgzXG52NdoGjgVgHbyshm6fIkCIN0li9+4=";
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
name = "claude-code";
|
||||
publisher = "anthropic";
|
||||
version = "2.1.202";
|
||||
version = "2.1.201";
|
||||
}
|
||||
// sources.${stdenvNoCC.hostPlatform.system}
|
||||
or (throw "Unsupported system ${stdenvNoCC.hostPlatform.system}");
|
||||
|
|
|
|||
|
|
@ -1226,8 +1226,8 @@ let
|
|||
mktplcRef = {
|
||||
name = "databricks";
|
||||
publisher = "databricks";
|
||||
version = "2.12.1";
|
||||
hash = "sha256-GKm3rZMvU/5Ii01GjUg7rE15TnOtDTh0LwkDVsuSLfY=";
|
||||
version = "2.12.0";
|
||||
hash = "sha256-dDkJI9j79pFnZlEH9dokUoEYqjMmDyiU00IGGxzno1A=";
|
||||
};
|
||||
meta = {
|
||||
changelog = "https://marketplace.visualstudio.com/items/databricks.databricks/changelog";
|
||||
|
|
@ -3692,8 +3692,8 @@ let
|
|||
mktplcRef = {
|
||||
name = "ocaml-platform";
|
||||
publisher = "ocamllabs";
|
||||
version = "2.3.0";
|
||||
hash = "sha256-vb2tTtdHRmlF/TZRqUFjZNgE+5jizX/ky+NgzJYvXUg=";
|
||||
version = "2.0.1";
|
||||
hash = "sha256-BFRGEH5a2kTSIZG3o0GkYPeZch5b7OBUN4+pKXSQ7SY=";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"chromium": {
|
||||
"version": "150.0.7871.100",
|
||||
"version": "150.0.7871.46",
|
||||
"chromedriver": {
|
||||
"version": "150.0.7871.101",
|
||||
"hash_darwin": "sha256-LJPfzeJjVcEHenRNqKNOGcEZLL/rHRH55yBefLFTlEs=",
|
||||
"hash_darwin_aarch64": "sha256-+WZw22dgaDsDMOQUJTjTuCGyUZT1t1RBjutyqmumX/A="
|
||||
"version": "149.0.7827.201",
|
||||
"hash_darwin": "sha256-MHCcid+7wdYm8uIdrUIlXrk8ADHNUUXzPyMPFGP98WY=",
|
||||
"hash_darwin_aarch64": "sha256-Gwmdo9qNyV/BnCj18f0BFpNgDf28e8vjNF98e5/vVjQ="
|
||||
},
|
||||
"deps": {
|
||||
"depot_tools": {
|
||||
|
|
@ -21,8 +21,8 @@
|
|||
"DEPS": {
|
||||
"src": {
|
||||
"url": "https://chromium.googlesource.com/chromium/src.git",
|
||||
"rev": "b5a9b587b83512ef1fab99cb7510c58a06d22089",
|
||||
"hash": "sha256-bylGmZC9NhUjcU6amK3mwuZ1it7uTm2hsC60DaKINr4=",
|
||||
"rev": "5b586c06e0d27582900f17e2d59c5370d8d6e0bb",
|
||||
"hash": "sha256-OAZNyZtR5WFWW42r74RSy9fT7Eb7CNZwzoIHhuoqR28=",
|
||||
"recompress": true
|
||||
},
|
||||
"src/third_party/clang-format/script": {
|
||||
|
|
|
|||
|
|
@ -128,13 +128,13 @@
|
|||
"vendorHash": "sha256-/dOiXO2aPkuZaFiwv/6AXJdIADgx8T7eOwvJfBBoqg8="
|
||||
},
|
||||
"buildkite_buildkite": {
|
||||
"hash": "sha256-egeZCTQFyhKG0giyjNK9C/W+OGMOGv2l+65Vg3iTi2A=",
|
||||
"hash": "sha256-CfipoNGW0VofHfgXlbfcjIGYpkuE0UXewDM6UCutg9g=",
|
||||
"homepage": "https://registry.terraform.io/providers/buildkite/buildkite",
|
||||
"owner": "buildkite",
|
||||
"repo": "terraform-provider-buildkite",
|
||||
"rev": "v1.35.0",
|
||||
"rev": "v1.34.2",
|
||||
"spdx": "MIT",
|
||||
"vendorHash": "sha256-oYwtPTXNCkTizQWix2GYpb23mFvTmIzbcY3UTfB2Leo="
|
||||
"vendorHash": "sha256-uYyj6GSV5bWEfRTOODMuReEHe9wnF4cVoHM9rBMpgmM="
|
||||
},
|
||||
"camptocamp_pass": {
|
||||
"hash": "sha256-GQ2g7VyK+eeBqW3LMR4U0gMYsvQnG3y+KEKKkvnmfsk=",
|
||||
|
|
@ -724,11 +724,11 @@
|
|||
"vendorHash": "sha256-6knIcS3hkzt3R1IC1hA6EKOceJl51/pJXpftEaZjgtY="
|
||||
},
|
||||
"huaweicloud_huaweicloud": {
|
||||
"hash": "sha256-yuBbgu3DtnwMLwgFZtHpI6yo8p0Pzl6AtlqbW2cWi+c=",
|
||||
"hash": "sha256-Ao3CkaQBe172Ookcgl+ugeHH5ClbyOsSpLb4+j9DAZQ=",
|
||||
"homepage": "https://registry.terraform.io/providers/huaweicloud/huaweicloud",
|
||||
"owner": "huaweicloud",
|
||||
"repo": "terraform-provider-huaweicloud",
|
||||
"rev": "v1.94.0",
|
||||
"rev": "v1.93.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "aliyun-cli";
|
||||
version = "3.4.5";
|
||||
version = "3.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aliyun";
|
||||
repo = "aliyun-cli";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Q3jFqWET3mB0kOrLX4JAtza6j/4bXAEBjXzvSGCFgqw=";
|
||||
hash = "sha256-x43yePNf1HVw9R7PqpAb7J2XYCEn90W81nx/zgfNQBg=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -11,18 +11,18 @@
|
|||
|
||||
buildNpmPackage rec {
|
||||
pname = "ariang";
|
||||
version = "1.3.14";
|
||||
version = "1.3.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mayswind";
|
||||
repo = "AriaNg";
|
||||
tag = version;
|
||||
hash = "sha256-wPFZGNqVveDj9Dh0QSxyy93K7G91CACD4RzmgjaRxjI=";
|
||||
hash = "sha256-u4MnjGMvnnb9EGHwK2QYpW7cuX1e1+6z2/1X1baR8iA=";
|
||||
};
|
||||
|
||||
nodejs = nodejs_22;
|
||||
|
||||
npmDepsHash = "sha256-D+yqIDeJki0h6bT8eia8W8Xbokjgl4nlBXLApfhMwVc=";
|
||||
npmDepsHash = "sha256-kxoSEdM8H7M9s6U2dtCdfuvqVROEk35jAkO7MgyVVRg=";
|
||||
|
||||
makeCacheWritable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "badger";
|
||||
version = "4.9.3";
|
||||
version = "4.9.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dgraph-io";
|
||||
repo = "badger";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-B4DXzcgfkYcHqcK8F7NGbLcZWPmojMW4poRfCLv2DXI=";
|
||||
hash = "sha256-L6qGeOZlIl6I87t9Ohk57bA+WXT7NwMOJkiA3WaMFhM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-KDIwEH83nPMJPJGTN3UgO00pjYwR17XqGdPXioP1YcY=";
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "bomly";
|
||||
version = "0.16.1";
|
||||
version = "0.16.0";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
|
|
@ -19,10 +19,10 @@ buildGoModule (finalAttrs: {
|
|||
owner = "bomly-dev";
|
||||
repo = "bomly-cli";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-RJqYRCnE4lqR68lP9hL9hTOxXS3cPEgspBn2JgvffyM=";
|
||||
hash = "sha256-y4FJCOzgEUprIBy/RuWVIlco4bI0XNUNabRr+2VebgM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-W7FfqWV86D8fXZ4nm/0IVZuqocgo8/Sd9DA1Ef4SJ/4=";
|
||||
vendorHash = "sha256-qptl09fBZigImxr0ReWIqdmvyeHqr372pZqDnyMHe5A=";
|
||||
|
||||
# .gitattributes excludes all testdata from the GitHub tarball
|
||||
postPatch = ''
|
||||
|
|
|
|||
|
|
@ -12,16 +12,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "bottom";
|
||||
version = "0.14.3";
|
||||
version = "0.14.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ClementTsang";
|
||||
repo = "bottom";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-DJ1Vw1YG4CXhXUwFh2pGyH6lqLw1oHG18AEXlC4xvZk=";
|
||||
hash = "sha256-0RaMkTmX6figTBjAxoH57330pHpVJJP8br33FxezqB0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-SUR1O5Sm3CFxjkxkPWih7gnvf7L04D+x5SUFXvA/KgQ=";
|
||||
cargoHash = "sha256-wCcc0t8MA0koeGdqVcz4uYKChU7gtHTQ8yqZGNigSxA=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoAddDriverRunpath
|
||||
|
|
|
|||
|
|
@ -8,16 +8,16 @@
|
|||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "brutespray";
|
||||
version = "2.6.2";
|
||||
version = "2.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "x90skysn3k";
|
||||
repo = "brutespray";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ckw5U0TAF8NI3B8jyk7iPJ8T+9YEwFxoa9dJqb7kygI=";
|
||||
hash = "sha256-3CDvsYCiVuWr+Hp2NSzecmHl69Xf9Mcl1umqKW09OlQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-bzyvh7Ty9kl/fZwxYGH2G60wZvp607/+KflaFiZgs60=";
|
||||
vendorHash = "sha256-odRe6Jd0MIOyahoMfZJgSbv+AHeUUvWLeENaQFmT9R4=";
|
||||
|
||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@
|
|||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "calceph";
|
||||
version = "5.0.0";
|
||||
version = "4.0.5";
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.obspm.fr";
|
||||
owner = "imcce_calceph";
|
||||
repo = "calceph";
|
||||
tag = "calceph_${builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
|
||||
hash = "sha256-bSgHRVPo0M8SIlw5uqZ0nyt5cVyg3WmxcHistV1FugY=";
|
||||
hash = "sha256-V4Hh3FItBv3zYerNqNPeRJ5Afj3QTfdG3Ps5xeiDASg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "cargo-audit";
|
||||
version = "0.22.2";
|
||||
version = "0.22.1";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-hrkkDRJvXe2fltWjEW2A0/uKVFWq+9O+wRphsJjT1tE=";
|
||||
hash = "sha256-/K84iYr3mRNH8lbqHHa7Tsh7M3ykQ2hs6T1k/qrSsnA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-pdFoawDRzJ8gPYAAQHwrCVYeaa1ShSqYA8nwpCAnS1s=";
|
||||
cargoHash = "sha256-Hr3CliJeb9ljHylx8mjkGyf4ybX79Fmt6CaFb6FMRts=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
|
|
|||
|
|
@ -1,47 +1,47 @@
|
|||
{
|
||||
"version": "2.1.202",
|
||||
"commit": "23f7f00042c9899630a3a02963fe4bb349512614",
|
||||
"buildDate": "2026-07-06T20:02:44Z",
|
||||
"version": "2.1.201",
|
||||
"commit": "5bb45156ece6b12214696c88adec695b2dca1338",
|
||||
"buildDate": "2026-07-03T20:01:44Z",
|
||||
"platforms": {
|
||||
"darwin-arm64": {
|
||||
"binary": "claude",
|
||||
"checksum": "7414f707861e2fe5afef33a466f888a8d2170e5028f5e9d2858f1d3ef45ffca5",
|
||||
"size": 243631376
|
||||
"checksum": "a0852d76afc47b30f5cb0b7625ec9a7714cb189f2eeef6c28c77e2be954fb7fd",
|
||||
"size": 231708784
|
||||
},
|
||||
"darwin-x64": {
|
||||
"binary": "claude",
|
||||
"checksum": "0dc578bb294094f5041e99a0444030ac6ae7236b387e56f00d4a5214816763bd",
|
||||
"size": 251667920
|
||||
"checksum": "1889287a92d25356ae8bd8d8e67b11456015516ee8ba4277a0c7074786c49bb6",
|
||||
"size": 241100240
|
||||
},
|
||||
"linux-arm64": {
|
||||
"binary": "claude",
|
||||
"checksum": "de5e0bb28e2b32409444ed4c1431e2931001c05ed270a3dc96c6706b0693867f",
|
||||
"size": 258587376
|
||||
"checksum": "86b2eab34d382c7b428fc2e9f4c97f04e46805e950582472a13eb7d48de60516",
|
||||
"size": 248101616
|
||||
},
|
||||
"linux-x64": {
|
||||
"binary": "claude",
|
||||
"checksum": "71590202249892db3805ecd5b867f831f04b8129eaabd3f9a5bd4ba16b52c839",
|
||||
"size": 261786424
|
||||
"checksum": "a34809a6839fdefff21b9347d7fb5b6b58e6a9cc208a5e62853f29c83eb107a3",
|
||||
"size": 251300664
|
||||
},
|
||||
"linux-arm64-musl": {
|
||||
"binary": "claude",
|
||||
"checksum": "80405fead329dd67d786b2a3d49bb121797a157937c99dedae2e36fcc77b55e6",
|
||||
"size": 251835576
|
||||
"checksum": "5b4cde588b0196c8f88654ca9652c4703788f4d9fbab32a17ab3c444830085ae",
|
||||
"size": 241349816
|
||||
},
|
||||
"linux-x64-musl": {
|
||||
"binary": "claude",
|
||||
"checksum": "bd62d47b677b8867e34f32642ee13f9fb87ad31b8acfdd326307eeffec02ec89",
|
||||
"size": 256471424
|
||||
"checksum": "a0f81ec99ac65e8c5919e7aae54b8a496488e0f1311884fc9ffd05c7cbf6bd2f",
|
||||
"size": 245985664
|
||||
},
|
||||
"win32-x64": {
|
||||
"binary": "claude.exe",
|
||||
"checksum": "7ff0787ebdc19fc509ccea8886ebf6a53ad8213407fa3a2b7c6d1446efc419f6",
|
||||
"size": 252038816
|
||||
"checksum": "fb804ee019bfbb8d7e85abf965e528e53b5aa5a4e4ebc0f164139dc10a9e0320",
|
||||
"size": 241591968
|
||||
},
|
||||
"win32-arm64": {
|
||||
"binary": "claude.exe",
|
||||
"checksum": "67a437feb7489620063f57e3bb073b8b7b82252d9373c9edc1d4969e42796be4",
|
||||
"size": 246505120
|
||||
"checksum": "a3ad78a0b593dea94c3ee787b1f5b17a173a7679203a296acf9aae7ef4705d42",
|
||||
"size": 236058784
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
}:
|
||||
let
|
||||
pname = "dependabot-cli";
|
||||
version = "1.91.0";
|
||||
version = "1.90.0";
|
||||
|
||||
# `tag` is what `dependabot` uses to find the relevant docker images.
|
||||
tag = "nixpkgs-dependabot-cli-${version}";
|
||||
|
|
@ -20,12 +20,12 @@ let
|
|||
# Get these hashes from
|
||||
# nix run nixpkgs#nix-prefetch-docker -- --image-name ghcr.io/github/dependabot-update-job-proxy/dependabot-update-job-proxy --image-tag latest --final-image-name dependabot-update-job-proxy --final-image-tag ${tag}
|
||||
updateJobProxy.imageDigest = "sha256:70cf9a8f006db9cde732faf9e33a4f60af895532bbe803268fc8fd2f70aa3202";
|
||||
updateJobProxy.hash = "sha256-IBUBBSXHwepTqvcWJyo5St+ceCc80ml0Arf6R9v54Eg=";
|
||||
updateJobProxy.hash = "sha256-S6ZbaFu6cGZJA26Qf4wCC8rj+cE4MpER3LOgdenM+k8=";
|
||||
|
||||
# Get these hashes from
|
||||
# nix run nixpkgs#nix-prefetch-docker -- --image-name ghcr.io/dependabot/dependabot-updater-github-actions --image-tag latest --final-image-name dependabot-updater-github-actions --final-image-tag ${tag}
|
||||
updaterGitHubActions.imageDigest = "sha256:57b7da54e9ce0f360523f27b3536f38af1606bf6a0a74a906d39fb9fa5caf80a";
|
||||
updaterGitHubActions.hash = "sha256-cuAlu1PovPztc3P79bz8ySRCCDKh3dbt2WA4/ws6In8=";
|
||||
updaterGitHubActions.imageDigest = "sha256:7940ec1d1828ae4935ef6fc862a7849dbe7d91ca3e294b37493e7e856c5f4f76";
|
||||
updaterGitHubActions.hash = "sha256-o23JPAY+NErfiiK1j4hIHIjuaV3kiwE8D0yXbq8puaE=";
|
||||
in
|
||||
buildGoModule {
|
||||
inherit pname version;
|
||||
|
|
@ -34,7 +34,7 @@ buildGoModule {
|
|||
owner = "dependabot";
|
||||
repo = "cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-8wDP9NRsO/xbtbRTXY1BviEbZUEsiZBosJAni62uyFE=";
|
||||
hash = "sha256-MLdCSo89H5/G/V4ncdSAi/B6Nv1prRtF6e/ighHqH5U=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-mo/OOo+vw2jX0ggeEzNE8Qr5xXg0GEaTH6krdGQyeEE=";
|
||||
|
|
|
|||
|
|
@ -8,16 +8,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "display3d";
|
||||
version = "0.2.3";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "renpenguin";
|
||||
repo = "display3d";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-f2iT+3xqtFY8e9kmwpEac0/WQLFVL6tXUk/lQgBQzaM=";
|
||||
hash = "sha256-dFfU80/1fhBz9/0fVZigo+nZx6Lj66OsP52oMDpS+BY=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-IEaiehlOCQGun/CUIbPlCITAm6L/XV1uyQSmlBPnxGk=";
|
||||
cargoHash = "sha256-eXpoWKYonNZQqqIFrxO4RnLLX1s1osaZxZt3gVTYd4o=";
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
|
|
|||
|
|
@ -1,69 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
makeWrapper,
|
||||
geckodriver,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "firefox-devtools-mcp";
|
||||
version = "0.9.9";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla";
|
||||
repo = "firefox-devtools-mcp";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Bz6LkiUbgu81OnPv6xegmo7EYVgGJdlbB5HZsW4QO/Q=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-JnAivSiThEm+EPm6gY08zQfD/aaF2sLfz6YSfsle9uE=";
|
||||
|
||||
# 0.9.9 ships a stale hardcoded server version (0.7.1) in constants.ts; upstream switched to
|
||||
# build-time injection right after release (Bug 2050918), so this substitution should be dropped
|
||||
# once that fix lands in a tagged release.
|
||||
postPatch = ''
|
||||
substituteInPlace src/config/constants.ts \
|
||||
--replace-fail "'0.7.1'" "'${finalAttrs.version}'"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
# The `geckodriver` npm dependency's install script downloads a prebuilt binary from the network,
|
||||
# which is unavailable in the sandbox. The server locates geckodriver on PATH first (see
|
||||
# src/firefox/core.ts), so skip the install scripts and provide geckodriver from nixpkgs via the
|
||||
# wrapper below.
|
||||
npmFlags = [ "--ignore-scripts" ];
|
||||
|
||||
# `npm run build` (tsup) emits dist/index.js, the package's bin entry point.
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/firefox-devtools-mcp \
|
||||
--prefix PATH : ${lib.makeBinPath [ geckodriver ]}
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Model Context Protocol server for Firefox DevTools automation";
|
||||
longDescription = ''
|
||||
A Model Context Protocol (MCP) server that automates Firefox via WebDriver BiDi.
|
||||
It works with MCP clients such as Claude Code, Claude Desktop, Cursor and Cline,
|
||||
exposing tools to navigate pages, take snapshots, inspect the DOM, capture network requests
|
||||
and console messages, take screenshots and more.
|
||||
|
||||
A local Firefox installation is required at runtime.
|
||||
'';
|
||||
homepage = "https://github.com/mozilla/firefox-devtools-mcp";
|
||||
changelog = "https://github.com/mozilla/firefox-devtools-mcp/blob/v${finalAttrs.version}/CHANGELOG.md";
|
||||
license = with lib.licenses; [
|
||||
mit
|
||||
asl20
|
||||
];
|
||||
maintainers = with lib.maintainers; [ philiptaron ];
|
||||
mainProgram = "firefox-devtools-mcp";
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
|
|
@ -7,16 +7,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "flannel";
|
||||
version = "0.28.6";
|
||||
version = "0.28.5";
|
||||
rev = "v${version}";
|
||||
|
||||
vendorHash = "sha256-io2xUh5jM2x7P01MIpPgLAVXC/CAL22zrC6kfi4uYFs=";
|
||||
vendorHash = "sha256-TsMIH1L2LD+LxoAMwtvOa36sakiyxoJ2Av0oW5+dEJQ=";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "flannel-io";
|
||||
repo = "flannel";
|
||||
sha256 = "sha256-djPi4dgG9iR7K5c9NhMVJI1xdBmCX39+G/zt6dDRZx8=";
|
||||
sha256 = "sha256-cG6w2fErJ6lnEfnHXEVwk6dk056bSamPUWquRu1R0QU=";
|
||||
};
|
||||
|
||||
ldflags = [ "-X github.com/flannel-io/flannel/pkg/version.Version=${rev}" ];
|
||||
|
|
|
|||
|
|
@ -16,13 +16,13 @@ let
|
|||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gearboy";
|
||||
version = "3.8.9";
|
||||
version = "3.8.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "drhelius";
|
||||
repo = "Gearboy";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-p6gIGWkcv4jJacF4baK8Uej2kwwPnd/ylvgmUHHPXnI=";
|
||||
hash = "sha256-ZGhkcB7/WAvNaJ+tBNtka4lPHScnRI0hm9X1bUhpfRM=";
|
||||
};
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
|
|
|||
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "git-toolbelt";
|
||||
version = "1.11.0";
|
||||
version = "1.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvie";
|
||||
repo = "git-toolbelt";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-5ywYbZeMqHU7/nnnINeR0BfVBxxgYmeXvjIuC45V43g=";
|
||||
hash = "sha256-2jpgwB2DEoRtV+WGe81X1rnC7T4+FmJovOFx+4lifQw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
|
|
|||
|
|
@ -14,12 +14,12 @@
|
|||
runCommand "gitwatch"
|
||||
rec {
|
||||
pname = "gitwatch";
|
||||
version = "0.6";
|
||||
version = "0.5";
|
||||
src = fetchFromGitHub {
|
||||
owner = "gitwatch";
|
||||
repo = "gitwatch";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-O8Qk2fGBAT7NGJYd+PIGOaiDQAnexsDm1y+KFHabQEM=";
|
||||
hash = "sha256-zOJPCoXco59ufQeGH2DPGbCbKx6rSC/3iNZWoEeoQKk=";
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
|
|
|
|||
|
|
@ -11,13 +11,13 @@
|
|||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "gruvbox-plus-icons";
|
||||
version = "6.5.0";
|
||||
version = "6.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SylEleuth";
|
||||
repo = "gruvbox-plus-icon-pack";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-EG8AmnLqqml7oGeeNqLLpnmMj6/KVAJOKuTjCUoor4s=";
|
||||
hash = "sha256-t4bQeK9jwaE3nRZEhks9QARKkxKdH9ZTSgPIby323Jc=";
|
||||
};
|
||||
|
||||
patches = [ ./folder-color.patch ];
|
||||
|
|
|
|||
|
|
@ -6,14 +6,14 @@
|
|||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "icoextract";
|
||||
version = "0.3.0";
|
||||
version = "0.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jlu5";
|
||||
repo = "icoextract";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-uesnYwv1ig7cnakWpH7MKeN6cfjasxVYLHs1JYG0Tss=";
|
||||
hash = "sha256-GJCe7oFUidJt21F4NmOXspxZGRQXIjQvFjFhMYsHLjk=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
|
|
|||
|
|
@ -8,17 +8,17 @@
|
|||
}:
|
||||
buildNpmPackage rec {
|
||||
pname = "immich-public-proxy";
|
||||
version = "3.0.1";
|
||||
version = "2.5.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "alangrainger";
|
||||
repo = "immich-public-proxy";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-y7y21AEMGHtynsguKp8HmTqZni5dIc7qjt2PQnsxN90=";
|
||||
hash = "sha256-YcnJFj/IW7ceXN/sEdGuLC0lV0ZpehFqi0UwzEyVlf0=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/app";
|
||||
|
||||
npmDepsHash = "sha256-a7qiiIvkDqxj1ZUBONLlZ49LSM8UpGIis/NXt5wEDjw=";
|
||||
npmDepsHash = "sha256-IM47ySyVn5B+FLbFUKpbbFKeI0jo4YxqOMg1PTT2SVc=";
|
||||
|
||||
# patch in absolute nix store paths so the process doesn't need to cwd in $out
|
||||
postPatch = ''
|
||||
|
|
|
|||
|
|
@ -99,10 +99,7 @@ buildGoModule (finalAttrs: {
|
|||
changelog = "https://github.com/inngest/inngest/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.sspl;
|
||||
sourceProvenance = with lib.sourceTypes; [ fromSource ];
|
||||
maintainers = with lib.maintainers; [
|
||||
albertchae
|
||||
kikos0
|
||||
];
|
||||
maintainers = with lib.maintainers; [ kikos0 ];
|
||||
mainProgram = "inngest";
|
||||
platforms = lib.lists.remove "x86_64-darwin" lib.platforms.all;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,18 +8,18 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "kakoune-lsp";
|
||||
version = "21.0.1";
|
||||
version = "20.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kakoune-lsp";
|
||||
repo = "kakoune-lsp";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-ZBeUxH/CBpg/Af1rYjOPWAyDkRNvgeifltpP5GGr+wA=";
|
||||
hash = "sha256-1O0Seyz+Wzt2aJh5Os5D/7UI4LVizvY195aXJSMpeyw=";
|
||||
};
|
||||
|
||||
patches = [ (replaceVars ./Hardcode-perl.patch { inherit perl; }) ];
|
||||
|
||||
cargoHash = "sha256-TBjoUy2e9GLYa0fNI1NgC4rr32vZXqaUGYksaSHE8hg=";
|
||||
cargoHash = "sha256-wmoF0pwuXN83xy4R7wC1+YBBNdseFCg8xSqkBR/Axro=";
|
||||
|
||||
meta = {
|
||||
description = "Kakoune Language Server Protocol Client";
|
||||
|
|
|
|||
|
|
@ -10,16 +10,16 @@
|
|||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "karmor";
|
||||
version = "1.4.7";
|
||||
version = "1.4.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kubearmor";
|
||||
repo = "kubearmor-client";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-hohzVj2mlch6rSdjsCl+VcTnX9zvYnRrRM97LwbNeNw=";
|
||||
hash = "sha256-xOI6meI88GB5w19T9eSn+8dTnhrUxUCKHUBk/1EaDVI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-DrrLromAT0xSr3SUqWTM78oGXTy73VCD2DJlMwSEGEs=";
|
||||
vendorHash = "sha256-FL5WL44dsM0uPYXMNfYKRd37umId21rMGvj84rYTU3A=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
|
|
|||
|
|
@ -1,36 +0,0 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchFromCodeberg,
|
||||
lib,
|
||||
nix-update-script,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "kbd-ergol";
|
||||
version = "0-unstable-2026-07-03";
|
||||
|
||||
src = fetchFromCodeberg {
|
||||
owner = "Alerymin";
|
||||
repo = "kbd-ergol";
|
||||
rev = "5111b8c90cee7daddb6c49115ba1ca665b2102ab";
|
||||
hash = "sha256-kkxsTFNXGO8dly8r/EQyKL/JWZC4hUnq67rHChhwmkU=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
# console.nix expects keymaps to be under /share/keymaps
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "/usr/share/kbd/" "$out/share/"
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
||||
|
||||
meta = {
|
||||
description = "Ergo-L layout in keymap format for linux console";
|
||||
homepage = "https://codeberg.org/Alerymin/kbd-ergol";
|
||||
maintainers = with lib.maintainers; [ xaltsc ];
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.wtfpl;
|
||||
};
|
||||
}
|
||||
|
|
@ -6,16 +6,16 @@
|
|||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "kubedock";
|
||||
version = "0.22.0";
|
||||
version = "0.21.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "joyrex2001";
|
||||
repo = "kubedock";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-BaQT1UWHejcVkvQs88hKZdfyouUcGaghAlI2u/2kv9s=";
|
||||
hash = "sha256-mxOvk2o2Ke8AEA9SyuyqHr+G9A2qpzlE9rqKG7INr4w=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-2kr0nYKCRjHJkyp8/fdxssoDY6jJ03Bnc21Dw34GvB8=";
|
||||
vendorHash = "sha256-SROlRbpokMsnTscxF71upxmjhZPqTbkk50n0Htwh1lc=";
|
||||
|
||||
# config.Build not defined as it would break r-ryantm
|
||||
ldflags = [
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
gdk-pixbuf,
|
||||
gtk4,
|
||||
libadwaita,
|
||||
libdisplay-info,
|
||||
libdrm,
|
||||
ocl-icd,
|
||||
vulkan-loader,
|
||||
|
|
@ -26,16 +25,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "lact";
|
||||
version = "0.9.1";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ilya-zlobintsev";
|
||||
repo = "LACT";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-/b5Cfexi/RtE3DkON5J3dc4aEX6aLZvIcAhsg6Kdv7M=";
|
||||
hash = "sha256-c5GJf8AYgaAN3O6AVSEbJybEYb6lSHf7R24/1PKYhyM=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-XV37VRbCaxySMgEqXmIA0TUpI9uR+6jGOzdMlEfWxDw=";
|
||||
cargoHash = "sha256-Y+XdCmaDXdP7x22bYm//Ov7+IzlCr8GpFOgCXGFCfbA=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
|
@ -48,7 +47,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
gdk-pixbuf
|
||||
gtk4
|
||||
libadwaita
|
||||
libdisplay-info
|
||||
libdrm
|
||||
ocl-icd
|
||||
vulkan-loader
|
||||
|
|
@ -57,11 +55,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
fuse3
|
||||
];
|
||||
|
||||
checkFlags = [
|
||||
# Requires /dev/fuse, which is unavailable in the Nix build sandbox.
|
||||
"--skip=tests::apply_settings"
|
||||
];
|
||||
|
||||
# we do this here so that the binary is usable during integration tests
|
||||
env.RUSTFLAGS = lib.optionalString stdenv.targetPlatform.isElf (
|
||||
lib.concatStringsSep " " [
|
||||
|
|
|
|||
|
|
@ -1,10 +1,20 @@
|
|||
diff --git a/.cargo/config.toml b/.cargo/config.toml
|
||||
index d3e3031e1..96b624fb3 100644
|
||||
index 0ab50ad46..3f5fe0788 100644
|
||||
--- a/.cargo/config.toml
|
||||
+++ b/.cargo/config.toml
|
||||
@@ -1,5 +1,2 @@
|
||||
@@ -1,15 +1,10 @@
|
||||
-[build]
|
||||
-rustflags = ["-C", "target-cpu=native"]
|
||||
-
|
||||
[target.wasm32-unknown-unknown]
|
||||
rustflags = ["-C", "target-feature=+simd128"]
|
||||
[target.aarch64-apple-darwin]
|
||||
rustflags = [
|
||||
- "-C", "target-cpu=native",
|
||||
"-C", "target-feature=+aes,+sha2,+fp16,+i8mm",
|
||||
]
|
||||
|
||||
[target.x86_64-apple-darwin]
|
||||
rustflags = [
|
||||
- "-C", "target-cpu=native",
|
||||
"-C", "target-feature=-avx,-avx2",
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -73,14 +73,14 @@ let
|
|||
in
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "mistral-rs";
|
||||
version = "0.9.0";
|
||||
version = "0.8.4";
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "EricLBuehler";
|
||||
repo = "mistral.rs";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-3p/e7UZ8BLwT+dpb61NmzX2Z1QxxEgkgjlNzv5lWybM=";
|
||||
hash = "sha256-BSP8fi4grbEzGOfR4tGCJVjIom/1d2mnFrK8O6BRWL4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
@ -100,16 +100,16 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
+ lib.optionalString cudaSupport ''
|
||||
substituteInPlace mistralrs-flash-attn/build.rs \
|
||||
--replace-fail \
|
||||
".with_cutlass(Some(&cutlass_commit))" \
|
||||
".with_cutlass(Some(CUTLASS_COMMIT))" \
|
||||
""
|
||||
|
||||
substituteInPlace mistralrs-quant/build.rs \
|
||||
--replace-fail \
|
||||
"builder = builder.with_cutlass(Some(&cutlass_commit));" \
|
||||
'builder = builder.with_cutlass(Some("7d49e6c7e2f8896c47f586706e67e1fb215529dc"));' \
|
||||
""
|
||||
'';
|
||||
|
||||
cargoHash = "sha256-TULJ3mEAWp1ktPDPeBbUJGHhsEuo5T2qh3/JpS+8+ds=";
|
||||
cargoHash = "sha256-T4TPm31fihx9ZvQ6jme67yrc0osl4c9CiAm4+rISgFs=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
|
|
|||
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "nerva";
|
||||
version = "1.37.1";
|
||||
version = "1.37.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "praetorian-inc";
|
||||
repo = "nerva";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-gBPZSrXAm7DPxeO//To97sNyovCEJdYoaa4viCvLPME=";
|
||||
hash = "sha256-8naI5r/nmzQKHfub0Yv3uhx1MAh4VCSnsTY/n4BOX5U=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Z0MSD+1/1VzrJ+pz5x0JvxrCxtJe59ckaTqHK/+TVN8=";
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "netscanner";
|
||||
version = "0.6.43";
|
||||
version = "0.6.41";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
|
|
@ -16,10 +16,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
owner = "Chleba";
|
||||
repo = "netscanner";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-LLzv8+wAlZgXrj1Ldc+uGDfhvDYDtRU25R7UbmGb+ok=";
|
||||
hash = "sha256-8Srsts0FDLMT01YW5Guv3r8yx5i5ua7bhAFbQ5BMN74=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-47bvcj+0ZRcHjyt0cpZ0PT+NRvYdvBQcTTf9tZHci2Q=";
|
||||
cargoHash = "sha256-vlV5SibQlJ/yhJJKweqg6KYinpgZmWUUnyzAS6LBBKw=";
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/netscanner \
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "nu_scripts";
|
||||
version = "0-unstable-2026-07-02";
|
||||
version = "0-unstable-2026-06-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nushell";
|
||||
repo = "nu_scripts";
|
||||
rev = "4af42d7f10993ee488ae37762a0e7034b9a004f6";
|
||||
hash = "sha256-Q+RxZ7j1odpxbZXdex2gfJ7uUqmIpNk1W/Cq39K1g0s=";
|
||||
rev = "ca79ff62bd3fe0d31cd50762dcb1c8a46883044e";
|
||||
hash = "sha256-pk29HELNbBfQZDoXeLotUUZlRbQx7k168Rcw1JUOnvU=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
stdenv,
|
||||
bash,
|
||||
ncurses,
|
||||
neovim-unwrapped,
|
||||
neovim,
|
||||
procps,
|
||||
scdoc,
|
||||
lua51Packages,
|
||||
|
|
@ -36,14 +36,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
];
|
||||
preBuild = ''
|
||||
patchShebangs nvimpager
|
||||
substituteInPlace nvimpager --replace-fail ':-nvim' ':-${lib.getExe neovim-unwrapped}'
|
||||
substituteInPlace nvimpager --replace-fail ':-nvim' ':-${lib.getExe neovim}'
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [
|
||||
lua51Packages.busted
|
||||
ncurses # for tput
|
||||
neovim-unwrapped
|
||||
neovim
|
||||
procps # for nvim_get_proc() which uses ps(1)
|
||||
util-linux
|
||||
];
|
||||
|
|
|
|||
|
|
@ -40,14 +40,14 @@
|
|||
}:
|
||||
|
||||
let
|
||||
objects-version = "1.7.10";
|
||||
objects-version = "1.7.9";
|
||||
openmusic-version = "1.6.1";
|
||||
opensfx-version = "1.0.6";
|
||||
title-sequences-version = "0.4.26";
|
||||
|
||||
objects = fetchurl {
|
||||
url = "https://github.com/OpenRCT2/objects/releases/download/v${objects-version}/objects.zip";
|
||||
hash = "sha256-9IO+Jm3CIHe6hRe78y/+OIw1Q7LuWF4K+9QQLbRSgCE=";
|
||||
hash = "sha256-VUYe0gxugvFOmiec2ERlSwJkmZu5QDTVj6kS/e4m6tY=";
|
||||
};
|
||||
openmusic = fetchurl {
|
||||
url = "https://github.com/OpenRCT2/OpenMusic/releases/download/v${openmusic-version}/openmusic.zip";
|
||||
|
|
@ -64,13 +64,13 @@ let
|
|||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "openrct2";
|
||||
version = "0.5.3";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenRCT2";
|
||||
repo = "OpenRCT2";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-my7fPBD5N0bO1yPaxwHUFqw6TvayQs10kcAX/NqPpIg=";
|
||||
hash = "sha256-sKfNE57ZpTsHJk0uKG0YUQYg63xnOiAEwkgRaG4zgmo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -8,17 +8,17 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "polkit-stdin-agent";
|
||||
version = "0.3.1";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "r-vdp";
|
||||
repo = "polkit-stdin-agent";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Na3v1773UZmsI6EdK0SwGeSOAPC890jy0J8EUwBBH2E=";
|
||||
hash = "sha256-Nl/+IBbUEsxSKSWLXwUB3mV4iAG0z9mv+Bl6CSeFzR4=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-F/cbNrI6qC4rxUNHIRHE9ZfLh5WuKcE3xz/FaBz5eSw=";
|
||||
cargoHash = "sha256-Eb/7ejVmtG5FNSh66gZO3337KCPNi+xtYVC5qyFKJzg=";
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
|
|
|||
|
|
@ -1,21 +1,19 @@
|
|||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
fetchPypi,
|
||||
nixosTests,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "kea-exporter";
|
||||
version = "0.7.1";
|
||||
version = "0.7.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mweinelt";
|
||||
repo = "kea-exporter";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-UwQYR01cBdPEUBhOo5TqwmptAvJpxln1OLU2boAFdn4=";
|
||||
src = fetchPypi {
|
||||
pname = "kea_exporter";
|
||||
inherit version;
|
||||
hash = "sha256-kn2iwYWcyW90tgfWmzLF7rU06fJyLRzqYKNLOgu/Yqk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
|
|
@ -28,17 +26,21 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
|||
requests
|
||||
];
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
checkPhase = ''
|
||||
$out/bin/kea-exporter --help > /dev/null
|
||||
$out/bin/kea-exporter --version | grep -q ${version}
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) kea;
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/mweinelt/kea-exporter/blob/v${finalAttrs.version}/HISTORY";
|
||||
changelog = "https://github.com/mweinelt/kea-exporter/blob/v${version}/HISTORY";
|
||||
description = "Export Kea Metrics in the Prometheus Exposition Format";
|
||||
mainProgram = "kea-exporter";
|
||||
homepage = "https://github.com/mweinelt/kea-exporter";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ hexa ];
|
||||
};
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "proton-pass-cli";
|
||||
version = "2.2.2";
|
||||
version = "2.2.1";
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
|
@ -57,19 +57,19 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
sources = {
|
||||
"aarch64-darwin" = fetchurl {
|
||||
url = "https://proton.me/download/pass-cli/${finalAttrs.version}/pass-cli-macos-aarch64";
|
||||
hash = "sha256-CdY2oYT7jck81ldf6RNFHsRlOcdFukjVM/2fq0THQPM=";
|
||||
hash = "sha256-+v1y8gxFy4Fnk/SNhiPObrnQZHhDGSN2fTZ3b96LRQ4=";
|
||||
};
|
||||
"aarch64-linux" = fetchurl {
|
||||
url = "https://proton.me/download/pass-cli/${finalAttrs.version}/pass-cli-linux-aarch64";
|
||||
hash = "sha256-oVjbGFgF3wMPJZYfiUfZkRCLzW+QGv44krj/HUACGWE=";
|
||||
hash = "sha256-W/qSKyieYTM9cIx1x3qdvX0FbwBMg42CO8lIrN+xpa0=";
|
||||
};
|
||||
"x86_64-darwin" = fetchurl {
|
||||
url = "https://proton.me/download/pass-cli/${finalAttrs.version}/pass-cli-macos-x86_64";
|
||||
hash = "sha256-Gvek5eqz1Sah5Hw4klxiQSQSAW3LOuEPvFUQUmXlwVM=";
|
||||
hash = "sha256-9lpkph6Quup7olbZsUcgFo8EQPWz1jDRbSffNbRVR5o=";
|
||||
};
|
||||
"x86_64-linux" = fetchurl {
|
||||
url = "https://proton.me/download/pass-cli/${finalAttrs.version}/pass-cli-linux-x86_64";
|
||||
hash = "sha256-Zb91GVv9D+jZZgFEyDdGa37pGV045W41V9XuZDnF91E=";
|
||||
hash = "sha256-+RbPDVhFA0aOTOy0EreGV7VUU4IphBc/y5ZWo9GnjOY=";
|
||||
};
|
||||
};
|
||||
updateScript = writeShellScript "update-proton-pass-cli" ''
|
||||
|
|
|
|||
|
|
@ -10,16 +10,16 @@
|
|||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "pscale";
|
||||
version = "0.293.0";
|
||||
version = "0.291.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "planetscale";
|
||||
repo = "cli";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-eROK3Bqp72rhUTUUZZlIUbMLTNmjEUXw2TBSsNVLONQ=";
|
||||
sha256 = "sha256-dvWUriwAMgJMSkQPVNu5Ff4KFbp4KPE8lbY2OlttbzA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-IkqXij3i3nUCHfu36yS7e4+5PM6ZHmPuYbgVo7Uv0X8=";
|
||||
vendorHash = "sha256-n09VZjMHFnP/myZ0gqWdeD8QOQf3PpTJ9PUfb4x2zHo=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
|
|
|||
|
|
@ -7,14 +7,14 @@
|
|||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "pyprland";
|
||||
version = "3.4.3";
|
||||
version = "3.4.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprland-community";
|
||||
repo = "pyprland";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-/CR07do2Ma9DYmQ3dNwaXYZmgIX4gQdVMdtEz+AM78E=";
|
||||
hash = "sha256-Bu2UumLJay3Fvd2aXhqWGbxApCVSdJKo51NLy1AC/+0=";
|
||||
};
|
||||
|
||||
build-system = [ python3Packages.hatchling ];
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
arrow-cpp,
|
||||
|
||||
# nativeBuildInputs
|
||||
binaryen,
|
||||
lld,
|
||||
|
|
@ -13,7 +12,6 @@
|
|||
protobuf,
|
||||
rustfmt,
|
||||
nasm,
|
||||
|
||||
# buildInputs
|
||||
freetype,
|
||||
glib,
|
||||
|
|
@ -21,10 +19,7 @@
|
|||
libxkbcommon,
|
||||
openssl,
|
||||
vulkan-loader,
|
||||
# linux-only:
|
||||
udev,
|
||||
wayland,
|
||||
|
||||
versionCheckHook,
|
||||
# passthru
|
||||
nix-update-script,
|
||||
|
|
@ -40,9 +35,10 @@
|
|||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "rerun";
|
||||
version = "0.34.1";
|
||||
version = "0.33.1";
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
|
@ -53,7 +49,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
owner = "rerun-io";
|
||||
repo = "rerun";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-z/9uzp/7+xxmJCcgV+LJqdWWEhE85+upgW1EFfyBvYM=";
|
||||
hash = "sha256-GCIrvNNktW9h2/s90tTxFOmiIRAbWQWOS3Ti03EZ/GM=";
|
||||
};
|
||||
|
||||
# The path in `build.rs` is wrong for some reason, so we patch it to make the passthru tests work
|
||||
|
|
@ -62,7 +58,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
--replace-fail '"rerun_sdk/rerun_cli/rerun"' '"rerun_sdk/rerun"'
|
||||
'';
|
||||
|
||||
cargoHash = "sha256-nvLT+iIsi1C283aJ8qP3Ijw+oizrDKwnQpSG2OchMwE=";
|
||||
cargoHash = "sha256-wCJKerOgOUWNn3wBeHEKn92qzGdICX6P52B2FT5wcZE=";
|
||||
|
||||
cargoBuildFlags = [
|
||||
"--package"
|
||||
|
|
@ -143,14 +139,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
freetype
|
||||
glib
|
||||
gtk3
|
||||
(lib.getDev openssl)
|
||||
libxkbcommon
|
||||
openssl
|
||||
vulkan-loader
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
udev
|
||||
(lib.getLib wayland)
|
||||
];
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ (lib.getLib wayland) ];
|
||||
|
||||
propagatedBuildInputs = [ arrow-cpp ];
|
||||
|
||||
|
|
|
|||
|
|
@ -10,16 +10,16 @@
|
|||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "roxctl";
|
||||
version = "4.11.1";
|
||||
version = "4.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stackrox";
|
||||
repo = "stackrox";
|
||||
rev = finalAttrs.version;
|
||||
sha256 = "sha256-1+I/piqSFIJsy3PCSs1z7BNmi4Sz+SeuVfAoi0k11IU=";
|
||||
sha256 = "sha256-rUNeRaqjGtAoMj4v/wE7bO1ifOECkvn7C6ui3OhJdIY=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-mNZCsk7qZVej7yN8z/gAYWgSheCBj2sTF7pkmJbkW1w=";
|
||||
vendorHash = "sha256-SoHwodOcS0Yeg0fNunnMrjcRdYM16HCz3EGzw2TbRKE=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "sandbox-runtime";
|
||||
version = "0.0.64";
|
||||
version = "0.0.63";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ buildNpmPackage (finalAttrs: {
|
|||
owner = "anthropic-experimental";
|
||||
repo = "sandbox-runtime";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-kKXGZcK3hx3ugud+DxLrBC+IwnUzEe0Gae2lq7DU8hA=";
|
||||
hash = "sha256-Y01JUdTmmAqs++3LpLIXZyBsq4jKvIxUeOI6zLfcI2g=";
|
||||
};
|
||||
|
||||
postPatch =
|
||||
|
|
@ -37,7 +37,7 @@ buildNpmPackage (finalAttrs: {
|
|||
|
||||
strictDeps = true;
|
||||
|
||||
npmDepsHash = "sha256-3HOGoIG9syQJ407C8Bg7J7mtPpoIjVtUoFCdbSmT8BU=";
|
||||
npmDepsHash = "sha256-fwk2A1oBv+/YrV+zjzSYlKhIB6oiAZO/88fE2UHWWbA=";
|
||||
|
||||
postFixup =
|
||||
let
|
||||
|
|
|
|||
|
|
@ -11,13 +11,13 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "SDL_ttf";
|
||||
version = "2.0.11-unstable-2026-07-05";
|
||||
version = "2.0.11-unstable-2024-04-23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libsdl-org";
|
||||
repo = "SDL_ttf";
|
||||
rev = "3af6dd26174bb719c241447d1ea55e40597bb9a6";
|
||||
hash = "sha256-OLPsLIddOnKpMjW+P9D1gEKyYC125X6sqpBbm44d8d8=";
|
||||
rev = "3c4233732b94ce08d5f6a868e597af39e13f8b23";
|
||||
hash = "sha256-FX6Ko4CaOSCSKdpWVsJhTZXlWk1cnjbfVfMDiGG2+TU=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
|
|
|||
|
|
@ -10,13 +10,13 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "sentry-native";
|
||||
version = "0.15.3";
|
||||
version = "0.15.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getsentry";
|
||||
repo = "sentry-native";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-9UwF8B1dd4RhboMgkZCHI3UqAm8aZAhgLo9VzjwlW/I=";
|
||||
hash = "sha256-119xEbCBmY61hJln0+ZncavZDXh+iY3oGrVtZPQZFsk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "sops";
|
||||
version = "3.13.2";
|
||||
version = "3.13.1";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
|
|
@ -20,10 +20,10 @@ buildGoModule (finalAttrs: {
|
|||
owner = "getsops";
|
||||
repo = finalAttrs.pname;
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-en4MsPwqLRi8jlwuzWHgJ+ns42cBXuCzGbnZyGK9Vhk=";
|
||||
hash = "sha256-df3CwJv+sROmikvWZbFGB1OrcSL1svuvFr6WJKYWhDc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-qBtVnRJK/E545yTUwYXauVFBcpV8mUSxmush5vQMMrs=";
|
||||
vendorHash = "sha256-cdaxcNCCHK2Rve96KvmO9lc9gZtgqu6rDeYb2vRvdHw=";
|
||||
|
||||
subPackages = [ "cmd/sops" ];
|
||||
|
||||
|
|
|
|||
|
|
@ -23,13 +23,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "transcribe";
|
||||
version = "9.60.0";
|
||||
version = "9.51.1";
|
||||
|
||||
src =
|
||||
if stdenv.hostPlatform.system == "x86_64-linux" then
|
||||
fetchzip {
|
||||
url = "https://www.seventhstring.com/xscribe/downlo/xscsetup-${version}.tar.gz";
|
||||
sha256 = "sha256-YGgZimAuIcdKiRK7SPK13oKElr8OFjGkho1jX40LqSk=";
|
||||
sha256 = "sha256-RgiclfufwWDr21NGIfc3/PgYJBBoTwiu9TxLgTU9Pgk=";
|
||||
}
|
||||
else
|
||||
throw "Platform not supported";
|
||||
|
|
|
|||
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "vt-cli";
|
||||
version = "1.3.1";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VirusTotal";
|
||||
repo = "vt-cli";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-oYdF3UmPT43iXWYx4A3ctDIf96nAriwt0gasOIObhlU=";
|
||||
hash = "sha256-B4SOoEc05nDFc93MYZDSj+LRt06jWjudocE4IKEw7jE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-n44nEff0/neaqHfU6UbPjEAW46axJ0hIxrOnlq5QKA0=";
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "wasm-component-ld";
|
||||
version = "0.5.26";
|
||||
version = "0.5.25";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
|
|
@ -14,10 +14,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
owner = "bytecodealliance";
|
||||
repo = "wasm-component-ld";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-4hKHChIxVpTo18sfeUd8GzjQeb2ONAGeg4I7vKTAhSI=";
|
||||
hash = "sha256-EQqNm3GRuMafbrOyzsdZ5e1pX4LH40wCyKVgSgm8A48=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-IQe4TLWbjlB/h7K5qH5ANxoqG8A2D3RF+UVDj4u6qFQ=";
|
||||
cargoHash = "sha256-1e54TLWGjfNORwr6uLIe/XhdDDOkbalw/6/0UGuBiPk=";
|
||||
|
||||
# Tests require a rustc that can target wasm32-wasip1, including std. This is awkward for
|
||||
# Nixpkgs to provide at the same time as providing a rustc that's targetting the actual target.
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ let
|
|||
|
||||
hash =
|
||||
{
|
||||
x86_64-linux = "sha256-soypc4tPi9UexNqObZtKWvGgFA/4lPyv5ID3VEbjDDo=";
|
||||
x86_64-linux = "sha256-aPEyAlD7bpi30m7952gVzEDJZJr0BPJ7GJtKAg68aEc=";
|
||||
}
|
||||
.${system} or throwSystem;
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ let
|
|||
in
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "xpipe";
|
||||
version = "23.6";
|
||||
version = "23.5.2";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/xpipe-io/xpipe/releases/download/${version}/xpipe-portable-linux-${arch}.tar.gz";
|
||||
|
|
|
|||
|
|
@ -1,87 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
apple-sdk,
|
||||
installShellFiles,
|
||||
writeShellScriptBin,
|
||||
zig_0_15,
|
||||
nix-update-script,
|
||||
}:
|
||||
let
|
||||
zig = zig_0_15;
|
||||
|
||||
sdkRoot = apple-sdk.sdkroot;
|
||||
# Ghostty's Zig build asks Zig to discover the native Darwin SDK via
|
||||
# std.zig.LibCInstallation.findNative, which shells out to xcrun/xcode-select
|
||||
# on macOS. Provide wrappers so this works inside the Nix sandbox.
|
||||
xcrunWrapper = writeShellScriptBin "xcrun" ''
|
||||
echo "${sdkRoot}"
|
||||
'';
|
||||
xcodeselectWrapper = writeShellScriptBin "xcode-select" ''
|
||||
echo "${sdkRoot}"
|
||||
'';
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "zmx";
|
||||
version = "0.6.0";
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "neurosnap";
|
||||
repo = "zmx";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-OkXtVf/LdBrZL6FH9TGx+mIhUXt2eSugLxZyMd+HL6k=";
|
||||
};
|
||||
|
||||
zigDeps = zig.fetchDeps {
|
||||
inherit (finalAttrs) src pname version;
|
||||
fetchAll = true;
|
||||
hash = "sha256-TwKoeaE4g5G7t7smKoqHkCCh998nSqKx5k6sO2vDlGs=";
|
||||
};
|
||||
|
||||
postConfigure = ''
|
||||
# Zig may write cache metadata next to fetched dependencies while checking them.
|
||||
cp -rLT ${finalAttrs.zigDeps} "$ZIG_GLOBAL_CACHE_DIR/p"
|
||||
chmod -R u+w "$ZIG_GLOBAL_CACHE_DIR/p"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
zig
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
xcrunWrapper
|
||||
xcodeselectWrapper
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd ${finalAttrs.meta.mainProgram} \
|
||||
--bash <($out/bin/zmx completions bash) \
|
||||
--zsh <($out/bin/zmx completions zsh) \
|
||||
--fish <($out/bin/zmx completions fish)
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/neurosnap/zmx";
|
||||
description = "Session persistence for terminal processes";
|
||||
longDescription = ''
|
||||
zmx provides session persistence for terminal shell sessions (pty processes).
|
||||
Features include ability to attach and detach from shell sessions without killing them,
|
||||
native terminal scrollback, multiple client connections to the same session,
|
||||
and restoration of previous terminal state and output when re-attaching.
|
||||
'';
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
dwt
|
||||
GabrielDougherty
|
||||
];
|
||||
mainProgram = "zmx";
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "lomiri-wallpapers";
|
||||
version = "20.04.1";
|
||||
version = "20.04.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "ubports";
|
||||
repo = "development/core/lomiri-wallpapers";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-NttA+je2jbE0q0EXZ5PSxrpB0ijRbqpSq0N0GCWEzJk=";
|
||||
hash = "sha256-n8+vY+MPVqW6s5kSo4aEtGZv1AsjB3nNEywbmcNWfhI=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
|
|
@ -23,16 +23,15 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share
|
||||
''
|
||||
# release-specific wallpapers
|
||||
+ ''
|
||||
|
||||
# release-specific wallpapers
|
||||
cp -r ${lib.versions.majorMinor finalAttrs.version} $out/share/wallpapers
|
||||
''
|
||||
# default
|
||||
+ ''
|
||||
install -Dm644 {.,$out/share/wallpapers}/lomiri-default-background.png
|
||||
''
|
||||
+ ''
|
||||
rm $out/share/wallpapers/.placeholder
|
||||
|
||||
# eternal hardwired fallback/default
|
||||
install -Dm644 {.,$out/share/wallpapers}/warty-final-ubuntu.png
|
||||
ln -s warty-final-ubuntu.png $out/share/wallpapers/lomiri-default-background.png
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ let
|
|||
withDocumentation = !useQt6;
|
||||
};
|
||||
lomiri-notifications = callPackage ./qml/lomiri-notifications { };
|
||||
lomiri-push-qml = callPackage ./qml/lomiri-push-qml { };
|
||||
lomiri-ui-extras = callPackage ./qml/lomiri-ui-extras { };
|
||||
lomiri-ui-toolkit = callPackage ./qml/lomiri-ui-toolkit { };
|
||||
qqc2-suru-style = callPackage ./qml/qqc2-suru-style { };
|
||||
|
|
@ -91,6 +90,7 @@ let
|
|||
u1db-qt = callPackage ./development/u1db-qt { };
|
||||
|
||||
#### QML / QML-related
|
||||
lomiri-push-qml = callPackage ./qml/lomiri-push-qml { };
|
||||
lomiri-settings-components = callPackage ./qml/lomiri-settings-components { };
|
||||
|
||||
#### Services
|
||||
|
|
|
|||
|
|
@ -11,34 +11,22 @@
|
|||
qtdeclarative,
|
||||
}:
|
||||
|
||||
let
|
||||
withQt6 = lib.versions.major qtbase.version == "6";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "lomiri-push-qml";
|
||||
version = "0.4.1";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "ubports";
|
||||
repo = "development/core/lomiri-push-qml";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-+D8F0H3S+lfU53CJarE7Wrsc66JvJywzih0IgGD8cJo=";
|
||||
hash = "sha256-QpkW/fbl0Px5HsKfz/gv+D1S+iSpMZM8TiZCuAq1myk=";
|
||||
};
|
||||
|
||||
postPatch =
|
||||
if (!withQt6) then
|
||||
''
|
||||
# Queries QMake for QML install location, returns QtBase build path
|
||||
substituteInPlace src/*/PushNotifications/CMakeLists.txt \
|
||||
--replace-fail 'qmake -query QT_INSTALL_QML' 'echo ''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}'
|
||||
''
|
||||
else
|
||||
''
|
||||
substituteInPlace src/Lomiri/PushNotifications/CMakeLists.txt \
|
||||
--replace-fail \
|
||||
'set(QT_INSTALL_QML "''${CMAKE_INSTALL_LIBDIR}/qt6/qml/")' \
|
||||
'set(QT_INSTALL_QML "''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}")'
|
||||
'';
|
||||
postPatch = ''
|
||||
# Queries QMake for QML install location, returns QtBase build path
|
||||
substituteInPlace src/*/PushNotifications/CMakeLists.txt \
|
||||
--replace-fail 'qmake -query QT_INSTALL_QML' 'echo ''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}'
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
|
|
@ -58,8 +46,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
dontWrapQtApps = true;
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "ENABLE_QT6" withQt6)
|
||||
(lib.cmakeBool "ENABLE_UBUNTU_COMPAT" (!withQt6))
|
||||
(lib.cmakeBool "ENABLE_QT6" (lib.strings.versionAtLeast qtbase.version "6"))
|
||||
(lib.cmakeBool "ENABLE_UBUNTU_COMPAT" (!lib.strings.versionAtLeast qtbase.version "6"))
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
|
|
|
|||
|
|
@ -2,13 +2,13 @@
|
|||
stdenv,
|
||||
lib,
|
||||
fetchFromGitLab,
|
||||
fetchpatch,
|
||||
gitUpdater,
|
||||
nixosTests,
|
||||
runCommand,
|
||||
ayatana-indicator-messages,
|
||||
bash,
|
||||
cmake,
|
||||
ctestCheckHook,
|
||||
dbus,
|
||||
dbus-glib,
|
||||
dbus-test-runner,
|
||||
|
|
@ -53,31 +53,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-CNtJPMust7zCuoXw/CpaK4NVXijTXA3Xs4YMJiZyxes=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fixes for test flakiness & newer libnotify compatibility
|
||||
# Remove when version > 0.6.2
|
||||
(fetchpatch {
|
||||
name = "0001-lomiri-telephony-service-new-libnotify-needs-spec_version.patch";
|
||||
url = "https://gitlab.com/ubports/development/core/lomiri-telephony-service/-/commit/6b0b51a4fcfafcd10ae5fe4928d49c9f73f14d12.patch";
|
||||
hash = "sha256-E9THrqE77GXBY8ftwrkwFzFCTSa/YpkaHiX4ivjH6mM=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "0002-lomiri-telephony-service-tests-depend-on-the-notification-mock.patch";
|
||||
url = "https://gitlab.com/ubports/development/core/lomiri-telephony-service/-/commit/8c5a3048492eb01354565f0892a61770eb27b957.patch";
|
||||
hash = "sha256-nLN+Evyq4Yf9GN2wSSPXmzEzTPXHDl+Pl5FKOiwdDY8=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "0003-lomiri-telephony-service-approver-fix-race-condition-when-accepting-calls.patch";
|
||||
url = "https://gitlab.com/ubports/development/core/lomiri-telephony-service/-/commit/b3123f784ed692f9424c978e68867a8662d00083.patch";
|
||||
hash = "sha256-/JEkoEEivFwFoNOrcdDleAGOjdUwS4SlUovMr9trNQQ=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "0004-lomiri-telephony-service-Robustness-fixes-for-tests.patch";
|
||||
url = "https://gitlab.com/ubports/development/core/lomiri-telephony-service/-/commit/e886fbdd016327634e935986f2b63b90833295be.patch";
|
||||
hash = "sha256-Ie9kM7UHSjmORTOTNzZ1/qtM4ILkOnGjyQCXXo1PU88=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Queries qmake for the QML installation path, which returns a reference to Qt5's build directory
|
||||
# Patch out failure if QMake is not found, since we don't use it
|
||||
|
|
@ -137,6 +112,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
ctestCheckHook
|
||||
dbus-test-runner
|
||||
dconf
|
||||
gnome-keyring
|
||||
|
|
@ -163,6 +139,25 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
# Starts & talks to D-Bus services, breaks with parallelism
|
||||
enableParallelChecking = false;
|
||||
|
||||
disabledTests = [
|
||||
# Flaky, randomly failing to launch properly & stuck until test timeout
|
||||
# https://gitlab.com/ubports/development/core/lomiri-telephony-service/-/issues/70
|
||||
"AccountEntryTest"
|
||||
"AccountEntryFactoryTest"
|
||||
"AuthHandlerTest"
|
||||
"CallEntryTest"
|
||||
"ChatManagerTest"
|
||||
"HandlerTest"
|
||||
"OfonoAccountEntryTest"
|
||||
"PresenceRequestTest"
|
||||
"TelepathyHelperSetupTest"
|
||||
|
||||
# Failing most of the time since libnotify 0.8.8
|
||||
# https://gitlab.com/ubports/development/core/lomiri-telephony-service/-/issues/75
|
||||
"ApproverTest"
|
||||
"MessagingMenuTest"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export QT_QPA_PLATFORM=minimal
|
||||
export QT_PLUGIN_PATH=${
|
||||
|
|
|
|||
|
|
@ -358,13 +358,13 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "boto3-stubs";
|
||||
version = "1.43.41";
|
||||
version = "1.43.40";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "boto3_stubs";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-pXtT4D6Hh/2I3luQLYMDyfZB+8PQtCsSdR50vmQ2dds=";
|
||||
hash = "sha256-5h8+Bf1ljDkoxwShyn+aAguxkCHJYcg5I5y3F7iv3JU=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
dask,
|
||||
numpy,
|
||||
scipy,
|
||||
pandas,
|
||||
pims,
|
||||
|
||||
# tests
|
||||
|
|
@ -19,22 +20,24 @@
|
|||
scikit-image,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
buildPythonPackage rec {
|
||||
pname = "dask-image";
|
||||
version = "2026.5.0";
|
||||
version = "2025.11.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dask";
|
||||
repo = "dask-image";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-SEbabXZx4u+C4IjzfVf81Y/gopxt6m0Jp0ZCN9hx5G8=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-+nzYthnobcemunMcAWwRpHOQy6yFtjdib/7VZqWEiqc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "--flake8" ""
|
||||
sed -i "/--flake8/d" pyproject.toml
|
||||
|
||||
# https://numpy.org/doc/stable//release/2.4.0-notes.html#removed-numpy-in1d
|
||||
substituteInPlace tests/test_dask_image/test_ndmeasure/test_core.py \
|
||||
--replace-fail "np.in1d" "np.isin"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
|
|
@ -45,8 +48,9 @@ buildPythonPackage (finalAttrs: {
|
|||
dependencies = [
|
||||
dask
|
||||
numpy
|
||||
pims
|
||||
scipy
|
||||
pandas
|
||||
pims
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
|
@ -76,8 +80,8 @@ buildPythonPackage (finalAttrs: {
|
|||
meta = {
|
||||
description = "Distributed image processing";
|
||||
homepage = "https://github.com/dask/dask-image";
|
||||
changelog = "https://github.com/dask/dask-image/releases/tag/${finalAttrs.src.tag}";
|
||||
changelog = "https://github.com/dask/dask-image/releases/tag/v${version}";
|
||||
license = lib.licenses.bsdOriginal;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,13 +11,13 @@
|
|||
dask,
|
||||
distributed,
|
||||
|
||||
# tests
|
||||
# checks
|
||||
cryptography,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
buildPythonPackage rec {
|
||||
pname = "dask-jobqueue";
|
||||
version = "0.9.0";
|
||||
pyproject = true;
|
||||
|
|
@ -25,7 +25,7 @@ buildPythonPackage (finalAttrs: {
|
|||
src = fetchFromGitHub {
|
||||
owner = "dask";
|
||||
repo = "dask-jobqueue";
|
||||
tag = finalAttrs.version;
|
||||
tag = version;
|
||||
hash = "sha256-YujfhjOJzl4xsjjsyrQkEu/CBR04RwJ79c1iSTcMIgw=";
|
||||
};
|
||||
|
||||
|
|
@ -43,9 +43,6 @@ buildPythonPackage (finalAttrs: {
|
|||
];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError: assert 1783413599.053456 < (1783413589.024546 + 10)
|
||||
"test_runner"
|
||||
|
||||
# Require some unavailable pytest fixtures
|
||||
"test_adapt"
|
||||
"test_adaptive"
|
||||
|
|
@ -103,4 +100,4 @@ buildPythonPackage (finalAttrs: {
|
|||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
})
|
||||
}
|
||||
|
|
|
|||
84
pkgs/development/python-modules/dask-yarn/default.nix
Normal file
84
pkgs/development/python-modules/dask-yarn/default.nix
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
setuptools,
|
||||
versioneer,
|
||||
dask,
|
||||
distributed,
|
||||
grpcio,
|
||||
skein,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dask-yarn";
|
||||
version = "0.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dask";
|
||||
repo = "dask-yarn";
|
||||
tag = version;
|
||||
hash = "sha256-/BTsxQSiVQrihrCa9DE7pueyg3aPAdjd/Dt4dpUwdtM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# https://github.com/dask/dask-yarn/pull/150
|
||||
name = "address-deprecations-introduced-in-distributed-2021-07-0";
|
||||
url = "https://github.com/dask/dask-yarn/pull/150/commits/459848afcdc22568905ee98622c74e4071496423.patch";
|
||||
hash = "sha256-LS46QBdiAmsp4jQq4DdYdmmk1qzx5JZNTQUlRcRwY5k=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
rm versioneer.py
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
versioneer
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
dask
|
||||
distributed
|
||||
grpcio
|
||||
skein
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "dask_yarn" ];
|
||||
|
||||
disabledTests = [
|
||||
# skein.exceptions.DriverError: Failed to start java process
|
||||
"test_basic"
|
||||
"test_adapt"
|
||||
"test_from_specification"
|
||||
"test_from_application_id"
|
||||
"test_from_current"
|
||||
"test_basic_async"
|
||||
"test_widget_and_html_reprs"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Deploy dask on YARN clusters";
|
||||
mainProgram = "dask-yarn";
|
||||
longDescription = ''
|
||||
Dask-Yarn deploys Dask on YARN clusters,
|
||||
such as are found in traditional Hadoop installations.
|
||||
Dask-Yarn provides an easy interface to quickly start,
|
||||
stop, and scale Dask clusters natively from Python.
|
||||
'';
|
||||
homepage = "https://yarn.dask.org/";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ illustris ];
|
||||
};
|
||||
}
|
||||
|
|
@ -44,15 +44,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "dask";
|
||||
version = "2026.7.0";
|
||||
version = "2026.3.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dask";
|
||||
repo = "dask";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-Lp8l4luwCGUmLWzwhAYBn8lrXH2bLTnMO7JCD+TqrKU=";
|
||||
hash = "sha256-JfCiABGSCJKKSz2/r8fvpVwdQSZqvoQICe+lDvuNhoM=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
|
|
|
|||
|
|
@ -25,10 +25,8 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "datafusion";
|
||||
# WARNING: Ensure rerun-sdk is compatible with this version of datafusion
|
||||
version = "53.0.0";
|
||||
version = "52.3.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
name = "datafusion-source";
|
||||
|
|
@ -37,12 +35,12 @@ buildPythonPackage (finalAttrs: {
|
|||
tag = finalAttrs.version;
|
||||
# Fetch arrow-testing and parquet-testing (tests assets)
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-3plgAJuh2rrnvzkQVy3gUgEoHHT4FSjDp5DZx1keD+g=";
|
||||
hash = "sha256-kyJoG65XKSF+RElZlsdfVTZp/ufWiUw0YdCpQ8Qcg78=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs) pname src version;
|
||||
hash = "sha256-kHGlUaPNSs1Nh3HCU+yUVQq/IXp9PUwpDmfAon8eRBk=";
|
||||
hash = "sha256-7/YWJORUjhhZSLyyBT6NFD0RzARJ3SKd11gn4kJ7aYw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
|
|
|
|||
|
|
@ -21,20 +21,20 @@
|
|||
tblib,
|
||||
toolz,
|
||||
tornado,
|
||||
urllib3,
|
||||
zict,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "distributed";
|
||||
version = "2026.7.0";
|
||||
version = "2026.3.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dask";
|
||||
repo = "distributed";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-JwN+Ey+Ii8mELa6oVS+SDiOPYyMcKdaiSjjMqDze+kc=";
|
||||
hash = "sha256-lStJwJbhuyPuJ7Nbcm6S6f7tq1T5DtAy8zE1p2Mdrt0=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
|
@ -58,6 +58,7 @@ buildPythonPackage (finalAttrs: {
|
|||
tblib
|
||||
toolz
|
||||
tornado
|
||||
urllib3
|
||||
zict
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-tenants";
|
||||
version = "3.11.2";
|
||||
version = "3.10.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "django-tenants";
|
||||
repo = "django-tenants";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-J7poXEHbRxhULYwFbV4tktet5wdsvd7RNHgivETy9+8=";
|
||||
hash = "sha256-MzpoA49LOORR8LRLdWKhVZ+zQbF9GKLqBBi/j8WecK8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
|||
|
|
@ -8,14 +8,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "fastgit";
|
||||
version = "0.0.6";
|
||||
version = "0.0.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AnswerDotAI";
|
||||
repo = "fastgit";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-kasTNCeFrqEgska7wQ612c6lyQErnjsulqARo8WN9jA=";
|
||||
hash = "sha256-rECQZAhtD6MsDwoED7K8I3HtYdbR8DqCZqP2AqNHroY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
|||
|
|
@ -48,14 +48,14 @@
|
|||
}:
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "gdsfactory";
|
||||
version = "9.45.0";
|
||||
version = "9.44.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gdsfactory";
|
||||
repo = "gdsfactory";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-BO/4SoD2qSPfNGwRJTMpkbeZc8Zez7Xy23CgX9CIqC0=";
|
||||
hash = "sha256-5iP359Sy93Pr5gmsCEEcTK47d0qbFUy9eEpcFZ6AJp4=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
|
|
|||
|
|
@ -8,14 +8,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "iamdata";
|
||||
version = "0.1.202607071";
|
||||
version = "0.1.202607061";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloud-copilot";
|
||||
repo = "iam-data-python";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-gz2PMoEWE2+xUCfcmr8nI1AFTpKoEdrpuhD3HVoD4qM=";
|
||||
hash = "sha256-IVJw7s3XvrYy1XlnKE9DMu5d39jWFKRiQTnqg5xANwM=";
|
||||
};
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "inject";
|
||||
version = "5.4.1";
|
||||
version = "5.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ivankorobkov";
|
||||
repo = "python-inject";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-thVgKkpFtMwTMfeQ2r7xMvLtzBFJ/xIy6aUTq3400VA=";
|
||||
hash = "sha256-ITnqTGCOPLzATisAcPi52cpxsm9/Adj/Xb53jd18IWo=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
|
|
|||
|
|
@ -15,14 +15,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "lacuscore";
|
||||
version = "1.25.1";
|
||||
version = "1.25.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ail-project";
|
||||
repo = "LacusCore";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-wbs/EZuK6eK8mKOB7sb0l4Y/orhugmoEnwy1bclusoU=";
|
||||
hash = "sha256-gCNu0piYtyqXFIYhPhjrVk6qcPPVOsXDcFB3BG/g9G8=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ let
|
|||
in
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "magika";
|
||||
version = "1.0.3";
|
||||
version = "1.0.2";
|
||||
pyproject = true;
|
||||
|
||||
# Use pypi tarball instead of GitHub source
|
||||
|
|
@ -34,7 +34,7 @@ buildPythonPackage (finalAttrs: {
|
|||
# while GitHub source requires compiling magika-cli
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-rTIWAS9t0ze+NMI649+rNvBiO8Yvv7Mp+aGFLJrUAwQ=";
|
||||
hash = "sha256-jtkS2PFNBE9D/b0X1r0svdbouCRuib5J9s1UcFNjZnc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
|||
|
|
@ -806,8 +806,8 @@ in
|
|||
"sha256-EunrKwNaYp0CDiwp8frI7zASilMF4wYHjDSuCsJ6aJM=";
|
||||
|
||||
mypy-boto3-logs =
|
||||
buildMypyBoto3Package "logs" "1.43.41"
|
||||
"sha256-HAB24HG1jburH8wOPipqP1G1U7PX3i5BGp6mPUSa100=";
|
||||
buildMypyBoto3Package "logs" "1.43.35"
|
||||
"sha256-z43XDlXC123oIHrKLmEprJ3tfVXPDVg1wjLQJ9jM9WY=";
|
||||
|
||||
mypy-boto3-lookoutequipment =
|
||||
buildMypyBoto3Package "lookoutequipment" "1.43.0"
|
||||
|
|
@ -966,8 +966,8 @@ in
|
|||
"sha256-1wQApBLsMnKRZ3lJZdd2W0+2Zz50QFdzYAhrOvEzByM=";
|
||||
|
||||
mypy-boto3-opensearch =
|
||||
buildMypyBoto3Package "opensearch" "1.43.41"
|
||||
"sha256-eJIlC3LWzy+2xUZ+8uao64+IeYGdVMX1+B0+VLeA/D8=";
|
||||
buildMypyBoto3Package "opensearch" "1.43.39"
|
||||
"sha256-ML0Y1a5twHRFUmR0MppMRopU2RG9n6y0HpQj4jUb/Dk=";
|
||||
|
||||
mypy-boto3-opensearchserverless =
|
||||
buildMypyBoto3Package "opensearchserverless" "1.43.17"
|
||||
|
|
|
|||
|
|
@ -58,14 +58,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "napari";
|
||||
version = "0.7.1";
|
||||
version = "0.7.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "napari";
|
||||
repo = "napari";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-BRRJHVcCqxlOPN4kA5B0X9SOY4SiKgnBb7ov1m6aiZY=";
|
||||
hash = "sha256-fDt9n4+yQcA03IO7sMhcpiP3TfOWfyvbCjY7ImEj+Qg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
|||
|
|
@ -1,57 +1,44 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
dask,
|
||||
importlib-resources,
|
||||
itkwasm,
|
||||
itkwasm-downsample,
|
||||
numpy,
|
||||
platformdirs,
|
||||
psutil,
|
||||
rich,
|
||||
rich-argparse,
|
||||
typing-extensions,
|
||||
zarr,
|
||||
|
||||
# optional-dependencies
|
||||
# dask-image:
|
||||
dask-image,
|
||||
# cli:
|
||||
imagecodecs,
|
||||
imageio,
|
||||
itk,
|
||||
itkwasm-image-io,
|
||||
nibabel,
|
||||
tifffile,
|
||||
# tensorstore:
|
||||
tensorstore,
|
||||
# validate:
|
||||
jsonschema,
|
||||
|
||||
# tests
|
||||
deepdiff,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
importlib-resources,
|
||||
itk,
|
||||
itkwasm-downsample,
|
||||
itkwasm-image-io,
|
||||
itkwasm,
|
||||
jsonschema,
|
||||
nibabel,
|
||||
imageio,
|
||||
numpy,
|
||||
imagecodecs,
|
||||
platformdirs,
|
||||
pooch,
|
||||
psutil,
|
||||
pytestCheckHook,
|
||||
rich-argparse,
|
||||
rich,
|
||||
tensorstore,
|
||||
tifffile,
|
||||
typing-extensions,
|
||||
writableTmpDirAsHomeHook,
|
||||
zarr,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "ngff-zarr";
|
||||
version = "0.37.1";
|
||||
version = "0.37.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fideus-labs";
|
||||
repo = "ngff-zarr";
|
||||
tag = "py-v${finalAttrs.version}";
|
||||
hash = "sha256-73bduVeH+o7uirhwFcFpU33NUAOZe//GCVYMl6OYgC8=";
|
||||
hash = "sha256-v747oBJMKORiEgy3fVzzgl35+9uRbyGvtor+Ga4UkNI=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/py/";
|
||||
|
|
@ -100,7 +87,7 @@ buildPythonPackage (finalAttrs: {
|
|||
pytestCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
]
|
||||
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
|
||||
++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [ "ngff_zarr" ];
|
||||
|
||||
|
|
@ -109,19 +96,16 @@ buildPythonPackage (finalAttrs: {
|
|||
"test/test_cli_input_to_ngff_image.py"
|
||||
"test/test_cli_output.py"
|
||||
"test/test_cli_relative_paths.py"
|
||||
|
||||
# Attribute errors
|
||||
"test/test_pyramid_integrity.py"
|
||||
"test/test_multiscales_type.py"
|
||||
"test/test_convert_ome_zarr_version.py"
|
||||
"test/test_itk_image_to_ngff_image.py"
|
||||
|
||||
# Data missing
|
||||
"test/test_hcs.py"
|
||||
"test/test_hcs_simple.py"
|
||||
"test/test_ngff_validation.py"
|
||||
"test/test_nibabel_image_to_ngff_image.py"
|
||||
|
||||
# Network access
|
||||
"test/test_from_ngff_zarr_tensorstore.py"
|
||||
"test/test_from_ngff_zarr.py"
|
||||
|
|
@ -136,46 +120,16 @@ buildPythonPackage (finalAttrs: {
|
|||
"test/test_to_ngff_zarr_sharding.py"
|
||||
"test/test_to_ngff_zarr_tensorstore.py"
|
||||
"test/test_to_ngff_zarr_v3_compression.py"
|
||||
|
||||
# Missing dependencies
|
||||
"test/test_lif_to_ngff_image.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# ValueError: zarr 3.2.1 < 3 is not supported
|
||||
"test_clean_tiff_emits_no_structural_warning"
|
||||
"test_multiseries_tiff_to_directory_keeps_per_series_stores"
|
||||
"test_multiseries_tiff_to_ozx_creates_requested_file"
|
||||
"test_non_rgb_multichannel_tiff_no_channel_colors"
|
||||
"test_ome_tiff_channel_colors_from_xml"
|
||||
"test_ome_tiff_rgb_s_axis_overrides_xml_colors"
|
||||
"test_pyramidal_grayscale_tiff"
|
||||
"test_pyramidal_rgb_tiff_channel_consistency"
|
||||
"test_tiff_file_to_ngff_images_2d"
|
||||
"test_tiff_file_to_ngff_images_all_series"
|
||||
"test_tiff_file_to_ngff_images_no_ome_metadata"
|
||||
"test_tiff_file_to_ngff_images_partial_ome_metadata"
|
||||
"test_tiff_file_to_ngff_images_series_all"
|
||||
"test_tiff_file_to_ngff_images_simple_rgb"
|
||||
"test_tiff_file_to_ngff_images_single_series_by_index"
|
||||
"test_tiff_file_to_ngff_images_unit_normalization"
|
||||
"test_tiff_file_to_ngff_images_unsupported_axis_warning"
|
||||
"test_tiff_file_to_ngff_images_with_channel_names"
|
||||
"test_tiff_file_to_ngff_images_with_channels"
|
||||
"test_tiff_file_to_ngff_images_with_ome_metadata"
|
||||
"test_tiff_file_to_ngff_images_with_partial_channel_names"
|
||||
"test_tiff_file_to_ngff_images_with_sample_axis"
|
||||
"test_tiff_file_to_ngff_images_without_channel_names"
|
||||
"test_tiff_sample_axis_rgba_sets_four_channel_colors"
|
||||
"test_tiff_sample_axis_sets_rgb_channel_colors"
|
||||
"test_truncated_tiff_emits_warning"
|
||||
|
||||
# Assertion errors
|
||||
"test_2d_yx"
|
||||
"test_3d_zyx"
|
||||
"test_smaller_dask_graph"
|
||||
"test_tensorstore_compression"
|
||||
|
||||
# Test requires network access
|
||||
"test_cli_orientation_preset_end_to_end"
|
||||
"test_cli_itk_input_writes_orientation_automatically"
|
||||
|
|
|
|||
|
|
@ -24,22 +24,20 @@
|
|||
|
||||
# tests
|
||||
geopandas,
|
||||
imagecodecs,
|
||||
matplotlib,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "odc-geo";
|
||||
version = "0.5.2";
|
||||
version = "0.5.1";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "opendatacube";
|
||||
repo = "odc-geo";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-iubxn3ysx7aIMSrlrPPnfKYI8K7wSugM0/Zp2YIXeIg=";
|
||||
hash = "sha256-rFhCY5rkZgVXM8aqsV0PoT8iPPpgNEQRI9MVqk6OQFQ=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
|
@ -79,7 +77,6 @@ buildPythonPackage (finalAttrs: {
|
|||
|
||||
nativeCheckInputs = [
|
||||
geopandas
|
||||
imagecodecs
|
||||
matplotlib
|
||||
pytestCheckHook
|
||||
]
|
||||
|
|
@ -88,14 +85,19 @@ buildPythonPackage (finalAttrs: {
|
|||
disabledTestMarks = [ "network" ];
|
||||
|
||||
disabledTests = [
|
||||
# Require internet access
|
||||
# AttributeError (fixes: https://github.com/opendatacube/odc-geo/pull/202)
|
||||
"test_azure_multipart_upload"
|
||||
# network access
|
||||
"test_empty_cog"
|
||||
# urllib url open error
|
||||
"test_country_geom"
|
||||
"test_from_geopandas"
|
||||
"test_geoboxtiles_intersect"
|
||||
"test_warp_nan"
|
||||
|
||||
# imagecodecs.ImcdError: imcd_byteshuffle returned IMCD_VALUE_ERROR
|
||||
# requires imagecodecs package (currently not available on nixpkgs)
|
||||
"test_cog_with_dask_smoke_test"
|
||||
# xarray compat issue
|
||||
"test_xr_reproject"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@
|
|||
}:
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "odfdo";
|
||||
version = "3.22.10";
|
||||
version = "3.22.8";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jdum";
|
||||
repo = "odfdo";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-H/aJhWqkQGtG7bppM1AxWo/GBGYR6qAF7d/nxrby30M=";
|
||||
hash = "sha256-N256BtTV3zUXLL/ynXOTWqyoBorVsTEgevxdmLfRoJw=";
|
||||
};
|
||||
|
||||
build-system = [ uv-build ];
|
||||
|
|
|
|||
|
|
@ -13,14 +13,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "oelint-parser";
|
||||
version = "8.11.5";
|
||||
version = "8.11.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "priv-kweihmann";
|
||||
repo = "oelint-parser";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-DwbpF1H5fY854YKqB/8ppg6gMS2VhMzoyY8yr/DsfBk=";
|
||||
hash = "sha256-l2An1JQrDA8Sf0R3Xu0qp84fksUQu/3aPkwHGmfv6AY=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "regex" ];
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "ome-zarr";
|
||||
version = "0.18.0";
|
||||
version = "0.16.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
|
|
@ -34,7 +34,7 @@ buildPythonPackage (finalAttrs: {
|
|||
owner = "ome";
|
||||
repo = "ome-zarr-py";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-cuvPlPvhCoivMPpesARnc0+fUqwxjeHyZ2E1e1iHUb8=";
|
||||
hash = "sha256-hrk+F1a1yJzaIb7G80sGdqeMb2POIAD2gLOfK57A22A=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
|
@ -66,8 +66,6 @@ buildPythonPackage (finalAttrs: {
|
|||
|
||||
disabledTests = [
|
||||
# attempts to access network
|
||||
"test_class_reader"
|
||||
"test_class_reader_legacy"
|
||||
"test_s3_info"
|
||||
|
||||
# AssertionError: assert {'blocksize':... 'blosc', ...} == {'blocksize':... 'blosc', ...}
|
||||
|
|
@ -77,6 +75,25 @@ buildPythonPackage (finalAttrs: {
|
|||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Fail with RecursionError
|
||||
# https://github.com/ome/ome-zarr-py/issues/352
|
||||
"tests/test_cli.py::TestCli::test_astronaut_download"
|
||||
"tests/test_cli.py::TestCli::test_astronaut_info"
|
||||
"tests/test_cli.py::TestCli::test_coins_info"
|
||||
"tests/test_emitter.py::test_close"
|
||||
"tests/test_emitter.py::test_create_wrong_encoding"
|
||||
"tests/test_node.py::TestNode::test_image"
|
||||
"tests/test_node.py::TestNode::test_label"
|
||||
"tests/test_node.py::TestNode::test_labels"
|
||||
"tests/test_ome_zarr.py::TestOmeZarr::test_download"
|
||||
"tests/test_ome_zarr.py::TestOmeZarr::test_info"
|
||||
"tests/test_reader.py::TestReader::test_image"
|
||||
"tests/test_reader.py::TestReader::test_label"
|
||||
"tests/test_reader.py::TestReader::test_labels"
|
||||
"tests/test_starting_points.py::TestStartingPoints::test_label"
|
||||
"tests/test_starting_points.py::TestStartingPoints::test_labels"
|
||||
"tests/test_starting_points.py::TestStartingPoints::test_top_level"
|
||||
|
||||
# tries to access network:
|
||||
"ome_zarr/io.py"
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,18 +1,17 @@
|
|||
{ lib, fetchFromGitHub }:
|
||||
rec {
|
||||
version = "3.12.4";
|
||||
version = "3.12.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openrazer";
|
||||
repo = "openrazer";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-WgDYs0ehnzWlX/wvfur0UhFLbZv7jZ6FMybqDaFDuLg=";
|
||||
hash = "sha256-X1NPqbugBdxD5Nt9wIwQADV4CuydGLpgKhlNazVdrIY=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://openrazer.github.io/";
|
||||
changelog = "https://github.com/openrazer/openrazer/releases/tag/${src.tag}";
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = with lib.maintainers; [ evanjs ];
|
||||
platforms = lib.platforms.linux;
|
||||
|
|
|
|||
|
|
@ -3,65 +3,52 @@
|
|||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonAtLeast,
|
||||
|
||||
# build-system
|
||||
ninja,
|
||||
scikit-build-core,
|
||||
setuptools,
|
||||
|
||||
# nativeBuildInputs
|
||||
cmake,
|
||||
|
||||
# buildInputs
|
||||
bashNonInteractive,
|
||||
ceres-solver,
|
||||
eigen,
|
||||
gflags,
|
||||
glog,
|
||||
gtest,
|
||||
lapack,
|
||||
metis,
|
||||
pybind11,
|
||||
suitesparse,
|
||||
|
||||
# dependencies
|
||||
cloudpickle,
|
||||
exifread,
|
||||
flask,
|
||||
fpdf2,
|
||||
joblib,
|
||||
matplotlib,
|
||||
networkx,
|
||||
numpy,
|
||||
opencv-python,
|
||||
pillow,
|
||||
pyproj,
|
||||
python-dateutil,
|
||||
pyyaml,
|
||||
scipy,
|
||||
xmltodict,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
|
||||
# passthru
|
||||
runCommand,
|
||||
srcOnly,
|
||||
nix-update-script,
|
||||
bashNonInteractive,
|
||||
cmake,
|
||||
ceres-solver,
|
||||
suitesparse,
|
||||
metis,
|
||||
eigen,
|
||||
setuptools,
|
||||
pkg-config,
|
||||
pybind11,
|
||||
numpy,
|
||||
pyyaml,
|
||||
flask,
|
||||
fpdf2,
|
||||
opencv-python,
|
||||
lapack,
|
||||
gtest,
|
||||
gflags,
|
||||
glog,
|
||||
pytestCheckHook,
|
||||
networkx,
|
||||
pillow,
|
||||
exifread,
|
||||
pyproj,
|
||||
python-dateutil,
|
||||
joblib,
|
||||
xmltodict,
|
||||
cloudpickle,
|
||||
scipy,
|
||||
sphinx,
|
||||
matplotlib,
|
||||
scikit-build-core,
|
||||
ninja,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "opensfm";
|
||||
version = "odm-4-unstable-2026-07-01";
|
||||
version = "0.5.1-unstable-2026-05-04";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mapillary";
|
||||
repo = "OpenSfM";
|
||||
rev = "a677b6f0648ff3caf439aebbe9aad0ca8abc175b";
|
||||
hash = "sha256-Bxpfaj87N2QxP/AczpP3fOl6G8ciMJq5jaaIn7oGR9g=";
|
||||
rev = "1dc5b95b5c8c4cadd653bdc9f6eb97c0ac1602ba";
|
||||
sha256 = "sha256-K3+H8QSzTxIGAtYDGqOuJFTVaqk+B/R/MDMepJ/bRxY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
@ -93,9 +80,9 @@ buildPythonPackage (finalAttrs: {
|
|||
dontUseCmakeConfigure = true;
|
||||
|
||||
build-system = [
|
||||
ninja
|
||||
scikit-build-core
|
||||
setuptools
|
||||
scikit-build-core
|
||||
ninja
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
@ -103,34 +90,34 @@ buildPythonPackage (finalAttrs: {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
bashNonInteractive # for patchShebangs
|
||||
ceres-solver
|
||||
eigen
|
||||
gflags
|
||||
glog
|
||||
gtest
|
||||
lapack
|
||||
metis
|
||||
pybind11
|
||||
suitesparse
|
||||
metis
|
||||
eigen
|
||||
lapack
|
||||
gflags
|
||||
gtest
|
||||
glog
|
||||
pybind11
|
||||
bashNonInteractive # for patchShebangs
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
cloudpickle
|
||||
exifread
|
||||
numpy
|
||||
scipy
|
||||
pyyaml
|
||||
flask
|
||||
fpdf2
|
||||
joblib
|
||||
matplotlib
|
||||
networkx
|
||||
numpy
|
||||
opencv-python
|
||||
networkx
|
||||
pillow
|
||||
matplotlib
|
||||
exifread
|
||||
pyproj
|
||||
python-dateutil
|
||||
pyyaml
|
||||
scipy
|
||||
joblib
|
||||
xmltodict
|
||||
cloudpickle
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
|
@ -152,11 +139,6 @@ buildPythonPackage (finalAttrs: {
|
|||
# flaky
|
||||
"test_match_candidates_from_metadata_bow"
|
||||
]
|
||||
++ lib.optionals (pythonAtLeast "3.14") [
|
||||
# _pickle.UnpicklingError: global 'numpy._core.numeric._frombuffer' is forbidden
|
||||
"test_run_all"
|
||||
"test_shot_view_ref_count"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"test_reconstruction_incremental"
|
||||
"test_reconstruction_triangulation"
|
||||
|
|
@ -164,32 +146,26 @@ buildPythonPackage (finalAttrs: {
|
|||
|
||||
pythonImportsCheck = [ "opensfm" ];
|
||||
|
||||
passthru = {
|
||||
# https://opensfm.org/docs/using.html#quickstart
|
||||
tests = lib.genAttrs' [ "berlin" "lund" ] (
|
||||
name:
|
||||
lib.nameValuePair "integration-test-${name}" (
|
||||
runCommand "opensfm-integration-test-${name}"
|
||||
{
|
||||
nativeBuildInputs = [ finalAttrs.finalPackage ];
|
||||
}
|
||||
''
|
||||
set -euo pipefail
|
||||
opensfm --help
|
||||
cp -r ${srcOnly finalAttrs.finalPackage}/data/${name} data
|
||||
chmod -R +w data/
|
||||
bash -x $(command -v opensfm_run_all) data/
|
||||
if [[ -s data/camera_models.json && -s data/undistorted/reconstruction.json ]]; then
|
||||
touch $out
|
||||
fi
|
||||
''
|
||||
)
|
||||
);
|
||||
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [ "--version=branch" ];
|
||||
};
|
||||
};
|
||||
# https://opensfm.org/docs/using.html#quickstart
|
||||
passthru.tests = lib.genAttrs' [ "berlin" "lund" ] (
|
||||
name:
|
||||
lib.nameValuePair "integration-test-${name}" (
|
||||
runCommand "opensfm-integration-test-${name}"
|
||||
{
|
||||
nativeBuildInputs = [ finalAttrs.finalPackage ];
|
||||
}
|
||||
''
|
||||
set -euo pipefail
|
||||
opensfm --help
|
||||
cp -r ${srcOnly finalAttrs.finalPackage}/data/${name} data
|
||||
chmod -R +w data/
|
||||
bash -x $(command -v opensfm_run_all) data/
|
||||
if [[ -s data/camera_models.json && -s data/undistorted/reconstruction.json ]]; then
|
||||
touch $out
|
||||
fi
|
||||
''
|
||||
)
|
||||
);
|
||||
|
||||
meta = {
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "perplexityai";
|
||||
version = "0.39.0";
|
||||
version = "0.38.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ buildPythonPackage (finalAttrs: {
|
|||
owner = "perplexityai";
|
||||
repo = "perplexity-py";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-2uBWvur6R7i1Y8oT2MTac1j+f/UMEmdbaKowDbrc0pA=";
|
||||
hash = "sha256-Yp5A3aoKtAjWRPZ1Un2OYwezZohWirNm2JhAWLhd6uQ=";
|
||||
};
|
||||
|
||||
# Can't use relaxPythonDeps as this is a version lock in the build system
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pymc";
|
||||
version = "6.1.0";
|
||||
version = "6.0.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ buildPythonPackage (finalAttrs: {
|
|||
owner = "pymc-devs";
|
||||
repo = "pymc";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-veJ42myRo23JXh33qC1OXxiGVI0VAARuYKVs7ObFr+Q=";
|
||||
hash = "sha256-djioOgEtfKxXcbxYJGjPjCQOxcXi54xXNowJJhUWjE4=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pytensor";
|
||||
version = "3.1.2";
|
||||
version = "3.0.7";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ buildPythonPackage (finalAttrs: {
|
|||
postFetch = ''
|
||||
sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${finalAttrs.src.tag})"/' $out/pytensor/_version.py
|
||||
'';
|
||||
hash = "sha256-kKfbVSWsaA9ytii4GXeEmE+Oq8Qi7QNUOozgemqJI+k=";
|
||||
hash = "sha256-/ECRFuRSTXZtBD8EUY3dg0Z4SxLG1+7DzHSWFSAnsoU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-responses";
|
||||
version = "0.6.0";
|
||||
version = "0.5.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getsentry";
|
||||
repo = "pytest-responses";
|
||||
tag = version;
|
||||
hash = "sha256-sn11MX5nab6dDhgZkV/cy4yGnOhB2MyrC+l/RGKEU/8=";
|
||||
hash = "sha256-6QAiNWCJbo4rmaByrc8VNw39/eF3uqFOss3GJuCvpZg=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
|||
|
|
@ -12,14 +12,14 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pythonfinder";
|
||||
version = "3.0.4";
|
||||
version = "3.0.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sarugaku";
|
||||
repo = "pythonfinder";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-MX5o8KIMpZjUj93QwL54CDp6OjAnhw8TtuEGT8wkKtw=";
|
||||
hash = "sha256-p+r/0MjxhMcc0n5gPEbdGjC2M+yGqGT/YvxlyU8xTtA=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ buildPythonPackage (finalAttrs: {
|
|||
inherit (finalAttrs) version;
|
||||
format = "wheel";
|
||||
python = "py2.py3";
|
||||
hash = "sha256-BzmZA37loGsjraNgFPObTARxdlr7lj4w0/hQex7Qeg8=";
|
||||
hash = "sha256-PiZOxfVyqTwK0oSQ57TLpDIzuZUSecSEDmJtfdqqCGo=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
|
|
|||
|
|
@ -105,23 +105,11 @@ buildPythonPackage {
|
|||
postPhases = lib.optionals stdenv.hostPlatform.isLinux [ "addDlopenRunpathsPhase" ];
|
||||
|
||||
disabledTests = [
|
||||
# RuntimeError: MP4 error: MP4 demux: MP4 error: file contains a box with a larger size than it
|
||||
"test_allow_b_frames_opts_in_to_b_frame_inputs"
|
||||
"test_asset_mode_timeline_type_timestamp_applies_to_index_chunk"
|
||||
"test_b_frames_in_stream_mode_raise"
|
||||
"test_custom_entity_path_applies_to_every_chunk"
|
||||
"test_default_mode_produces_video_stream_chunks"
|
||||
"test_stream_mode_chunk_by_gop_false_emits_one_sample_per_chunk"
|
||||
"test_stream_mode_chunk_by_gop_true_packs_multiple_samples"
|
||||
"test_timeline_type_timestamp_produces_timestamp_typed_column"
|
||||
|
||||
# ConnectionError: Connection: connecting to server: transport error
|
||||
"test_batch_shape"
|
||||
"test_decode_matrix"
|
||||
"test_fixed_rate_sampling_duplicates_decode_correctly"
|
||||
"test_isolated_streams"
|
||||
"test_off_grid_capture_rate_decodes_correctly"
|
||||
"test_roundtrip_parity"
|
||||
"test_save_screenshot"
|
||||
"test_send_dataframe_roundtrip"
|
||||
"test_server_failed_table_creation_does_not_leak_entry"
|
||||
|
|
|
|||
|
|
@ -40,13 +40,13 @@
|
|||
}:
|
||||
|
||||
let
|
||||
version = "40.4.1";
|
||||
version = "40.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rucio";
|
||||
repo = "rucio";
|
||||
tag = version;
|
||||
hash = "sha256-0o4rJbl4GOH0M0sWkNtDqKJgdgrQyCLihao99RVIXqs=";
|
||||
hash = "sha256-aeLVMcC6ca3ZgWMSZJhhD1vW9oqxUKls0yF6gQFwfqU=";
|
||||
};
|
||||
in
|
||||
buildPythonPackage {
|
||||
|
|
|
|||
|
|
@ -11,16 +11,13 @@
|
|||
mlflow-skinny,
|
||||
|
||||
# tests
|
||||
matplotlib,
|
||||
pandas,
|
||||
pytestCheckHook,
|
||||
scikit-learn,
|
||||
skops,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "sagemaker-mlflow";
|
||||
version = "0.5.0";
|
||||
version = "0.4.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
|
|
@ -28,17 +25,9 @@ buildPythonPackage (finalAttrs: {
|
|||
owner = "aws";
|
||||
repo = "sagemaker-mlflow";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-nSI1BGJ2hhzuHxnGjElDuPpuc2rRn2mX5+s4ZSuZna0=";
|
||||
hash = "sha256-QE40ZBW7N3GPC+eJqj5uzS3L+A6Wu2/LgHOiUsEXKMw=";
|
||||
};
|
||||
|
||||
# AssertionError: sagemaker_mlflow version is dev - 0.5.0.dev1
|
||||
postPatch = ''
|
||||
substituteInPlace VERSION \
|
||||
--replace-fail \
|
||||
"0.5.0.dev1" \
|
||||
"${finalAttrs.version}"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
|
@ -51,19 +40,10 @@ buildPythonPackage (finalAttrs: {
|
|||
pythonImportsCheck = [ "sagemaker_mlflow" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
matplotlib
|
||||
pandas
|
||||
pytestCheckHook
|
||||
scikit-learn
|
||||
skops
|
||||
];
|
||||
|
||||
# mlflow.exceptions.MlflowException: The filesystem tracking backend (e.g., './mlruns') is in maintenance mode and will not receive further updates.
|
||||
# Please migrate to a database backend (e.g., 'sqlite:///mlflow.db') to access the latest MLflow features.
|
||||
preCheck = ''
|
||||
export MLFLOW_ALLOW_FILE_STORE=true
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError: assert 's3' in '/build/source/not implemented/0/d3c16d2bad4245bf9fc68f86d2e7599d/artifacts'
|
||||
"test_log_metric"
|
||||
|
|
@ -76,6 +56,18 @@ buildPythonPackage (finalAttrs: {
|
|||
"test_log_artifact"
|
||||
"test_presigned_url"
|
||||
"test_presigned_url_with_fields"
|
||||
|
||||
# Exercises a `sqlite://` model-registry store, only available with the
|
||||
# sqlalchemy backend of the full `mlflow` package (not `mlflow-skinny`).
|
||||
"test_store_instantiation_none"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# `from mlflow.models import infer_signature` fails to import at collection
|
||||
# time: `infer_signature` is only available in the full `mlflow` package,
|
||||
# not in `mlflow-skinny`. Also see:
|
||||
# https://github.com/aws/sagemaker-mlflow/issues/16
|
||||
"test/integration/tests/test_model_registry.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue