Merge master into staging-next

This commit is contained in:
github-actions[bot]
2024-07-12 06:01:11 +00:00
committed by GitHub
73 changed files with 14322 additions and 446 deletions
+12
View File
@@ -4928,6 +4928,12 @@
githubId = 579369;
name = "Tuomas Tynkkynen";
};
dezren39 = {
email = "drewrypope@gmail.com";
github = "dezren39";
githubId = 11225574;
name = "Drewry Pope";
};
dfithian = {
email = "daniel.m.fithian@gmail.com";
name = "Daniel Fithian";
@@ -18072,6 +18078,12 @@
githubId = 11613056;
name = "Scott Dier";
};
seanrmurphy = {
email = "sean@gopaddy.ch";
github = "seanrmurphy";
githubId = 540360;
name = "Sean Murphy";
};
SeanZicari = {
email = "sean.zicari@gmail.com";
github = "SeanZicari";
@@ -1,45 +1,35 @@
{ lib
, melpaBuild
, fetchFromGitHub
, consult
, embark
, forge
, gh
, markdown-mode
, writeText
, unstableGitUpdater
{
lib,
consult,
embark,
fetchFromGitHub,
forge,
gh,
markdown-mode,
melpaBuild,
unstableGitUpdater,
writeText,
}:
let
commit = "1fe876d9552b6ec6af257a4299a34eca99b40539";
in
melpaBuild {
pname = "consult-gh";
version = "20230706.438";
inherit commit;
version = "0.12-unstable-2024-04-23";
src = fetchFromGitHub {
owner = "armindarvish";
repo = "consult-gh";
rev = commit;
hash = "sha256-bi+qlNvNMXbS4cXbXt01txwD2NAyAqJGNKeOtdtj7tg=";
rev = "3a07139a1f7e38b959ce177a122c8f47c401d7fa";
hash = "sha256-BZloG5RuQzC2RwCfvqPPhGcbsCabQWBnRHdU62rwNdo=";
};
packageRequires = [
consult
embark
forge
gh
markdown-mode
];
recipe = writeText "recipe" ''
(consult-gh
:repo "armindarvish/consult-gh"
:fetcher github
:files ("consult-gh-embark.el" "consult-gh-forge.el" "consult-gh.el"))
'';
propagatedUserEnvPkgs = [ gh ];
passthru.updateScript = unstableGitUpdater { };
@@ -22,6 +22,7 @@ let
orjson
paramiko
rapidfuzz
setuptools
sexpdata
six
]);
@@ -2,20 +2,20 @@
buildGoModule rec {
pname = "atlantis";
version = "0.28.1";
version = "0.28.3";
src = fetchFromGitHub {
owner = "runatlantis";
repo = "atlantis";
rev = "v${version}";
hash = "sha256-c9+LPQVgS/nM/SADwTzULEvuB3dAjyAR2VVPQAEHBy0=";
hash = "sha256-azbzBHDDS705ocgUX/oNcmsnhNKJppQB1CRh60CCj58=";
};
ldflags = [
"-X=main.version=${version}"
"-X=main.date=1970-01-01T00:00:00Z"
];
vendorHash = "sha256-eYS7dO9BCnn9p1HgDOt4vliPYLsR0TaNwSpUoMO6eAk=";
vendorHash = "sha256-oiRpmGfuc37s3ZD8R7L9EFieqJP7mYvDsiJBzruCSkA=";
subPackages = [ "." ];
@@ -1,6 +1,6 @@
{ buildGo122Module, fetchFromGitHub, lib }:
{ buildGoModule, fetchFromGitHub, lib }:
buildGo122Module rec {
buildGoModule rec {
pname = "helm-diff";
version = "3.9.8";
@@ -1,12 +1,12 @@
{ lib
, buildGo122Module
, buildGoModule
, fetchFromGitHub
, installShellFiles
, makeWrapper
, pluginsDir ? null
}:
buildGo122Module rec {
buildGoModule rec {
pname = "helmfile";
version = "0.165.0";
@@ -12,16 +12,16 @@
buildGoModule rec {
pname = "kubebuilder";
version = "4.0.0";
version = "4.1.0";
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = "kubebuilder";
rev = "v${version}";
hash = "sha256-JG2Wrq6fCE1zJmM7kXcEHIQVxv9eKV0Zy3ev5eY7Dv4=";
hash = "sha256-CaDGl8+gIbcUH+bxqye+XEFO7ZwFE7NGZmyrqn7vzTk=";
};
vendorHash = "sha256-g9QjalRLc2NUsyd7Do1PWw9oD9ATuJGMRaqSaC6AcD0=";
vendorHash = "sha256-8f37IPO9PsYA/oHCtIjVrUgOTkXzkHv4cGTy5bUQP8s=";
subPackages = ["cmd"];
@@ -1,10 +1,10 @@
{ lib
, buildGo122Module
, buildGoModule
, fetchFromGitHub
, installShellFiles
}:
buildGo122Module rec {
buildGoModule rec {
pname = "timoni";
version = "0.22.0";
@@ -15,14 +15,14 @@ let
};
in python3Packages.buildPythonApplication rec {
pname = "truvari";
version = "4.1.0";
version = "4.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "ACEnglish";
repo = "truvari";
rev = "v${version}";
hash = "sha256-HFVAv1TTL/nMjr62tQKhMdwh25P/y4nBGzSbxoJxMmo=";
hash = "sha256-SFBVatcVavBfQtFbBcXifBX3YnKsxJS669vCcyjsBA4=";
};
postPatch = ''
@@ -31,11 +31,11 @@ in python3Packages.buildPythonApplication rec {
patchShebangs repo_utils/test_files
'';
nativeBuildInputs = [
build-system = [
python3Packages.setuptools
];
propagatedBuildInputs = with python3Packages; [
dependencies = with python3Packages; [
pywfa
rich
edlib
@@ -46,6 +46,7 @@ in python3Packages.buildPythonApplication rec {
pytabix
bwapy
pandas
pyabpoa
];
makeWrapperArgs = [
@@ -23,8 +23,8 @@
, zsh
, fish
, nixosTests
, go_1_22
, buildGo122Module
, go
, buildGoModule
, nix-update-script
}:
@@ -41,7 +41,7 @@ buildPythonApplication rec {
hash = "sha256-5ZkQfGlW7MWYCJZSwK/u8x9jKrZEqupsNvW30DLipDM=";
};
goModules = (buildGo122Module {
goModules = (buildGoModule {
pname = "kitty-go-modules";
inherit src version;
vendorHash = "sha256-NzDA9b3RAfMx+Jj7cSF8pEsKUkoBECBUXl2QFSmkmwM=";
@@ -80,7 +80,7 @@ buildPythonApplication rec {
sphinx-copybutton
sphinxext-opengraph
sphinx-inline-tabs
go_1_22
go
] ++ lib.optionals stdenv.isDarwin [
imagemagick
libicns # For the png2icns tool.
+102
View File
@@ -0,0 +1,102 @@
{
lib,
stdenv,
fetchFromGitHub,
simde,
zlib,
enableSse4_1 ? stdenv.hostPlatform.sse4_1Support,
enableAvx ? stdenv.hostPlatform.avxSupport,
enablePython ? false,
python3Packages,
runCommand,
abpoa,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "${lib.optionalString enablePython "py"}abpoa";
version = "1.5.1";
src = fetchFromGitHub {
owner = "yangao07";
repo = "abPOA";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-nPMzkWkjUI+vZExNEvJa24KrR0pWGk89Mvp7TCyka/w=";
};
patches = [ ./simd-arch.patch ];
postPatch = ''
cp -r ${simde.src}/* include/simde
substituteInPlace Makefile \
--replace-fail "-march=native" ""
'';
nativeBuildInputs = lib.optionals enablePython (
with python3Packages;
[
cython
pypaBuildHook
pypaInstallHook
pythonImportsCheckHook
setuptools
]
);
buildFlags = lib.optionals stdenv.hostPlatform.isx86_64 [
(
if enableAvx then
"avx2=1"
else if enableSse4_1 then
"sse41=1"
else
"sse2=1"
)
];
env = lib.optionalAttrs enablePython (
if enableAvx then
{ "AVX2" = 1; }
else if enableSse4_1 then
{ "SSE41" = 1; }
else
{ "SSE2" = 1; }
);
buildInputs = [ zlib ];
installPhase = lib.optionalString (!enablePython) ''
runHook preInstall
install -Dm755 ./bin/abpoa -t $out/bin
runHook postInstall
'';
pythonImportsCheck = [ "pyabpoa" ];
doInstallCheck = enablePython;
installCheckPhase = ''
runHook preInstallCheck
python python/example.py
runHook postInstallCheck
'';
passthru.tests = {
simple = runCommand "${finalAttrs.pname}-test" { } ''
${lib.getExe abpoa} ${abpoa.src}/test_data/seq.fa > $out
'';
};
meta = with lib; {
description = "SIMD-based C library for fast partial order alignment using adaptive band";
homepage = "https://github.com/yangao07/abPOA";
changelog = "https://github.com/yangao07/abPOA/releases/tag/${finalAttrs.src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ natsukium ];
mainProgram = "abpoa";
platforms = platforms.unix;
};
})
+27
View File
@@ -0,0 +1,27 @@
diff --git a/setup.py b/setup.py
index 52c0e7e..f88ec08 100644
--- a/setup.py
+++ b/setup.py
@@ -11,11 +11,12 @@ simde = ['-DUSE_SIMDE', '-DSIMDE_ENABLE_NATIVE_ALIASES']
if platform.system() == "Darwin":
# note: see https://github.com/pypa/wheel/issues/406
- simd_flag = ['-march=native', '-D__AVX2__', '-mmacosx-version-min=10.9']
if platform.machine() in ["aarch64", "arm64"]:
+ simd_flag = ['-march=armv8-a+simd', '-D__AVX2__', '-mmacosx-version-min=10.9']
os.environ['_PYTHON_HOST_PLATFORM'] = "macosx-10.9-arm64"
os.environ['ARCHFLAGS'] = "-arch arm64"
else:
+ simd_flag = ['-msse2', '-mmacosx-version-min=10.9']
os.environ['_PYTHON_HOST_PLATFORM'] = "macosx-10.9-x86_64"
os.environ['ARCHFLAGS'] = "-arch x86_64"
else:
@@ -24,7 +25,7 @@ else:
elif platform.machine() in ["aarch32"]:
simd_flag = ['-march=armv8-a+simd', '-mfpu=auto -D__AVX2__']
else:
- simd_flag=['-march=native']
+ simd_flag=[]
if os.getenv('SSE4', False):
simd_flag=['-msse4.1']
elif os.getenv('SSE2', False):
+40
View File
@@ -0,0 +1,40 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
testers,
dotenvx,
}:
buildNpmPackage rec {
pname = "dotenvx";
version = "1.5.0";
src = fetchFromGitHub {
owner = "dotenvx";
repo = "dotenvx";
rev = "refs/tags/v${version}";
hash = "sha256-W2JnWRHwtEF/dw+oMgyZFQXBlw2QVNTYZnwQMAS0T8w=";
};
npmDepsHash = "sha256-dQcIU0UjcBMqRw+Xk75HkKWG2b4Uq0YFnHcaF1jtGp8=";
dontNpmBuild = true;
passthru.tests = {
version = testers.testVersion {
package = dotenvx;
# access to the home directory
command = "HOME=$TMPDIR dotenvx --version";
};
};
meta = {
description = "Better dotenvfrom the creator of `dotenv";
homepage = "https://github.com/dotenvx/dotenvx";
changelog = "https://github.com/dotenvx/dotenvx/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ natsukium ];
mainProgram = "dotenvx";
};
}
+42 -56
View File
@@ -2,60 +2,46 @@
# Please dont edit it manually, your changes might get overwritten!
{ fetchNuGet }: [
(fetchNuGet { pname = "Azure.Core"; version = "1.25.0"; sha256 = "0wyrv74kqrr0scfz84sxniab88412fi91dw2h7sv315x2qkvindz"; })
(fetchNuGet { pname = "Azure.Storage.Blobs"; version = "12.14.1"; sha256 = "1k7jsin7p7zzqbfxvfz5xrzb46vqbbn569m3hd498mvf2f664yz4"; })
(fetchNuGet { pname = "Azure.Storage.Common"; version = "12.13.0"; sha256 = "06ngbyrqabnmbwac7p0yhayjvva7nj6cb3n9agmhd5mvrwhanbvf"; })
(fetchNuGet { pname = "CommandLineParser"; version = "2.9.1"; sha256 = "1sldkj8lakggn4hnyabjj1fppqh50fkdrr1k99d4gswpbk5kv582"; })
(fetchNuGet { pname = "Microsoft.AspNetCore.App.Ref"; version = "6.0.31"; sha256 = "0hki4z9x60vzcg53s8cxnig4g1xnpqcj629r2cg5q1xw0sknfp5d"; })
(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-arm64"; version = "6.0.31"; sha256 = "0blf8hl2irl9r9x6f7cih87ps21rcs3b8r09z5wp7jcb5j1cv8fg"; })
(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-x64"; version = "6.0.31"; sha256 = "050dzfy49c4jwcm8dfrz2lqbbyhmgnq485zdhpcnc3w08z0ppbs6"; })
(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.osx-arm64"; version = "6.0.31"; sha256 = "0w4sab66rjjyar9z139ls6rx29gvgj3rp3cbrsc8z00y9mw2sl22"; })
(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.osx-x64"; version = "6.0.31"; sha256 = "13kww7x35926wik32z8cnvzhpqp3dwhazkzb569v87x8yww56n3k"; })
(fetchNuGet { pname = "Microsoft.Bcl.AsyncInterfaces"; version = "1.1.1"; sha256 = "0a1ahssqds2ympr7s4xcxv5y8jgxs7ahd6ah6fbgglj4rki1f1vw"; })
(fetchNuGet { pname = "Microsoft.Bcl.AsyncInterfaces"; version = "6.0.0"; sha256 = "15gqy2m14fdlvy1g59207h5kisznm355kbw010gy19vh47z8gpz3"; })
(fetchNuGet { pname = "Microsoft.Build.Tasks.Git"; version = "8.0.0"; sha256 = "0055f69q3hbagqp8gl3nk0vfn4qyqyxsxyy7pd0g7wm3z28byzmx"; })
(fetchNuGet { pname = "Microsoft.Extensions.Configuration"; version = "8.0.0"; sha256 = "080kab87qgq2kh0ijry5kfdiq9afyzb8s0k3jqi5zbbi540yq4zl"; })
(fetchNuGet { pname = "Microsoft.Extensions.Configuration.Abstractions"; version = "8.0.0"; sha256 = "1jlpa4ggl1gr5fs7fdcw04li3y3iy05w3klr9lrrlc7v8w76kq71"; })
(fetchNuGet { pname = "Microsoft.Extensions.Configuration.Binder"; version = "8.0.0"; sha256 = "1m0gawiz8f5hc3li9vd5psddlygwgkiw13d7div87kmkf4idza8r"; })
(fetchNuGet { pname = "Microsoft.Extensions.DependencyInjection"; version = "8.0.0"; sha256 = "0i7qziz0iqmbk8zzln7kx9vd0lbx1x3va0yi3j1bgkjir13h78ps"; })
(fetchNuGet { pname = "Microsoft.Extensions.DependencyInjection.Abstractions"; version = "8.0.0"; sha256 = "1zw0bpp5742jzx03wvqc8csnvsbgdqi0ls9jfc5i2vd3cl8b74pg"; })
(fetchNuGet { pname = "Microsoft.Extensions.Logging"; version = "8.0.0"; sha256 = "0nppj34nmq25gnrg0wh1q22y4wdqbih4ax493f226azv8mkp9s1i"; })
(fetchNuGet { pname = "Microsoft.Extensions.Logging.Abstractions"; version = "8.0.0"; sha256 = "1klcqhg3hk55hb6vmjiq2wgqidsl81aldw0li2z98lrwx26msrr6"; })
(fetchNuGet { pname = "Microsoft.Extensions.Logging.Configuration"; version = "8.0.0"; sha256 = "1d9b734vnll935661wqkgl7ry60rlh5p876l2bsa930mvfsaqfcv"; })
(fetchNuGet { pname = "Microsoft.Extensions.Logging.Console"; version = "8.0.0"; sha256 = "1mvp3ipw7k33v2qw2yrvc4vl5yzgpk3yxa94gg0gz7wmcmhzvmkd"; })
(fetchNuGet { pname = "Microsoft.Extensions.Options"; version = "8.0.0"; sha256 = "0p50qn6zhinzyhq9sy5svnmqqwhw2jajs2pbjh9sah504wjvhscz"; })
(fetchNuGet { pname = "Microsoft.Extensions.Options.ConfigurationExtensions"; version = "8.0.0"; sha256 = "04nm8v5a3zp0ill7hjnwnja3s2676b4wffdri8hdk2341p7mp403"; })
(fetchNuGet { pname = "Microsoft.Extensions.Primitives"; version = "8.0.0"; sha256 = "0aldaz5aapngchgdr7dax9jw5wy7k7hmjgjpfgfv1wfif27jlkqm"; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Abstractions"; version = "7.5.1"; sha256 = "0kdxb47rafvk6mx0xkf2pik7b638b2d847jlhzi3fvj6swg3v15b"; })
(fetchNuGet { pname = "Microsoft.IdentityModel.JsonWebTokens"; version = "7.5.1"; sha256 = "1ny97mhld7vzn5xwxvcy1jhfq4mw15wrk9c77z6cg2fydkgawyzx"; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Logging"; version = "7.5.1"; sha256 = "1zharnx3vhrfdn761w16ygxyj9ig5zn71346aqkk0nmzlll3gfjf"; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Protocols"; version = "7.5.1"; sha256 = "02vqadkw25y2xij3vhdkbpv245dnmvkqfb8l4xd81dnikhk1haav"; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Protocols.OpenIdConnect"; version = "7.5.1"; sha256 = "18rq0cmb06fg86c27ymh7jcvnqpip42anp9hjdy105x063jbjcym"; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Tokens"; version = "7.5.1"; sha256 = "14fjr679hwal35mdwdv4w40mnxzfnnx65yc16807zzkyri011zc1"; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Validators"; version = "7.5.1"; sha256 = "1hpihwb58zbzs6000v7d33nyfs0y3k1i1isl9v3a8ak07l0p2n53"; })
(fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-arm64"; version = "6.0.31"; sha256 = "05s1c6bd4592xhy0y3w0cjckg11hb4pci729v59k3i3hl0hbad4s"; })
(fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-x64"; version = "6.0.31"; sha256 = "10s0p30qzfn9zibp1ldnqar87hqs47ni3rwqpvwx4jn3589cl9sn"; })
(fetchNuGet { pname = "Microsoft.NETCore.App.Host.osx-arm64"; version = "6.0.31"; sha256 = "0sah1gf2lccc93n3lmkgiahlz4jwr02cw20bvcwqyikpldy2awds"; })
(fetchNuGet { pname = "Microsoft.NETCore.App.Host.osx-x64"; version = "6.0.31"; sha256 = "0k16h1fwnvhw1gcx8ib01bidhrls5m56fiy6wldk3ajgs5dif8i6"; })
(fetchNuGet { pname = "Microsoft.NETCore.App.Ref"; version = "6.0.31"; sha256 = "19a4ainxj8jxij7ckglbmlnvrjxp72xfgx0r6lbglzh9dhsakwm7"; })
(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-arm64"; version = "6.0.31"; sha256 = "1wmlwzy9bc1fs38r0vpn3ragp8pkimcq6sicj978yhk7brn52z1p"; })
(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-x64"; version = "6.0.31"; sha256 = "0pw2n3j6vbmbghda1cvkhi3c39a49xk0a4w059mfya017adl6kac"; })
(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.osx-arm64"; version = "6.0.31"; sha256 = "115c220p0mbk30biaw0sfqprnaghks7lcvvz6n5rsg0kn4fvy7qs"; })
(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.osx-x64"; version = "6.0.31"; sha256 = "1cl561dgdk4mj48zw5xwg7a0cafkx8j2wjd4nlv0x3di300k75k5"; })
(fetchNuGet { pname = "Microsoft.SourceLink.Common"; version = "8.0.0"; sha256 = "0xrr8yd34ij7dqnyddkp2awfmf9qn3c89xmw2f3npaa4wnajmx81"; })
(fetchNuGet { pname = "Microsoft.SourceLink.GitHub"; version = "8.0.0"; sha256 = "1gdx7n45wwia3yvang3ls92sk3wrymqcx9p349j8wba2lyjf9m44"; })
(fetchNuGet { pname = "Newtonsoft.Json"; version = "13.0.3"; sha256 = "0xrwysmrn4midrjal8g2hr1bbg38iyisl0svamb11arqws4w2bw7"; })
(fetchNuGet { pname = "System.Diagnostics.DiagnosticSource"; version = "4.6.0"; sha256 = "07pff0y96hj0k0izgmqlxydnx8cpsvfymicwi4m3dix979sdly09"; })
(fetchNuGet { pname = "System.IdentityModel.Tokens.Jwt"; version = "7.5.1"; sha256 = "0priwzi8w2rnspppldl2mhi4fh835dpyyy8f7ri6qbqs7n8l746n"; })
(fetchNuGet { pname = "System.Interactive.Async"; version = "6.0.1"; sha256 = "17zzdxx7ibfwnxspxxi197a0gfgcqdzgrcza8dlwj13yi9vf8b73"; })
(fetchNuGet { pname = "System.IO.Hashing"; version = "6.0.0"; sha256 = "0lga30s3cllg2jkwldgabwrb0jg3dzj859bwj95xhnm3zcklnb41"; })
(fetchNuGet { pname = "System.Linq.Async"; version = "6.0.1"; sha256 = "10ira8hmv0i54yp9ggrrdm1c06j538sijfjpn1kmnh9j2xk5yzmq"; })
(fetchNuGet { pname = "System.Memory.Data"; version = "1.0.2"; sha256 = "1p8qdg0gzxhjvabryc3xws2629pj8w5zz2iqh86kw8sh0rann9ay"; })
(fetchNuGet { pname = "System.Numerics.Vectors"; version = "4.5.0"; sha256 = "1kzrj37yzawf1b19jq0253rcs8hsq1l2q8g69d7ipnhzb0h97m59"; })
(fetchNuGet { pname = "System.Runtime.CompilerServices.Unsafe"; version = "6.0.0"; sha256 = "0qm741kh4rh57wky16sq4m0v05fxmkjjr87krycf5vp9f0zbahbc"; })
(fetchNuGet { pname = "System.Text.Encodings.Web"; version = "4.7.2"; sha256 = "0ap286ykazrl42if59bxhzv81safdfrrmfqr3112siwyajx4wih9"; })
(fetchNuGet { pname = "System.Text.Encodings.Web"; version = "8.0.0"; sha256 = "1wbypkx0m8dgpsaqgyywz4z760xblnwalb241d5qv9kx8m128i11"; })
(fetchNuGet { pname = "System.Text.Json"; version = "4.7.2"; sha256 = "10xj1pw2dgd42anikvj9qm23ccssrcp7dpznpj4j7xjp1ikhy3y4"; })
(fetchNuGet { pname = "System.Text.Json"; version = "8.0.0"; sha256 = "134savxw0sq7s448jnzw17bxcijsi1v38mirpbb6zfxmqlf04msw"; })
(fetchNuGet { pname = "System.Threading.Tasks.Extensions"; version = "4.5.4"; sha256 = "0y6ncasgfcgnjrhynaf0lwpkpkmv4a07sswwkwbwb5h7riisj153"; })
(fetchNuGet { pname = "Azure.Core"; version = "1.25.0"; hash = "sha256-v9m4Jxa9hLH1gYK3kKITgSC0VLRdE/Qd0yBnPMnZ2XM="; })
(fetchNuGet { pname = "Azure.Storage.Blobs"; version = "12.14.1"; hash = "sha256-5HtijBNuV5RIg6MmU+xaeBuyfu7lu93dwv+fe2zU8sw="; })
(fetchNuGet { pname = "Azure.Storage.Common"; version = "12.13.0"; hash = "sha256-bi+rIM+7lgbrU8mOxYy0R+0tvYIe3MMUX9UuhbNfzxo="; })
(fetchNuGet { pname = "CommandLineParser"; version = "2.9.1"; hash = "sha256-ApU9y1yX60daSjPk3KYDBeJ7XZByKW8hse9NRZGcjeo="; })
(fetchNuGet { pname = "Microsoft.Bcl.AsyncInterfaces"; version = "1.1.1"; hash = "sha256-fAcX4sxE0veWM1CZBtXR/Unky+6sE33yrV7ohrWGKig="; })
(fetchNuGet { pname = "Microsoft.Bcl.AsyncInterfaces"; version = "6.0.0"; hash = "sha256-49+H/iFwp+AfCICvWcqo9us4CzxApPKC37Q5Eqrw+JU="; })
(fetchNuGet { pname = "Microsoft.Build.Tasks.Git"; version = "8.0.0"; hash = "sha256-vX6/kPij8vNAu8f7rrvHHhPrNph20IcufmrBgZNxpQA="; })
(fetchNuGet { pname = "Microsoft.Extensions.Configuration"; version = "8.0.0"; hash = "sha256-9BPsASlxrV8ilmMCjdb3TiUcm5vFZxkBnAI/fNBSEyA="; })
(fetchNuGet { pname = "Microsoft.Extensions.Configuration.Abstractions"; version = "8.0.0"; hash = "sha256-4eBpDkf7MJozTZnOwQvwcfgRKQGcNXe0K/kF+h5Rl8o="; })
(fetchNuGet { pname = "Microsoft.Extensions.Configuration.Binder"; version = "8.0.0"; hash = "sha256-GanfInGzzoN2bKeNwON8/Hnamr6l7RTpYLA49CNXD9Q="; })
(fetchNuGet { pname = "Microsoft.Extensions.DependencyInjection"; version = "8.0.0"; hash = "sha256-+qIDR8hRzreCHNEDtUcPfVHQdurzWPo/mqviCH78+EQ="; })
(fetchNuGet { pname = "Microsoft.Extensions.DependencyInjection.Abstractions"; version = "8.0.0"; hash = "sha256-75KzEGWjbRELczJpCiJub+ltNUMMbz5A/1KQU+5dgP8="; })
(fetchNuGet { pname = "Microsoft.Extensions.Logging"; version = "8.0.0"; hash = "sha256-Meh0Z0X7KyOEG4l0RWBcuHHihcABcvCyfUXgasmQ91o="; })
(fetchNuGet { pname = "Microsoft.Extensions.Logging.Abstractions"; version = "8.0.0"; hash = "sha256-Jmddjeg8U5S+iBTwRlVAVLeIHxc4yrrNgqVMOB7EjM4="; })
(fetchNuGet { pname = "Microsoft.Extensions.Logging.Configuration"; version = "8.0.0"; hash = "sha256-mzmstNsVjKT0EtQcdAukGRifD30T82BMGYlSu8k4K7U="; })
(fetchNuGet { pname = "Microsoft.Extensions.Logging.Console"; version = "8.0.0"; hash = "sha256-bdb9YWWVn//AeySp7se87/tCN2E7e8Gx2GPMw28cd9c="; })
(fetchNuGet { pname = "Microsoft.Extensions.Options"; version = "8.0.0"; hash = "sha256-n2m4JSegQKUTlOsKLZUUHHKMq926eJ0w9N9G+I3FoFw="; })
(fetchNuGet { pname = "Microsoft.Extensions.Options.ConfigurationExtensions"; version = "8.0.0"; hash = "sha256-A5Bbzw1kiNkgirk5x8kyxwg9lLTcSngojeD+ocpG1RI="; })
(fetchNuGet { pname = "Microsoft.Extensions.Primitives"; version = "8.0.0"; hash = "sha256-FU8qj3DR8bDdc1c+WeGZx/PCZeqqndweZM9epcpXjSo="; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Abstractions"; version = "7.5.1"; hash = "sha256-q4Q9HtdGbjfih1QegppYaJh1ZrzCzQ56NXM7lQ9ZvU0="; })
(fetchNuGet { pname = "Microsoft.IdentityModel.JsonWebTokens"; version = "7.5.1"; hash = "sha256-/Xuu3mzeicfMP4elmXkJvBLsoAye7c57sX+fRmE9yds="; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Logging"; version = "7.5.1"; hash = "sha256-Tro3KKW/WjAnVoaMcOwvLybp+/Mm8GCObS7DPbrNCv4="; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Protocols"; version = "7.5.1"; hash = "sha256-WykYJpzRtoBaJxQth+euthUi9l2zwT1k7MIXwWdTeAs="; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Protocols.OpenIdConnect"; version = "7.5.1"; hash = "sha256-1TO55DCgFxB8kzBdqwS58WK7mTyw+iOYQc8ZsCoDOKM="; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Tokens"; version = "7.5.1"; hash = "sha256-gf0QQMx+/n8AMoH5Yrq17ndbAeFkN95qGVRxmI7J0pE="; })
(fetchNuGet { pname = "Microsoft.IdentityModel.Validators"; version = "7.5.1"; hash = "sha256-o1hxAT1gKqTGTlTHEMMcHmjn7RjtbACA0X99VBaH8cI="; })
(fetchNuGet { pname = "Microsoft.SourceLink.Common"; version = "8.0.0"; hash = "sha256-AfUqleVEqWuHE7z2hNiwOLnquBJ3tuYtbkdGMppHOXc="; })
(fetchNuGet { pname = "Microsoft.SourceLink.GitHub"; version = "8.0.0"; hash = "sha256-hNTkpKdCLY5kIuOmznD1mY+pRdJ0PKu2HypyXog9vb0="; })
(fetchNuGet { pname = "Newtonsoft.Json"; version = "13.0.3"; hash = "sha256-hy/BieY4qxBWVVsDqqOPaLy1QobiIapkbrESm6v2PHc="; })
(fetchNuGet { pname = "System.Diagnostics.DiagnosticSource"; version = "4.6.0"; hash = "sha256-CXjadDqpxzYqiZzF6t3Wl6Fum+8U1/cjmEBCkzxw7h4="; })
(fetchNuGet { pname = "System.IdentityModel.Tokens.Jwt"; version = "7.5.1"; hash = "sha256-1pBDkT0aL2xiPg55728rA0FHIqyCNnrv1TYLjuLnMV8="; })
(fetchNuGet { pname = "System.Interactive.Async"; version = "6.0.1"; hash = "sha256-4yzkdop+BMlpQ+qz/H7D7LkH1Ekh9n51t9yteHpv/58="; })
(fetchNuGet { pname = "System.IO.Hashing"; version = "6.0.0"; hash = "sha256-gSxLJ/ujWthLknylguRv40mwMl/qNcqnFI9SNjQY6lE="; })
(fetchNuGet { pname = "System.Linq.Async"; version = "6.0.1"; hash = "sha256-uH5fZhcyQVtnsFc6GTUaRRrAQm05v5euJyWCXSFSOYI="; })
(fetchNuGet { pname = "System.Memory.Data"; version = "1.0.2"; hash = "sha256-XiVrVQZQIz4NgjiK/wtH8iZhhOZ9MJ+X2hL2/8BrGN0="; })
(fetchNuGet { pname = "System.Numerics.Vectors"; version = "4.5.0"; hash = "sha256-qdSTIFgf2htPS+YhLGjAGiLN8igCYJnCCo6r78+Q+c8="; })
(fetchNuGet { pname = "System.Runtime.CompilerServices.Unsafe"; version = "6.0.0"; hash = "sha256-bEG1PnDp7uKYz/OgLOWs3RWwQSVYm+AnPwVmAmcgp2I="; })
(fetchNuGet { pname = "System.Text.Encodings.Web"; version = "4.7.2"; hash = "sha256-CUZOulSeRy1CGBm7mrNrTumA9od9peKiIDR/Nb1B4io="; })
(fetchNuGet { pname = "System.Text.Encodings.Web"; version = "8.0.0"; hash = "sha256-IUQkQkV9po1LC0QsqrilqwNzPvnc+4eVvq+hCvq8fvE="; })
(fetchNuGet { pname = "System.Text.Json"; version = "4.7.2"; hash = "sha256-xA8PZwxX9iOJvPbfdi7LWjM2RMVJ7hmtEqS9JvgNsoM="; })
(fetchNuGet { pname = "System.Text.Json"; version = "8.0.0"; hash = "sha256-XFcCHMW1u2/WujlWNHaIWkbW1wn8W4kI0QdrwPtWmow="; })
(fetchNuGet { pname = "System.Threading.Tasks.Extensions"; version = "4.5.4"; hash = "sha256-owSpY8wHlsUXn5xrfYAiu847L6fAKethlvYx97Ri1ng="; })
]
+1 -1
View File
@@ -19,7 +19,7 @@ buildDotnetModule rec {
projectFile = "main/GarnetServer/GarnetServer.csproj";
nugetDeps = ./deps.nix;
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-sdk = with dotnetCorePackages; combinePackages [ sdk_6_0 sdk_8_0 ];
dotnet-runtime = dotnetCorePackages.runtime_8_0;
dotnetBuildFlags = [
@@ -60,5 +60,6 @@ in buildGoModule rec {
description = "Official golang implementation of the Ethereum protocol";
license = with licenses; [ lgpl3Plus gpl3Plus ];
maintainers = with maintainers; [ RaghavSood ];
mainProgram = "geth";
};
}
+2 -2
View File
@@ -1,11 +1,11 @@
{
lib,
buildGo122Module,
buildGoModule,
fetchFromGitHub,
darwin,
stdenv,
}:
buildGo122Module rec {
buildGoModule rec {
pname = "gptscript";
version = "0.8.2";
@@ -1,29 +1,24 @@
{
lib,
buildPythonPackage,
fetchPypi,
pefile,
pillow,
pythonOlder,
setuptools,
python3Packages,
fetchFromGitHub,
}:
buildPythonPackage rec {
python3Packages.buildPythonApplication rec {
pname = "icoextract";
version = "0.1.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
extension = "tar.gz";
hash = "sha256-/UxnWNyRNtwI4Rxx97i5QyjeMrUr5Sq+TfLTmU0xWyc=";
src = fetchFromGitHub {
owner = "jlu5";
repo = "icoextract";
rev = version;
hash = "sha256-McVG8966NCEpzc9biawLvUgbQUtterkIud/9GwOeltI=";
};
build-system = [ setuptools ];
build-system = with python3Packages; [ setuptools ];
dependencies = [
dependencies = with python3Packages; [
pefile
pillow
];
@@ -34,8 +29,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "icoextract" ];
postInstall = ''
mkdir -p $out/share/thumbnailers
substituteAll ${./exe-thumbnailer.thumbnailer} $out/share/thumbnailers/exe-thumbnailer.thumbnailer
substituteInPlace exe-thumbnailer.thumbnailer \
--replace Exec=exe-thumbnailer Exec=$out/bin/exe-thumbnailer
install -Dm644 exe-thumbnailer.thumbnailer $out/share/thumbnailers
'';
meta = with lib; {
@@ -47,5 +44,6 @@ buildPythonPackage rec {
bryanasdev000
donovanglover
];
mainProgram = "icoextract";
};
}
+2 -2
View File
@@ -1,11 +1,11 @@
{
lib,
buildGo122Module,
buildGoModule,
fetchFromGitLab,
}: let
version = "1.1";
in
buildGo122Module {
buildGoModule {
pname = "invidious-router";
inherit version;
@@ -0,0 +1,27 @@
From 0b1d9759c43629dcd3d3a6216ea47b09516a5d84 Mon Sep 17 00:00:00 2001
From: seth <getchoo@tuta.io>
Date: Sat, 6 Jul 2024 18:59:50 -0400
Subject: [PATCH] fix E0716
doesn't seem to have popped up in upstream's CI. maybe this is only an
issue in rust versions < 1.79?
---
src/data/item.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/data/item.rs b/src/data/item.rs
index 43dcf6f..985be74 100644
--- a/src/data/item.rs
+++ b/src/data/item.rs
@@ -327,7 +327,7 @@ impl ItemSchema {
Self::Unknown(schema) => {
let info = crate::utils::AppInfo::new(schema);
if info.is_installed() {
- &format!("{schema}-symbolic")
+ return format!("{schema}-symbolic");
} else {
"dialog-password-symbolic"
}
--
2.45.1
+70
View File
@@ -0,0 +1,70 @@
{
lib,
fetchFromGitLab,
stdenv,
rustPlatform,
cargo,
rustc,
libadwaita,
meson,
ninja,
nix-update-script,
pkg-config,
python3,
wrapGAppsHook4,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "key-rack";
version = "0.4.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "sophie-h";
repo = "key-rack";
rev = finalAttrs.version;
hash = "sha256-mthXtTlyrIChaKKwKosTsV1hK9OQ/zLScjrq6D3CRsg=";
};
patches = [ ./0001-fix-E0716.patch ];
postPatch = ''
patchShebangs --build build-aux/{checks.sh,read-manifest.py}
'';
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) pname version src;
hash = "sha256-wCJTm0W+g3+O1t1fR4maqJoxpPM0NeJG7d54MMAH33c=";
};
nativeBuildInputs = [
cargo
rustc
meson
ninja
pkg-config
python3
rustPlatform.cargoSetupHook
wrapGAppsHook4
];
buildInputs = [ libadwaita ];
# Workaround for the gettext-sys issue
# https://github.com/Koka/gettext-rs/issues/114
env.NIX_CFLAGS_COMPILE = lib.optionalString (
stdenv.cc.isClang && lib.versionAtLeast stdenv.cc.version "16"
) "-Wno-error=incompatible-function-pointer-types";
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "View and edit your apps keys";
homepage = "https://gitlab.gnome.org/sophie-h/key-rack";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ getchoo ];
mainProgram = "key-rack";
platforms = lib.platforms.linux;
};
})
@@ -3,7 +3,7 @@
hwdata,
pkg-config,
lxc,
buildGo122Module,
buildGoModule,
fetchFromGitHub,
acl,
libcap,
@@ -16,7 +16,7 @@
nix-update-script,
}:
buildGo122Module rec {
buildGoModule rec {
pname = "lxd-unwrapped-lts";
# major/minor are used in updateScript to pin to LTS
version = "5.21.1";
+3 -3
View File
@@ -1,5 +1,5 @@
{ lib
, buildGo122Module
, buildGoModule
, fetchFromGitHub
, fetchpatch
, buildEnv
@@ -134,9 +134,9 @@ let
goBuild =
if enableCuda then
buildGo122Module.override { stdenv = overrideCC stdenv gcc12; }
buildGoModule.override { stdenv = overrideCC stdenv gcc12; }
else
buildGo122Module;
buildGoModule;
inherit (lib) licenses platforms maintainers;
in
goBuild ((lib.optionalAttrs enableRocm {
+2 -2
View File
@@ -1,8 +1,8 @@
{ lib, stdenv, buildGo122Module, fetchFromGitHub, installShellFiles, makeWrapper, pkg-config
{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles, makeWrapper, pkg-config
, withGui ? true, vte
}:
buildGo122Module rec {
buildGoModule rec {
pname = "orbiton";
version = "2.65.12";
+2 -2
View File
@@ -1,7 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, buildGo122Module
, buildGoModule
, cmake
, ncurses
, asio
@@ -15,7 +15,7 @@ let
rev = "4361d30f1c5145a70651c259f2d56369725b0d15";
hash = "sha256-0WxrgXTCM+BwGcjjWBBKiZawje2yxB5RRac6Sk5t3qc=";
};
goDeps = (buildGo122Module {
goDeps = (buildGoModule {
name = "pan-bindings-goDeps";
inherit src version;
modRoot = "go";
+2 -2
View File
@@ -20,7 +20,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "pragtical";
version = "3.4.0";
version = "3.4.1";
pluginManagerVersion = "1.2.9";
src = fetchFromGitHub {
@@ -44,7 +44,7 @@ stdenv.mkDerivation (finalAttrs: {
find subprojects -type d -name .git -prune -execdir rm -r {} +
'';
hash = "sha256-6feS9ougTlunkIr1WRUYieR4O8vHN1++VdfX5DreWFg=";
hash = "sha256-JlVNcNPsn4trO0w5NDtWvZhxgY2jXqVzFaXfjxGg6+s=";
};
nativeBuildInputs = [
+2 -2
View File
@@ -1,5 +1,5 @@
{ lib
, buildGo122Module
, buildGoModule
, copyDesktopItems
, fetchFromGitHub
, pkg-config
@@ -12,7 +12,7 @@
, vte-gtk4
}:
buildGo122Module rec {
buildGoModule rec {
pname = "seabird";
version = "0.3.2";
+2 -2
View File
@@ -1,10 +1,10 @@
{ lib
, buildGo122Module
, buildGoModule
, fetchFromGitHub
, openssl
}:
buildGo122Module rec {
buildGoModule rec {
pname = "ssh-tpm-agent";
version = "0.3.1";
+2 -2
View File
@@ -1,12 +1,12 @@
{
lib,
buildGo122Module,
buildGoModule,
fetchFromGitHub,
testers,
wakatime-cli,
}:
buildGo122Module rec {
buildGoModule rec {
pname = "wakatime-cli";
version = "1.93.0";
+95
View File
@@ -0,0 +1,95 @@
{
lib,
stdenv,
fetchFromGitHub,
makeWrapper,
nodejs,
pnpm_9,
autoPatchelfHook,
llvmPackages,
musl,
xorg,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wrangler";
version = "3.62.0";
src = fetchFromGitHub {
owner = "cloudflare";
repo = "workers-sdk";
rev = "wrangler@${finalAttrs.version}";
hash = "sha256-/4iIkvSn85fkRggmIha2kRlW0MEwvzy0ZAmIb8+LpZQ=";
};
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;
hash = "sha256-aTTaiGXm1WYwmy+ljUC9yO3qtvN20SA+24T83dWYrI0=";
};
buildInputs = [
llvmPackages.libcxx
llvmPackages.libunwind
musl
xorg.libX11
];
nativeBuildInputs = [
autoPatchelfHook
makeWrapper
nodejs
pnpm_9.configHook
];
# @cloudflare/vitest-pool-workers wanted to run a server as part of the build process
# so I simply removed it
postBuild = ''
rm -fr packages/vitest-pool-workers
NODE_ENV="production" pnpm --filter miniflare run build
NODE_ENV="production" pnpm --filter wrangler run build
'';
# I'm sure this is suboptimal but it seems to work. Points:
# - when build is run in the original repo, no specific executable seems to be generated; you run the resulting build with pnpm run start
# - this means we need to add a dedicated script - perhaps it is possible to create this from the workers-sdk dir, but I don't know how to do this
# - the build process builds a version of miniflare which is used by wrangler; for this reason, the miniflare package is copied also
# - pnpm stores all content in the top-level node_modules directory, but it is linked to from a node_modules directory inside wrangler
# - as they are linked via symlinks, the relative location of them on the filesystem should be maintained
installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/lib $out/lib/packages/wrangler
rm -rf node_modules/typescript node_modules/eslint node_modules/prettier node_modules/bin node_modules/.bin node_modules/**/bin node_modules/**/.bin
cp -r node_modules $out/lib
cp -r packages/miniflare $out/lib/packages
cp -r packages/workers-tsconfig $out/lib/packages
cp -r packages/wrangler/node_modules $out/lib/packages/wrangler
cp -r packages/wrangler/templates $out/lib/packages/wrangler
cp -r packages/wrangler/wrangler-dist $out/lib/packages/wrangler
rm -rf $out/lib/**/bin $out/lib/**/.bin
cp -r packages/wrangler/bin $out/lib/packages/wrangler
NODE_PATH_ARRAY=( "$out/lib/node_modules" "$out/lib/packages/wrangler/node_modules" )
makeWrapper ${lib.getExe nodejs} $out/bin/wrangler \
--inherit-argv0 \
--prefix-each NODE_PATH : "$${NODE_PATH_ARRAY[@]}" \
--add-flags $out/lib/packages/wrangler/bin/wrangler.js
runHook postInstall
'';
meta = {
description = "Command-line interface for all things Cloudflare Workers";
homepage = "https://github.com/cloudflare/workers-sdk#readme";
license = with lib.licenses; [
mit
apsl20
];
maintainers = with lib.maintainers; [
seanrmurphy
dezren39
];
mainProgram = "wrangler";
# cpp is required for building workerd.
# workerd is used for some wrangler subcommands.
# non-linux platforms may experience errors
# on certain subcommands due to this issue.
platforms = [ "x86_64-linux" ];
};
})
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "jasmin-compiler";
version = "2023.06.4";
version = "2024.07.0";
src = fetchurl {
url = "https://github.com/jasmin-lang/jasmin/releases/download/v${version}/jasmin-compiler-v${version}.tar.bz2";
hash = "sha256-b1lrVbXJQeg+7tI7JcR9JTuiel/b/mctU1caT/y/4SA=";
hash = "sha256-jE1LSL/fW7RKE5GeVzYtw4aFxtzTiz7IasD5YwDm4HE=";
};
sourceRoot = "jasmin-compiler-v${version}/compiler";
@@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
mpfr
ppl
] ++ (with ocamlPackages; [
angstrom
apron
yojson
]);
+2 -2
View File
@@ -1,6 +1,6 @@
{ mkDerivation }:
mkDerivation {
version = "25.3.2.12";
sha256 = "sha256-ZqyJtKr0QdzuuzKnJ/S6Z4cGLWolVMVWcMuAHyOGzkQ=";
version = "25.3.2.13";
sha256 = "sha256-ZBk6oOT0vFY66ttyn4G2zy7Ur5bDKkxPzlTsZPaiosc=";
}
+2 -2
View File
@@ -1,6 +1,6 @@
{ mkDerivation }:
mkDerivation {
version = "26.2.5";
sha256 = "sha256-tUAvzkTE51gT4kS7voEZZpsMKVyBQR+wgk6mI0s1Vac=";
version = "26.2.5.1";
sha256 = "sha256-oxOynBFW++igiJtIv1ZjoMgtmumgnsWgwyVx4buhxCo=";
}
+2 -2
View File
@@ -1,6 +1,6 @@
{ mkDerivation }:
mkDerivation {
version = "27.0";
sha256 = "sha256-YZWBLcpkm8B4sjoQO7I9ywXcmxXL+Dvq/JYsLsr7TO0=";
version = "27.0.1";
sha256 = "sha256-Lp6J9eq6RXDi0RRjeVO/CIa4h/m7/fwOp/y0u0sTdFQ=";
}
@@ -122,20 +122,10 @@ stdenv.mkDerivation ({
'';
# For OTP 27+ we need ex_doc to build the documentation
# When exdocSupport is enabled, grab the raw ex_doc executable from the exdoc
# derivation. Next, patch the first line to use the escript that will be
# built during the build phase of this derivation. Finally, building the
# documentation requires the erlang-logo.png asset.
preConfigure = ''
./otp_build autoconf
'' + optionalString exdocSupport ''
mkdir -p $out/bin
cp ${exdoc}/bin/.ex_doc-wrapped $out/bin/ex_doc
sed -i "1 s:^.*$:#!$out/bin/escript:" $out/bin/ex_doc
export EX_DOC=$out/bin/ex_doc
mkdir -p $out/lib/erlang/system/doc/assets
cp $src/system/doc/assets/erlang-logo.png $out/lib/erlang/system/doc/assets
export EX_DOC=${exdoc}/bin/.ex_doc-wrapped
'';
configureFlags = [ "--with-ssl=${lib.getOutput "out" opensslPackage}" ]
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
pname = "apache-activemq";
version = "5.18.3";
version = "6.1.2";
src = fetchurl {
sha256 = "sha256-lDOBqm00BwfebELq2/e0G3/fk99gQVbZctUMTaeDVE8=";
sha256 = "sha256-EJZWrGvXICxp+eDzrX5BPnl/ZuUMO7utKgaS2c4IBQ0=";
url = "mirror://apache/activemq/${version}/${pname}-${version}-bin.tar.gz";
};
@@ -185,6 +185,7 @@ mapAliases {
vue-cli = self."@vue/cli"; # added 2023-08-18
vue-language-server = self.vls; # added 2023-08-20
inherit (pkgs) web-ext; # added 2023-08-20
inherit (pkgs) wrangler; # added 2024-07-01
inherit (pkgs) write-good; # added 2023-08-20
inherit (pkgs) yaml-language-server; # added 2023-09-05
inherit (pkgs) yo; # added 2023-08-20
@@ -259,7 +259,6 @@
, "webpack-dev-server"
, "copy-webpack-plugin"
, "webtorrent-cli"
, "wrangler"
, "wring"
, "@yaegassy/coc-nginx"
, "yalc"
-132
View File
@@ -57393,15 +57393,6 @@ let
sha512 = "rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==";
};
};
"workerd-1.20240610.1" = {
name = "workerd";
packageName = "workerd";
version = "1.20240610.1";
src = fetchurl {
url = "https://registry.npmjs.org/workerd/-/workerd-1.20240610.1.tgz";
sha512 = "Rtut5GrsODQMh6YU43b9WZ980Wd05Ov1/ds88pT/SoetmXFBvkBzdRfiHiATv+azmGX8KveE0i/Eqzk/yI01ug==";
};
};
"workerpool-6.2.1" = {
name = "workerpool";
packageName = "workerpool";
@@ -92403,129 +92394,6 @@ in
bypassCache = true;
reconstructLock = true;
};
wrangler = nodeEnv.buildNodePackage {
name = "wrangler";
packageName = "wrangler";
version = "3.60.3";
src = fetchurl {
url = "https://registry.npmjs.org/wrangler/-/wrangler-3.60.3.tgz";
sha512 = "a6zn/KFnYaYp3nxJR/aP0TeaBvJDkrrfI89KoxUtx28H7zpya/5/VLu3CxQ3PRspEojJGF0s6f3/pddRy3F+BQ==";
};
dependencies = [
sources."@cloudflare/kv-asset-handler-0.3.2"
sources."@cloudflare/workers-types-4.20240605.0"
sources."@cspotcode/source-map-support-0.8.1"
sources."@esbuild-plugins/node-globals-polyfill-0.2.3"
sources."@esbuild-plugins/node-modules-polyfill-0.2.2"
sources."@esbuild/android-arm-0.17.19"
sources."@esbuild/android-arm64-0.17.19"
sources."@esbuild/android-x64-0.17.19"
sources."@esbuild/darwin-arm64-0.17.19"
sources."@esbuild/darwin-x64-0.17.19"
sources."@esbuild/freebsd-arm64-0.17.19"
sources."@esbuild/freebsd-x64-0.17.19"
sources."@esbuild/linux-arm-0.17.19"
sources."@esbuild/linux-arm64-0.17.19"
sources."@esbuild/linux-ia32-0.17.19"
sources."@esbuild/linux-loong64-0.17.19"
sources."@esbuild/linux-mips64el-0.17.19"
sources."@esbuild/linux-ppc64-0.17.19"
sources."@esbuild/linux-riscv64-0.17.19"
sources."@esbuild/linux-s390x-0.17.19"
sources."@esbuild/linux-x64-0.17.19"
sources."@esbuild/netbsd-x64-0.17.19"
sources."@esbuild/openbsd-x64-0.17.19"
sources."@esbuild/sunos-x64-0.17.19"
sources."@esbuild/win32-arm64-0.17.19"
sources."@esbuild/win32-ia32-0.17.19"
sources."@esbuild/win32-x64-0.17.19"
sources."@fastify/busboy-2.1.1"
sources."@jridgewell/resolve-uri-3.1.2"
sources."@jridgewell/sourcemap-codec-1.4.15"
sources."@jridgewell/trace-mapping-0.3.9"
sources."@types/node-20.14.2"
sources."@types/node-forge-1.3.11"
sources."acorn-8.12.0"
sources."acorn-walk-8.3.3"
sources."anymatch-3.1.3"
sources."as-table-1.0.55"
sources."binary-extensions-2.3.0"
sources."blake3-wasm-2.1.5"
sources."braces-3.0.3"
sources."bufferutil-4.0.8"
sources."capnp-ts-0.7.0"
sources."chokidar-3.6.0"
sources."consola-3.2.3"
sources."cookie-0.5.0"
sources."data-uri-to-buffer-2.0.2"
sources."debug-4.3.5"
sources."defu-6.1.4"
sources."esbuild-0.17.19"
sources."escape-string-regexp-4.0.0"
sources."estree-walker-0.6.1"
sources."exit-hook-2.2.1"
sources."fill-range-7.1.1"
sources."fsevents-2.3.3"
sources."function-bind-1.1.2"
sources."get-source-2.0.12"
sources."glob-parent-5.1.2"
sources."glob-to-regexp-0.4.1"
sources."hasown-2.0.2"
sources."is-binary-path-2.1.0"
sources."is-core-module-2.13.1"
sources."is-extglob-2.1.1"
sources."is-glob-4.0.3"
sources."is-number-7.0.0"
sources."magic-string-0.25.9"
sources."mime-3.0.0"
sources."miniflare-3.20240610.0"
sources."ms-2.1.2"
sources."mustache-4.2.0"
sources."nanoid-3.3.7"
sources."node-fetch-native-1.6.4"
sources."node-forge-1.3.1"
sources."node-gyp-build-4.8.1"
sources."normalize-path-3.0.0"
sources."path-parse-1.0.7"
sources."path-to-regexp-6.2.2"
sources."pathe-1.1.2"
sources."picomatch-2.3.1"
sources."printable-characters-1.0.42"
sources."readdirp-3.6.0"
sources."resolve-1.22.8"
sources."resolve.exports-2.0.2"
sources."rollup-plugin-inject-3.0.2"
sources."rollup-plugin-node-polyfills-0.2.1"
sources."rollup-pluginutils-2.8.2"
sources."selfsigned-2.4.1"
sources."source-map-0.6.1"
sources."sourcemap-codec-1.4.8"
sources."stacktracey-2.1.8"
sources."stoppable-1.1.0"
sources."supports-preserve-symlinks-flag-1.0.0"
sources."to-regex-range-5.0.1"
sources."tslib-2.6.3"
sources."ufo-1.5.3"
sources."undici-5.28.4"
sources."undici-types-5.26.5"
sources."unenv-1.10.0-1717606461.a117952"
sources."utf-8-validate-6.0.4"
sources."workerd-1.20240610.1"
sources."ws-8.17.0"
sources."xxhash-wasm-1.0.2"
sources."youch-3.3.3"
sources."zod-3.23.8"
];
buildInputs = globalBuildInputs;
meta = {
description = "Command-line interface for all things Cloudflare Workers";
homepage = "https://github.com/cloudflare/workers-sdk#readme";
license = "MIT OR Apache-2.0";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
wring = nodeEnv.buildNodePackage {
name = "wring";
packageName = "wring";
@@ -428,63 +428,4 @@ final: prev: {
webtorrent-cli = prev.webtorrent-cli.override {
buildInputs = [ final.node-gyp-build ];
};
wrangler = prev.wrangler.override (oldAttrs:
let
workerdVersion = (lib.findFirst (dep: dep.name == "workerd") null oldAttrs.dependencies).version;
linuxWorkerd = {
name = "_at_cloudflare_slash_workerd-linux-64";
packageName = "@cloudflare/workerd-linux-64";
# Should be same version as workerd
version = workerdVersion;
src = fetchurl {
url = "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-${workerdVersion}.tgz";
sha512 = "sha512-E8mj+HPBryKwaJAiNsYzXtVjKCL0KvUBZbtxJxlWM4mLSQhT+uwGT3nydb/hFY59rZnQgZslw0oqEWht5TEYiQ==";
};
};
linuxWorkerdArm = {
name = "_at_cloudflare_slash_workerd-linux-arm64";
packageName = "@cloudflare/workerd-linux-arm64";
# Should be same version as workerd
version = workerdVersion;
src = fetchurl {
url = "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-${workerdVersion}.tgz";
sha512 = "sha512-/Fr1W671t2triNCDCBWdStxngnbUfZunZ/2e4kaMLzJDJLYDtYdmvOUCBDzUD4ssqmIMbn9RCQQ0U+CLEoqBqw==";
};
};
darwinWorkerd = {
name = "_at_cloudflare_slash_workerd-darwin-64";
packageName = "@cloudflare/workerd-darwin-64";
# Should be same version as workerd
version = workerdVersion;
src = fetchurl {
url = "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-${workerdVersion}.tgz";
sha512 = "sha512-ATaXjefbTsrv4mpn4Fdua114RRDXcX5Ky+Mv+f4JTUllgalmqC4CYMN4jxRz9IpJU/fNMN8IEfvUyuJBAcl9Iw==";
};
};
darwinWorkerdArm = {
name = "_at_cloudflare_slash_workerd-darwin-arm64";
packageName = "@cloudflare/workerd-darwin-arm64";
# Should be same version as workerd
version = workerdVersion;
src = fetchurl {
url = "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-${workerdVersion}.tgz";
sha512 = "sha512-wnbsZI4CS0QPCd+wnBHQ40C28A/2Qo4ESi1YhE2735G3UNcc876MWksZhsubd+XH0XPIra6eNFqyw6wRMpQOXA==";
};
};
in
{
meta = oldAttrs.meta // { broken = before "16.13"; };
buildInputs = [ pkgs.llvmPackages.libcxx pkgs.llvmPackages.libunwind ] ++ lib.optional stdenv.isLinux pkgs.autoPatchelfHook;
preFixup = ''
# patch elf is trying to patch binary for sunos
rm -r $out/lib/node_modules/wrangler/node_modules/@esbuild/sunos-x64
'';
dependencies = oldAttrs.dependencies
++ lib.optional (stdenv.isLinux && stdenv.isx86_64) linuxWorkerd
++ lib.optional (stdenv.isLinux && stdenv.isAarch64) linuxWorkerdArm
++ lib.optional (stdenv.isDarwin && stdenv.isx86_64) darwinWorkerd
++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) darwinWorkerdArm;
});
}
@@ -6,16 +6,16 @@
php.buildComposerProject (finalAttrs: {
pname = "phpstan";
version = "1.11.6";
version = "1.11.7";
src = fetchFromGitHub {
owner = "phpstan";
repo = "phpstan-src";
rev = finalAttrs.version;
hash = "sha256-WQnzw/Tjc6viReO45nkMCL1a2eooWZSB77pY3lm+6wA=";
hash = "sha256-BJPFZv2CifSH35pP8Z4ahklojxR7DQiNqKc+jpdzty8=";
};
vendorHash = "sha256-KkPeFTn2j9M0CcFpj9goecJEPBYcOoU1vkbvyaj2M94=";
vendorHash = "sha256-UcK7525anAn61y8MCy0RiJlWxOYgs1CMm1+rDk2occI=";
composerStrictValidation = false;
meta = {
@@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "gekko";
version = "1.1.3";
version = "1.2.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-JN7CWOR7CcWzmKDNlUXm/6ilrTJ3vLa8h2TNnmALhfk=";
hash = "sha256-a3Iy61B3JddLeEilaa5Z0smQepjkfyNr4mOCEx+1LlM=";
};
build-system = [ setuptools ];
@@ -20,14 +20,14 @@
buildPythonPackage rec {
pname = "google-cloud-asset";
version = "3.26.1";
version = "3.26.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-5O3ge5/ot0zQoLKKPP6E7M2RVtDxnYfe2J0iYJISWX4=";
hash = "sha256-DCFDVdtuXwY7hphChHSzCTc8hw8MEohX67SRGOaRQ6A=";
};
build-system = [ setuptools ];
@@ -16,14 +16,14 @@
buildPythonPackage rec {
pname = "google-cloud-datacatalog";
version = "3.19.0";
version = "3.19.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Oo0O94fw7dRwPn4nyRobX4W9vgTWFgkTLsdyaffVJpI=";
hash = "sha256-BqD8VvOHrJw42atKxRyaWxaA1afzTlo52LPkuEk7+8E=";
};
build-system = [ setuptools ];
@@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "google-cloud-language";
version = "2.13.3";
version = "2.13.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Vp01Jgr5Bt4luOKna2Nk4FgJuEU6/Ynac41KT8uQhG8=";
hash = "sha256-j8ZgMxoTxkDbdqSLrBP56AIBJjGvm63TViaep/Z3xZI=";
};
nativeBuildInputs = [ setuptools ];
@@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "google-cloud-resource-manager";
version = "1.12.3";
version = "1.12.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-gJhRgkEZg05PIxCyxPOGIcHRayuxTVufEy5px501Xn8=";
hash = "sha256-PtqRSpJekkZe+A+qq34PepMS1IbdThI9LHbgS6xoj/A=";
};
nativeBuildInputs = [ setuptools ];
@@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "google-cloud-speech";
version = "2.26.0";
version = "2.26.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-0xVqeElq6s/0A0KUCKGxPv6ZbabwVEolVnkErYAWcdU=";
hash = "sha256-EqzrAuNMFO1J7qMQKufndt/Yciur3RRm3k2w3owfkak=";
};
nativeBuildInputs = [ setuptools ];
@@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "google-cloud-texttospeech";
version = "2.16.3";
version = "2.16.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-+rwxUDLRN9oHELtMJoc00zYhLY+oMWsjsnfdOoTOchw=";
hash = "sha256-B7fioSbikhnSAk3WnkDLMf8IBb2uSVfcukUsatSGJAU=";
};
nativeBuildInputs = [ setuptools ];
@@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "google-cloud-trace";
version = "1.13.3";
version = "1.13.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-NqwuM94NsBf/0vY9jWTct1vpETzPpN5JYvRzfv1srIA=";
hash = "sha256-wCO8ySoD2iAsA0ydtQki65yw1qteAHn1EUFLFhV0qdQ=";
};
nativeBuildInputs = [ setuptools ];
@@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "google-cloud-videointelligence";
version = "2.13.3";
version = "2.13.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-FGByHYEgZhxHfAGvDt09sDhFhX9SFGpKOfFrSs+zb20=";
hash = "sha256-bwKYqNnttZCXte51PeXdcfN6kmbJpMXq4/tNDSQLEMA=";
};
nativeBuildInputs = [ setuptools ];
@@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "google-cloud-websecurityscanner";
version = "1.14.3";
version = "1.14.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Wp88cJqlAaAkaemHzkgKuhU4v4dFpgn5Sf+uqGKTeWQ=";
hash = "sha256-JqI7ELEfq8MUEdk5PI94YZHUc0Hyf3V1qb1ORXPBUz4=";
};
nativeBuildInputs = [ setuptools ];
@@ -0,0 +1,652 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "android-tzdata"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
[[package]]
name = "android_system_properties"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
dependencies = [
"libc",
]
[[package]]
name = "ansi_term"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
dependencies = [
"winapi",
]
[[package]]
name = "atty"
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
dependencies = [
"hermit-abi",
"libc",
"winapi",
]
[[package]]
name = "autocfg"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
[[package]]
name = "bitflags"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "bumpalo"
version = "3.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
[[package]]
name = "cc"
version = "1.0.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "74b6a57f98764a267ff415d50a25e6e166f3831a5071af4995296ea97d210490"
[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "chrono"
version = "0.4.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
dependencies = [
"android-tzdata",
"iana-time-zone",
"js-sys",
"num-traits",
"wasm-bindgen",
"windows-targets",
]
[[package]]
name = "clap"
version = "2.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
dependencies = [
"ansi_term",
"atty",
"bitflags",
"strsim",
"textwrap",
"unicode-width",
"vec_map",
]
[[package]]
name = "cli"
version = "0.1.0"
dependencies = [
"clap",
"network_partitions",
"rand",
"rand_xorshift",
]
[[package]]
name = "core-foundation-sys"
version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
[[package]]
name = "getrandom"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
dependencies = [
"cfg-if",
"libc",
"wasi",
]
[[package]]
name = "graspologic_native"
version = "1.2.1"
dependencies = [
"chrono",
"network_partitions",
"pyo3",
"rand",
"rand_xorshift",
]
[[package]]
name = "hermit-abi"
version = "0.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
dependencies = [
"libc",
]
[[package]]
name = "iana-time-zone"
version = "0.1.60"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
dependencies = [
"android_system_properties",
"core-foundation-sys",
"iana-time-zone-haiku",
"js-sys",
"wasm-bindgen",
"windows-core",
]
[[package]]
name = "iana-time-zone-haiku"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
dependencies = [
"cc",
]
[[package]]
name = "indoc"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "47741a8bc60fb26eb8d6e0238bbb26d8575ff623fdc97b1a2c00c050b9684ed8"
dependencies = [
"indoc-impl",
"proc-macro-hack",
]
[[package]]
name = "indoc-impl"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce046d161f000fffde5f432a0d034d0341dc152643b2598ed5bfce44c4f3a8f0"
dependencies = [
"proc-macro-hack",
"proc-macro2",
"quote",
"syn 1.0.109",
"unindent",
]
[[package]]
name = "instant"
version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222"
dependencies = [
"cfg-if",
]
[[package]]
name = "js-sys"
version = "0.3.69"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d"
dependencies = [
"wasm-bindgen",
]
[[package]]
name = "libc"
version = "0.2.155"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
[[package]]
name = "lock_api"
version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
dependencies = [
"autocfg",
"scopeguard",
]
[[package]]
name = "log"
version = "0.4.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
[[package]]
name = "network_partitions"
version = "0.1.0"
dependencies = [
"chrono",
"rand",
"rand_xorshift",
]
[[package]]
name = "num-traits"
version = "0.2.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
dependencies = [
"autocfg",
]
[[package]]
name = "once_cell"
version = "1.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
[[package]]
name = "parking_lot"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
dependencies = [
"instant",
"lock_api",
"parking_lot_core",
]
[[package]]
name = "parking_lot_core"
version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
dependencies = [
"cfg-if",
"instant",
"libc",
"redox_syscall",
"smallvec",
"winapi",
]
[[package]]
name = "paste"
version = "0.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880"
dependencies = [
"paste-impl",
"proc-macro-hack",
]
[[package]]
name = "paste-impl"
version = "0.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6"
dependencies = [
"proc-macro-hack",
]
[[package]]
name = "ppv-lite86"
version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
[[package]]
name = "proc-macro-hack"
version = "0.5.20+deprecated"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068"
[[package]]
name = "proc-macro2"
version = "1.0.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
dependencies = [
"unicode-ident",
]
[[package]]
name = "pyo3"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d41d50a7271e08c7c8a54cd24af5d62f73ee3a6f6a314215281ebdec421d5752"
dependencies = [
"cfg-if",
"indoc",
"libc",
"parking_lot",
"paste",
"pyo3-build-config",
"pyo3-macros",
"unindent",
]
[[package]]
name = "pyo3-build-config"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "779239fc40b8e18bc8416d3a37d280ca9b9fb04bda54b98037bb6748595c2410"
dependencies = [
"once_cell",
]
[[package]]
name = "pyo3-macros"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b247e8c664be87998d8628e86f282c25066165f1f8dda66100c48202fdb93a"
dependencies = [
"pyo3-macros-backend",
"quote",
"syn 1.0.109",
]
[[package]]
name = "pyo3-macros-backend"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a8c2812c412e00e641d99eeb79dd478317d981d938aa60325dfa7157b607095"
dependencies = [
"proc-macro2",
"pyo3-build-config",
"quote",
"syn 1.0.109",
]
[[package]]
name = "quote"
version = "1.0.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
dependencies = [
"proc-macro2",
]
[[package]]
name = "rand"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
"libc",
"rand_chacha",
"rand_core",
]
[[package]]
name = "rand_chacha"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [
"ppv-lite86",
"rand_core",
]
[[package]]
name = "rand_core"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
dependencies = [
"getrandom",
]
[[package]]
name = "rand_xorshift"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f"
dependencies = [
"rand_core",
]
[[package]]
name = "redox_syscall"
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
dependencies = [
"bitflags",
]
[[package]]
name = "scopeguard"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "smallvec"
version = "1.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
name = "strsim"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
[[package]]
name = "syn"
version = "1.0.109"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]
[[package]]
name = "syn"
version = "2.0.69"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "201fcda3845c23e8212cd466bfebf0bd20694490fc0356ae8e428e0824a915a6"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]
[[package]]
name = "textwrap"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
dependencies = [
"unicode-width",
]
[[package]]
name = "unicode-ident"
version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
[[package]]
name = "unicode-width"
version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
[[package]]
name = "unindent"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c"
[[package]]
name = "vec_map"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
[[package]]
name = "wasi"
version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]]
name = "wasm-bindgen"
version = "0.2.92"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8"
dependencies = [
"cfg-if",
"wasm-bindgen-macro",
]
[[package]]
name = "wasm-bindgen-backend"
version = "0.2.92"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da"
dependencies = [
"bumpalo",
"log",
"once_cell",
"proc-macro2",
"quote",
"syn 2.0.69",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-macro"
version = "0.2.92"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
]
[[package]]
name = "wasm-bindgen-macro-support"
version = "0.2.92"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.69",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-shared"
version = "0.2.92"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96"
[[package]]
name = "winapi"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
dependencies = [
"winapi-i686-pc-windows-gnu",
"winapi-x86_64-pc-windows-gnu",
]
[[package]]
name = "winapi-i686-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
[[package]]
name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "windows-core"
version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
dependencies = [
"windows-targets",
]
[[package]]
name = "windows-targets"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
dependencies = [
"windows_aarch64_gnullvm",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_gnullvm",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc",
]
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
[[package]]
name = "windows_aarch64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
[[package]]
name = "windows_i686_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
[[package]]
name = "windows_i686_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
[[package]]
name = "windows_i686_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
[[package]]
name = "windows_x86_64_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
[[package]]
name = "windows_x86_64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
@@ -0,0 +1,50 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
rustPlatform,
libiconv,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "graspologic-native";
version = "1.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "graspologic-org";
repo = "graspologic-native";
rev = "refs/tags/${version}";
hash = "sha256-fgiBUzYBerYX59uj+I0Yret94vA+FpQK+MckskCBqj4=";
};
cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; };
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
buildAndTestSubdir = "packages/pyo3";
nativeBuildInputs = [ rustPlatform.cargoSetupHook ];
buildInputs = [ libiconv ];
build-system = [ rustPlatform.maturinBuildHook ];
pythonImportsCheck = [ "graspologic_native" ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = ''
cd packages/pyo3
'';
meta = with lib; {
description = "Library of rust components to add additional capability to graspologic a python library for intelligently building networks and network embeddings, and for analyzing connected data";
homepage = "https://github.com/graspologic-org/graspologic-native";
license = licenses.mit;
maintainers = with maintainers; [ natsukium ];
};
}
@@ -1,18 +1,28 @@
{
lib,
stdenv,
buildPythonPackage,
isPy27,
fetchFromGitHub,
setuptools,
poetry-core,
poetry-dynamic-versioning,
pytestCheckHook,
pytest-cov,
testfixtures,
anytree,
beartype,
gensim,
graspologic-native,
hyppo,
joblib,
matplotlib,
networkx,
numpy,
pot,
scikit-learn,
scipy,
seaborn,
statsmodels,
typing-extensions,
umap-learn,
}:
buildPythonPackage rec {
@@ -20,30 +30,44 @@ buildPythonPackage rec {
version = "3.4.1";
pyproject = true;
disabled = isPy27;
src = fetchFromGitHub {
owner = "microsoft";
owner = "graspologic-org";
repo = "graspologic";
rev = "refs/tags/v${version}";
hash = "sha256-taX/4/uCQXW7yFykVHY78hJIGThEIycHwrEOZ3h1LPY=";
};
nativeBuildInputs = [ setuptools ];
build-system = [
poetry-core
poetry-dynamic-versioning
];
propagatedBuildInputs = [
pythonRelaxDeps = [ "scipy" ];
dependencies = [
anytree
beartype
gensim
graspologic-native
hyppo
joblib
matplotlib
networkx
numpy
pot
scikit-learn
scipy
seaborn
statsmodels
typing-extensions
umap-learn
];
env.NUMBA_CACHE_DIR = "$TMPDIR";
nativeCheckInputs = [
pytestCheckHook
pytest-cov
testfixtures
];
pytestFlagsArray = [
"tests"
@@ -52,12 +76,16 @@ buildPythonPackage rec {
];
disabledTests = [ "gridplot_outputs" ];
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
# SIGABRT
"tests/test_plot.py"
"tests/test_plot_matrix.py"
];
meta = with lib; {
homepage = "https://graspologic.readthedocs.io";
homepage = "https://graspologic-org.github.io/graspologic";
description = "Package for graph statistical algorithms";
license = licenses.asl20; # changing to `licenses.mit` in next release
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
# graspologic-native is not available
broken = true;
};
}
@@ -90,7 +90,7 @@
}:
buildPythonPackage rec {
pname = "farm-haystack";
pname = "haystack-ai";
version = "2.2.3";
pyproject = true;
@@ -1,3 +0,0 @@
[Thumbnailer Entry]
Exec=@out@/bin/exe-thumbnailer -v -s %s %i %o
MimeType=application/x-ms-dos-executable;application/x-dosexec;application/x-msdownload
@@ -0,0 +1,48 @@
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
hatchling,
hatch-jupyter-builder,
hatch-nodejs-version,
jupyterlab,
ploomber-core,
}:
buildPythonPackage rec {
pname = "jupysql-plugin";
version = "0.4.4";
pyproject = true;
disabled = pythonOlder "3.6";
# using pypi archive which includes pre-built assets
src = fetchPypi {
pname = "jupysql_plugin";
inherit version;
hash = "sha256-kuaKknbc00nLGwCUsULgUFT52yoptUH2mnUyGYbYYKk=";
};
build-system = [
hatchling
hatch-jupyter-builder
hatch-nodejs-version
jupyterlab
];
dependencies = [ ploomber-core ];
# testing requires a circular dependency over jupysql
doCheck = false;
pythonImportsCheck = [ "jupysql_plugin" ];
meta = with lib; {
description = "Better SQL in Jupyter";
homepage = "https://github.com/ploomber/jupysql-plugin";
changelog = "https://github.com/ploomber/jupysql-plugin/blob/${version}/CHANGELOG.md";
license = licenses.bsd3;
maintainers = with maintainers; [ pacien ];
};
}
@@ -0,0 +1,111 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
prettytable,
sqlalchemy,
sqlparse,
ipython-genutils,
jinja2,
sqlglot,
jupysql-plugin,
ploomber-core,
ploomber-extension,
ipython,
duckdb,
duckdb-engine,
matplotlib,
polars,
ipywidgets,
numpy,
pandas,
js2py,
pyspark,
pyarrow,
grpcio,
pytestCheckHook,
psutil,
}:
buildPythonPackage rec {
pname = "jupysql";
version = "0.10.11";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ploomber";
repo = "jupysql";
rev = "refs/tags/${version}";
hash = "sha256-A9zTjH+9RYKcgy4mI6uOMHOc46om06y1zK3IbxeVcWE=";
};
pythonRelaxDeps = [ "sqlalchemy" ];
build-system = [ setuptools ];
dependencies = [
prettytable
sqlalchemy
sqlparse
ipython-genutils
jinja2
sqlglot
jupysql-plugin
ploomber-core
ploomber-extension
];
optional-dependencies.dev = [
ipython
duckdb
duckdb-engine
matplotlib
polars
ipywidgets
numpy
pandas
js2py
pyspark
pyarrow
grpcio
];
nativeCheckInputs = [
pytestCheckHook
psutil
] ++ optional-dependencies.dev;
disabledTestPaths = [
# require docker
"src/tests/integration"
# require network access
"src/tests/test_telemetry.py"
# want to download test data from the network
"src/tests/test_parse.py"
"src/tests/test_ggplot.py"
"src/tests/test_plot.py"
"src/tests/test_magic.py"
"src/tests/test_magic_plot.py"
];
preCheck = ''
# tests need to write temp data
export HOME=$(mktemp -d)
'';
pythonImportsCheck = [ "sql" ];
meta = with lib; {
description = "Better SQL in Jupyter";
homepage = "https://github.com/ploomber/jupysql";
changelog = "https://github.com/ploomber/jupysql/blob/${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ pacien ];
};
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,119 @@
{
lib,
stdenv,
buildPythonPackage,
rustPlatform,
fetchFromGitHub,
darwin,
libiconv,
pkg-config,
protobuf,
attrs,
cachetools,
deprecation,
overrides,
packaging,
pydantic,
pylance,
requests,
retry,
tqdm,
aiohttp,
pandas,
polars,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "lancedb";
version = "0.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "lancedb";
repo = "lancedb";
rev = "refs/tags/python-v${version}";
hash = "sha256-RWmvqGm/Bekajb/fs/PQJ2fL0Vo1Mmy+x40PKaDmIEU=";
};
# ratelimiter only support up to python310 and it has been removed from nixpkgs
patches = [ ./remove-ratelimiter.patch ];
buildAndTestSubdir = "python";
cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; };
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
build-system = [ rustPlatform.maturinBuildHook ];
nativeBuildInputs = [
pkg-config
rustPlatform.cargoSetupHook
];
buildInputs =
[
libiconv
protobuf
]
++ lib.optionals stdenv.isDarwin (
with darwin.apple_sdk.frameworks;
[
IOKit
Security
SystemConfiguration
]
);
pythonRemoveDeps = [ "ratelimiter" ];
dependencies = [
attrs
cachetools
deprecation
overrides
packaging
pydantic
pylance
requests
retry
tqdm
];
pythonImportsCheck = [ "lancedb" ];
nativeCheckInputs = [
aiohttp
pandas
polars
pytest-asyncio
pytestCheckHook
];
preCheck = ''
cd python/python/tests
'';
pytestFlagsArray = [ "-m 'not slow'" ];
disabledTests = [
# require tantivy which is not packaged in nixpkgs
"test_basic"
];
disabledTestPaths = [
# touch the network
"test_s3.py"
];
meta = {
description = "Developer-friendly, serverless vector database for AI applications";
homepage = "https://github.com/lancedb/lancedb";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ natsukium ];
};
}
@@ -0,0 +1,26 @@
diff --git a/python/python/lancedb/embeddings/utils.py b/python/python/lancedb/embeddings/utils.py
index 813631c..4ae6025 100644
--- a/python/python/lancedb/embeddings/utils.py
+++ b/python/python/lancedb/embeddings/utils.py
@@ -111,7 +111,7 @@ class FunctionWrapper:
if len(self.rate_limiter_kwargs) > 0:
v = int(sys.version_info.minor)
- if v >= 11:
+ if True:
print(
"WARNING: rate limit only support up to 3.10, proceeding "
"without rate limiter"
diff --git a/python/python/tests/test_embeddings.py b/python/python/tests/test_embeddings.py
index ed7b105..28ca9cb 100644
--- a/python/python/tests/test_embeddings.py
+++ b/python/python/tests/test_embeddings.py
@@ -35,7 +35,7 @@ def mock_embed_func(input_data):
def test_with_embeddings():
for wrap_api in [True, False]:
- if wrap_api and sys.version_info.minor >= 11:
+ if wrap_api:
# ratelimiter package doesn't work on 3.11
continue
data = pa.Table.from_arrays(
@@ -0,0 +1,47 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
pip,
pythonAtLeast,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pip-chill";
version = "1.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "rbanffy";
repo = "pip-chill";
rev = "refs/tags/v${version}";
hash = "sha256-oWq3UWBL5nsCBUkaElashZKvm7pN3StJNubgU++8YFs=";
};
build-system = [ setuptools ];
dependencies = lib.optionals (pythonAtLeast "3.12") [ setuptools ];
nativeCheckInputs = [
pip
pytestCheckHook
];
preCheck = ''
substituteInPlace tests/test_pip_chill.py \
--replace-fail "pip_chill/cli.py" "${placeholder "out"}/bin/pip-chill"
'';
pythonImportsCheck = [ "pip_chill" ];
meta = {
description = "A more relaxed `pip freeze`";
homepage = "https://github.com/rbanffy/pip-chill";
changelog = "https://github.com/rbanffy/pip-chill/releases/tag/v${version}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ tochiaha ];
mainProgram = "pip-chill";
};
}
@@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
pyyaml,
posthog,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "ploomber-core";
version = "0.2.25";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ploomber";
repo = "core";
rev = "refs/tags/${version}";
hash = "sha256-QUEnWFhf42ppoXoz3H/2SHtoPZOi6lbopsrbmEAk+1U=";
};
build-system = [ setuptools ];
dependencies = [
pyyaml
posthog
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
"telemetry" # requires network
"exceptions" # requires stderr capture
];
pythonImportsCheck = [ "ploomber_core" ];
meta = with lib; {
description = "Core module shared across Ploomber projects";
homepage = "https://github.com/ploomber/core";
changelog = "https://github.com/ploomber/core/blob/${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ pacien ];
};
}
@@ -0,0 +1,51 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
hatchling,
hatch-jupyter-builder,
hatch-nodejs-version,
jupyterlab,
ploomber-core,
pytestCheckHook,
pytest-jupyter,
}:
buildPythonPackage rec {
pname = "ploomber-extension";
version = "0.1.1";
pyproject = true;
disabled = pythonOlder "3.6";
# using pypi archive which includes pre-built assets
src = fetchPypi {
pname = "ploomber_extension";
inherit version;
hash = "sha256-wsldqLhJfOESH9aMMzz1Y/FXofHyfgrl81O95NePXSA=";
};
build-system = [
hatchling
hatch-jupyter-builder
hatch-nodejs-version
jupyterlab
];
dependencies = [ ploomber-core ];
nativeCheckInputs = [
pytestCheckHook
pytest-jupyter
];
pythonImportsCheck = [ "ploomber_extension" ];
meta = with lib; {
description = "Ploomber extension";
homepage = "https://pypi.org/project/ploomber-extension";
license = licenses.bsd3;
maintainers = with maintainers; [ pacien ];
};
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,95 @@
{
lib,
stdenv,
buildPythonPackage,
rustPlatform,
fetchFromGitHub,
darwin,
libiconv,
pkg-config,
protobuf,
numpy,
pyarrow,
ml-dtypes,
pandas,
pillow,
polars,
pytestCheckHook,
tqdm,
}:
buildPythonPackage rec {
pname = "pylance";
version = "0.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "lancedb";
repo = "lance";
rev = "refs/tags/v${version}";
hash = "sha256-gwSpdj3i68QBrIcuvjj/32CsRKYVh9dSf98qNLDpxpc=";
};
sourceRoot = "${src.name}/python";
cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; };
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
nativeBuildInputs = [
pkg-config
rustPlatform.cargoSetupHook
];
build-system = [ rustPlatform.maturinBuildHook ];
buildInputs =
[
libiconv
protobuf
]
++ lib.optionals stdenv.isDarwin (
with darwin.apple_sdk.frameworks;
[
Security
SystemConfiguration
]
);
pythonRelaxDeps = [ "pyarrow" ];
dependencies = [
numpy
pyarrow
];
pythonImportsCheck = [ "lance" ];
nativeCheckInputs = [
ml-dtypes
pandas
pillow
polars
pytestCheckHook
tqdm
];
preCheck = ''
cd python/tests
'';
disabledTests = [
# Error during planning: Invalid function 'invert'.
"test_polar_scan"
"test_simple_predicates"
];
meta = {
description = "Python wrapper for Lance columnar format";
homepage = "https://github.com/lancedb/lance";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ natsukium ];
};
}
+1
View File
@@ -68,6 +68,7 @@
kio-fuse = self.callPackage ./misc/kio-fuse {};
ktextaddons = self.callPackage ./misc/ktextaddons {};
kunifiedpush = self.callPackage ./misc/kunifiedpush {};
kup = self.callPackage ./misc/kup {};
kweathercore = self.callPackage ./misc/kweathercore {};
marknote = self.callPackage ./misc/marknote {};
mpvqt = self.callPackage ./misc/mpvqt {};
+23
View File
@@ -0,0 +1,23 @@
{ lib
, mkKdeDerivation
, fetchFromGitLab
, libgit2
}:
mkKdeDerivation rec {
pname = "kup";
version = "0.10.0";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "system";
repo = "kup";
rev = "${pname}-${version}";
hash = "sha256-G/GXmcQI1OBnCE7saPHeHDAMeL2WR6nVttMlKV2e01I=";
};
extraBuildInputs = [ libgit2 ];
meta = with lib; {
license = licenses.gpl2Plus;
maintainers = [ maintainers.pwoelfel ];
};
}
+1 -1
View File
@@ -7,7 +7,7 @@ stdenv.mkDerivation {
src = fetchFromRepoOrCz {
repo = "cdimgtools";
rev = "version/0.3";
sha256 = "1hxg3glxj26fh9xnv184sfdc2wi4cnzvn7chz47wcqdsd0d5fn8w";
hash = "sha256-HFlXGmi6YcYP+ZAdu79lJHLBmtMEhW17gs4I2ekbr8M=";
};
nativeBuildInputs = [ autoreconfHook makeWrapper asciidoc perlPackages.PodPerldoc xmlto sourceHighlight docbook_xsl docbook_xml_dtd_45 ];
+2 -2
View File
@@ -6,13 +6,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "vtm";
version = "0.9.83";
version = "0.9.85";
src = fetchFromGitHub {
owner = "netxs-group";
repo = "vtm";
rev = "v${finalAttrs.version}";
hash = "sha256-sdzL5qTYcmMFqZmjsGS/nA7gMtUmzjUg8aiKva0v9dw=";
hash = "sha256-OB/JKByD7qKaLcYuOn5ivfvTe4DeARHfwEhXEx1pnrw=";
};
nativeBuildInputs = [
+18 -47
View File
@@ -850,9 +850,7 @@ with pkgs;
docker-slim = callPackage ../applications/virtualization/docker-slim { };
doc2go = callPackage ../development/tools/doc2go {
buildGoModule = buildGo122Module;
};
doc2go = callPackage ../development/tools/doc2go { };
docker-sync = callPackage ../tools/misc/docker-sync { };
@@ -2182,9 +2180,7 @@ with pkgs;
commitlint = nodePackages."@commitlint/cli";
conform = callPackage ../applications/version-management/conform {
buildGoModule = buildGo122Module;
};
conform = callPackage ../applications/version-management/conform { };
datalad = callPackage ../applications/version-management/datalad { };
@@ -6559,9 +6555,7 @@ with pkgs;
cicero-tui = callPackage ../tools/misc/cicero-tui { };
cilium-cli = callPackage ../applications/networking/cluster/cilium {
buildGoModule = buildGo122Module;
};
cilium-cli = callPackage ../applications/networking/cluster/cilium { };
cjdns = callPackage ../tools/networking/cjdns { };
cjdns-tools = callPackage ../tools/admin/cjdns-tools { };
@@ -7569,8 +7563,6 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
inherit (nodePackages) wrangler;
wrangler_1 = callPackage ../development/tools/wrangler_1 {
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Security;
};
@@ -14014,6 +14006,9 @@ with pkgs;
sssd = callPackage ../os-specific/linux/sssd {
inherit (perlPackages) Po4a;
# python312Packages.python-ldap is broken
# https://github.com/NixOS/nixpkgs/issues/326296
python3 = python311;
};
sentry-cli = callPackage ../development/tools/sentry-cli {
@@ -18601,9 +18596,7 @@ with pkgs;
gtranslator = callPackage ../tools/text/gtranslator { };
gtree = callPackage ../tools/text/gtree {
buildGoModule = buildGo122Module;
};
gtree = callPackage ../tools/text/gtree { };
guff = callPackage ../tools/graphics/guff { };
@@ -19463,9 +19456,7 @@ with pkgs;
terracognita = callPackage ../development/tools/misc/terracognita { };
terraform-lsp = callPackage ../development/tools/misc/terraform-lsp { };
terraform-ls = callPackage ../development/tools/misc/terraform-ls {
buildGoModule = buildGo122Module;
};
terraform-ls = callPackage ../development/tools/misc/terraform-ls { };
terraformer = callPackage ../development/tools/misc/terraformer { };
@@ -25443,9 +25434,7 @@ with pkgs;
grafana = callPackage ../servers/monitoring/grafana { };
grafanaPlugins = callPackages ../servers/monitoring/grafana/plugins { };
grafana-agent = callPackage ../servers/monitoring/grafana-agent {
buildGoModule = buildGo122Module;
};
grafana-agent = callPackage ../servers/monitoring/grafana-agent { };
grafana-loki = callPackage ../servers/monitoring/loki { };
promtail = callPackage ../servers/monitoring/loki/promtail.nix { };
@@ -25952,9 +25941,7 @@ with pkgs;
azuredatastudio = callPackage ../applications/misc/azuredatastudio { };
miniflux = callPackage ../servers/miniflux {
buildGoModule = buildGo122Module;
};
miniflux = callPackage ../servers/miniflux { };
inherit (callPackage ../servers/mir { })
mir
@@ -26346,9 +26333,7 @@ with pkgs;
systemd-journal2gelf = callPackage ../tools/system/systemd-journal2gelf { };
tailscale = callPackage ../servers/tailscale {
buildGoModule = buildGo122Module;
};
tailscale = callPackage ../servers/tailscale { };
tailscale-systray = callPackage ../applications/misc/tailscale-systray { };
@@ -27336,9 +27321,7 @@ with pkgs;
goverview = callPackage ../tools/security/goverview { };
go-tools = callPackage ../development/tools/go-tools {
buildGoModule = buildGo122Module;
};
go-tools = callPackage ../development/tools/go-tools { };
gotest = callPackage ../development/tools/gotest { };
@@ -28056,9 +28039,7 @@ with pkgs;
clearlooks-phenix = callPackage ../data/themes/clearlooks-phenix { };
cnspec = callPackage ../tools/security/cnspec {
buildGoModule = buildGo122Module;
};
cnspec = callPackage ../tools/security/cnspec { };
cnstrokeorder = callPackage ../data/fonts/cnstrokeorder { };
@@ -31745,10 +31726,7 @@ with pkgs;
buildGoModule = buildGo121Module;
go = go_1_21;
}) k3s_1_28 k3s_1_29;
inherit (callPackage ../applications/networking/cluster/k3s {
buildGoModule = buildGo122Module;
go = go_1_22;
}) k3s_1_30;
inherit (callPackage ../applications/networking/cluster/k3s { }) k3s_1_30;
k3s = k3s_1_30;
k3sup = callPackage ../applications/networking/cluster/k3sup { };
@@ -33758,10 +33736,7 @@ with pkgs;
buildGoModule = buildGo121Module;
go = go_1_21;
}) rke2_stable;
inherit (callPackage ../applications/networking/cluster/rke2 {
buildGoModule = buildGo122Module;
go = go_1_22;
}) rke2_latest rke2_testing;
inherit (callPackage ../applications/networking/cluster/rke2 { }) rke2_latest rke2_testing;
rke2 = rke2_stable;
rocketchat-desktop = callPackage ../applications/networking/instant-messengers/rocketchat-desktop { };
@@ -33907,9 +33882,7 @@ with pkgs;
siproxd = callPackage ../applications/networking/siproxd { };
sish = callPackage ../tools/networking/sish {
buildGoModule = buildGo122Module;
};
sish = callPackage ../tools/networking/sish { };
sky = libsForQt5.callPackage ../applications/networking/instant-messengers/sky {
libjpeg_turbo = libjpeg8;
@@ -35661,7 +35634,7 @@ with pkgs;
fulcrum = libsForQt5.callPackage ../applications/blockchains/fulcrum { };
go-ethereum = callPackage ../applications/blockchains/go-ethereum {
go-ethereum = callPackage ../by-name/go/go-ethereum/package.nix {
inherit (darwin) libobjc;
inherit (darwin.apple_sdk.frameworks) IOKit;
};
@@ -39756,9 +39729,7 @@ with pkgs;
ib-controller = callPackage ../applications/office/ib/controller { jdk=oraclejdk8; };
vcluster = callPackage ../applications/networking/cluster/vcluster {
buildGoModule = buildGo122Module;
};
vcluster = callPackage ../applications/networking/cluster/vcluster { };
sshportal = callPackage ../servers/sshportal { };
+1
View File
@@ -165,6 +165,7 @@ mapAliases ({
face_recognition_models = face-recognition-models; # added 2022-10-15
factory_boy = factory-boy; # added 2023-10-08
fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30
farm-haystack = throw "farm-haystack was removed in favor of haystack-ai"; # added 2024-07-03
faster-fifo = throw "faster-fifo has been removed since it was an unused leaf package"; # added 2024-07-02
fastnlo_toolkit = fastnlo-toolkit; # added 2024-01-03
fastpair = throw "fastpair is unmaintained upstream and has therefore been removed"; # added 2024-05-01
+26 -3
View File
@@ -4153,8 +4153,6 @@ self: super: with self; {
farama-notifications = callPackage ../development/python-modules/farama-notifications { };
farm-haystack = callPackage ../development/python-modules/farm-haystack { };
fastai = callPackage ../development/python-modules/fastai { };
fastapi = callPackage ../development/python-modules/fastapi { };
@@ -5221,6 +5219,8 @@ self: super: with self; {
graspologic = callPackage ../development/python-modules/graspologic { };
graspologic-native = callPackage ../development/python-modules/graspologic-native { };
greatfet = callPackage ../development/python-modules/greatfet { };
greeclimate = callPackage ../development/python-modules/greeclimate { };
@@ -5410,6 +5410,8 @@ self: super: with self; {
hawkauthlib = callPackage ../development/python-modules/hawkauthlib { };
haystack-ai = callPackage ../development/python-modules/haystack-ai { };
hcloud = callPackage ../development/python-modules/hcloud { };
hcs-utils = callPackage ../development/python-modules/hcs-utils { };
@@ -5755,7 +5757,9 @@ self: super: with self; {
idasen = callPackage ../development/python-modules/idasen { };
icoextract = callPackage ../development/python-modules/icoextract { };
icoextract = toPythonModule (pkgs.icoextract.override {
python3Packages = self;
});
icontract = callPackage ../development/python-modules/icontract { };
@@ -6327,6 +6331,10 @@ self: super: with self; {
junos-eznc = callPackage ../development/python-modules/junos-eznc { };
jupysql-plugin = callPackage ../development/python-modules/jupysql-plugin { };
jupysql = callPackage ../development/python-modules/jupysql { };
jupyter = callPackage ../development/python-modules/jupyter { };
jupyter-book = callPackage ../development/python-modules/jupyter-book { };
@@ -6585,6 +6593,8 @@ self: super: with self; {
lakeside = callPackage ../development/python-modules/lakeside { };
lancedb = callPackage ../development/python-modules/lancedb { };
langchain = callPackage ../development/python-modules/langchain { };
langchain-chroma = callPackage ../development/python-modules/langchain-chroma { };
@@ -10019,6 +10029,8 @@ self: super: with self; {
pip-api = callPackage ../development/python-modules/pip-api { };
pip-chill = callPackage ../development/python-modules/pip-chill { };
pip-tools = callPackage ../development/python-modules/pip-tools { };
pip-requirements-parser = callPackage ../development/python-modules/pip-requirements-parser { };
@@ -10081,6 +10093,11 @@ self: super: with self; {
py65 = callPackage ../development/python-modules/py65 { };
pyabpoa = toPythonModule (pkgs.abpoa.override {
enablePython = true;
python3Packages = self;
});
pyaehw4a1 = callPackage ../development/python-modules/pyaehw4a1 { };
pyatag = callPackage ../development/python-modules/pyatag { };
@@ -10150,6 +10167,8 @@ self: super: with self; {
pykrakenapi = callPackage ../development/python-modules/pykrakenapi { };
pylance = callPackage ../development/python-modules/pylance { };
pylddwrap = callPackage ../development/python-modules/pylddwrap { };
pyloadapi = callPackage ../development/python-modules/pyloadapi { };
@@ -10362,6 +10381,10 @@ self: super: with self; {
plone-testing = callPackage ../development/python-modules/plone-testing { };
ploomber-core = callPackage ../development/python-modules/ploomber-core { };
ploomber-extension = callPackage ../development/python-modules/ploomber-extension { };
plotext = callPackage ../development/python-modules/plotext { };
plotly = callPackage ../development/python-modules/plotly { };