Merge branch 'master' into staging-next

Conflicts:
- pkgs/development/python-modules/boto3-stubs/default.nix
- pkgs/development/python-modules/openllm-core/default.nix
  Between 0.4.22 → 0.4.34 (a82245bd3d)
  and 0.4.22 -> 0.4.41 (72c55ce6a6)
  Does not build, not pre-merge either.
This commit is contained in:
Jan Tojnar 2023-12-24 14:33:18 +01:00
commit 8fcbb0c6ed
53 changed files with 1056 additions and 237 deletions

View File

@ -23,13 +23,13 @@ with lib.strings;
let
version = "2.59.6";
version = "2.69.3";
src = fetchFromGitHub {
owner = "grame-cncm";
repo = "faust";
rev = version;
sha256 = "sha256-m6dimBxI9C3KDhUxbJAn2Pf9z+LRahjrzD34W/bf1XA=";
sha256 = "sha256-V2oDP17omIU9Waz5zrOyEHnWrVIfdDRM4KxHb01eyd8=";
fetchSubmodules = true;
};
@ -63,16 +63,6 @@ let
ncurses_static
];
patches = [
# make preset management thread safe
# needed for magnetophonDSP.VoiceOfFaust
# see: https://github.com/grame-cncm/faust/issues/899
(fetchpatch {
url = "https://github.com/grame-cncm/faust/commit/a1c3a515abbcafea0a6e4e2ec7ecb0f092de5349.patch";
hash = "sha256-1Ndm+CgxvGEbS6TKGggeu9hW7N3pC+d1kluT2vhGzL8=";
})
];
passthru = { inherit wrap wrapWithBuildEnv faust2ApplBase; };
preConfigure = ''

View File

@ -20,16 +20,16 @@
, duplicity
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "deja-dup";
version = "45.1";
version = "45.2";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "deja-dup";
rev = version;
hash = "sha256-2vNAppy8fYYcxH3ci4B6bUIl2sO5NC6yA13y9iU4V/A=";
rev = finalAttrs.version;
hash = "sha256-nscswpWX6UB1zuv6TXcT3YE1wkREJYDGQrEPryyUYUM=";
};
patches = [
@ -77,4 +77,4 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
mainProgram = "deja-dup";
};
}
})

View File

@ -34,14 +34,14 @@ https://github.com/NixOS/nixpkgs/issues/199596#issuecomment-1310136382 */
}:
stdenv.mkDerivation (finalAttrs: {
version = "1.4.9";
version = "1.4.11";
pname = "syncthingtray";
src = fetchFromGitHub {
owner = "Martchus";
repo = "syncthingtray";
rev = "v${finalAttrs.version}";
sha256 = "sha256-I9+q9GQ1QMbo7BdVG159iRYbDvRyfXmwBIW5AeJ3sC4=";
sha256 = "sha256-wzIIiVo6EmfQAyaIVsVsT4lfm0ThhGBgETV0036Pgvo=";
};
buildInputs = [

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "roxctl";
version = "4.2.1";
version = "4.3.1";
src = fetchFromGitHub {
owner = "stackrox";
repo = "stackrox";
rev = version;
sha256 = "sha256-6dj6thIjxoYdX4h7btK8bQcqfqbZ86E/rQOHkgIeaN4=";
sha256 = "sha256-Rr/ETsJJvch9qdqZnin6CiD7WWJXQAcc7TR+YCINk0Q=";
};
vendorHash = "sha256-SGhflDzTRix+kWgh9/0Rc5laQwGdEu+RawEDyHVI+3E=";
vendorHash = "sha256-Jzv4ozR8RJiwkgVGGq6dlV/7rbBLq8hFe/Pm4SJZCkU=";
nativeBuildInputs = [ installShellFiles ];

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "samtools";
version = "1.18";
version = "1.19";
src = fetchurl {
url = "https://github.com/samtools/samtools/releases/download/${version}/${pname}-${version}.tar.bz2";
sha256 = "sha256-1ob/piECO6YYIqKlC3DoXQsY55Nx3lrbB4KFGdP8BuE=";
sha256 = "sha256-+ms7GOIIUbbzy1WvrzIF0C/LedrjuEn89S6PwQ/wi4M=";
};
# tests require `bgzip` from the htslib package

View File

@ -18,15 +18,15 @@
rustPlatform.buildRustPackage rec {
pname = "stgit";
version = "2.4.0";
version = "2.4.1";
src = fetchFromGitHub {
owner = "stacked-git";
repo = "stgit";
rev = "v${version}";
hash = "sha256-+ipNSdEaz3nVBTYS+A4Fauan0DaKZR69No95FTS2/4o=";
hash = "sha256-5fMGWqvGbpRVAgarNO0zV8ID+X/RnguGHF927syCXGg=";
};
cargoHash = "sha256-G0g+53HWxhJfozMGByhmgnxws6P10FY9fAOleqhn+Mk=";
cargoHash = "sha256-U63r0tcxBTQMONHJp6WswqxTUH7uzw6a7Vc4Np1bATY=";
nativeBuildInputs = [
pkg-config installShellFiles makeWrapper asciidoc xmlto docbook_xsl

View File

@ -8,7 +8,7 @@ let
# compression type and filename extension.
compressorName = fullCommand: builtins.elemAt (builtins.match "([^ ]*/)?([^ ]+).*" fullCommand) 1;
in
{ stdenvNoCC, perl, cpio, ubootTools, lib, pkgsBuildHost, makeInitrdNGTool, binutils, runCommand
{ stdenvNoCC, libarchive, ubootTools, lib, pkgsBuildHost, makeInitrdNGTool, binutils, runCommand
# Name of the derivation (not of the resulting file!)
, name ? "initrd"
@ -74,18 +74,18 @@ in
passAsFile = ["contents"];
contents = lib.concatMapStringsSep "\n" ({ object, symlink, ... }: "${object}\n${lib.optionalString (symlink != null) symlink}") contents + "\n";
nativeBuildInputs = [makeInitrdNGTool cpio] ++ lib.optional makeUInitrd ubootTools ++ lib.optional strip binutils;
nativeBuildInputs = [makeInitrdNGTool libarchive] ++ lib.optional makeUInitrd ubootTools ++ lib.optional strip binutils;
STRIP = if strip then "${pkgsBuildHost.binutils.targetPrefix}strip" else null;
}) ''
mkdir -p ./root/var/empty
make-initrd-ng "$contentsPath" ./root
mkdir "$out"
(cd root && find * .[^.*] -exec touch -h -d '@1' '{}' +)
(cd root && find . -exec touch -h -d '@1' '{}' +)
for PREP in $prepend; do
cat $PREP >> $out/initrd
done
(cd root && find . -print0 | sort -z | cpio -o -H newc -R +0:+0 --reproducible --null | eval -- $compress >> "$out/initrd")
(cd root && find . -print0 | sort -z | bsdtar --uid 0 --gid 0 -cnf - -T - | bsdtar --null -cf - --format=newc @- | eval -- $compress >> "$out/initrd")
if [ -n "$makeUInitrd" ]; then
mkimage -A "$uInitrdArch" -O linux -T ramdisk -C "$uInitrdCompression" -d "$out/initrd" $out/initrd.img

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "go-camo";
version = "2.4.5";
version = "2.4.8";
src = fetchFromGitHub {
owner = "cactus";
repo = pname;
rev = "v${version}";
sha256 = "sha256-qELWl8kWQzgwQ8Mwp7MAxlYhHV6Us3kTuMjKVwJjZFs=";
sha256 = "sha256-Y2Zhr8MhIN13AYMq0t9QASfd2Mgp4tiFmrpc6VTIUq0=";
};
vendorHash = "sha256-PF7WqA3hdV+eFu++eoCo1m2m4o92vUtArH0uS+rjxGU=";
vendorHash = "sha256-O3JatOmQrNZRxKa9dTYQpVoPUIuFIbnEXpak3PXJquA=";
ldflags = [ "-s" "-w" "-X=main.ServerVersion=${version}" ];

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "invidtui";
version = "0.3.6";
version = "0.3.7";
src = fetchFromGitHub {
owner = "darkhz";
repo = "invidtui";
rev = "refs/tags/v${version}";
hash = "sha256-zUr0zrIJPpqhHvL7PFFN7cgcgBXV+WHO/eRes7+HzxM=";
hash = "sha256-bzstO6xaVdu7u1vBgwUjnJ9CEep0UHT73FbybBRd8y8=";
};
vendorHash = "sha256-cKvY3/3N3SESBVol7Af3M3mJaPwxLzd/rKN8P+qh7sY=";
vendorHash = "sha256-F0Iyy8H6ZRYiAlMdYGQS2p2hFN9ICmfTiRP/F9kpW7c=";
doCheck = true;

View File

@ -2,16 +2,16 @@
buildNpmPackage rec {
pname = "mystmd";
version = "1.1.36";
version = "1.1.37";
src = fetchFromGitHub {
owner = "executablebooks";
repo = "mystmd";
rev = "mystmd@${version}";
hash = "sha256-mmrNfE8d5yhWU7KsSBKuRpP59Ba6Q6pdkCN2AE+PEJE=";
hash = "sha256-P4+0oCXQGziYfVUxIZe3j25lO6ho/4BdtqxCv/TTGko=";
};
npmDepsHash = "sha256-5ns2mVD8YJvVMpMq9VeelAoGU0b9SLNIOdRAHXpnCDM=";
npmDepsHash = "sha256-ZA9kiMTn+m9Q0C3DBVMiUEq5bfRsXM1VX0qrIH2GAQo=";
dontNpmInstall = true;

View File

@ -0,0 +1,36 @@
{ fetchFromGitHub, buildGoModule, lib, go, makeWrapper }:
buildGoModule rec {
pname = "pushup";
version = "0.2";
src = fetchFromGitHub {
owner = "adhocteam";
repo = "pushup";
rev = "v${version}";
hash = "sha256-9ENXeVON2/Bt8oXnyVw+Vl0bPVPP7iFSyhxwc091ZIs=";
};
vendorHash = null;
subPackages = ".";
# Pushup doesn't need CGO so disable it.
CGO_ENABLED=0;
ldflags = [ "-s" "-w" ];
nativeBuildInputs = [ makeWrapper ];
# The Go compiler is a runtime dependency of Pushup.
allowGoReference = true;
postInstall = ''
wrapProgram $out/bin/${meta.mainProgram} --prefix PATH : ${
lib.makeBinPath [ go ]
}
'';
meta = with lib; {
description = "A web framework for Go";
homepage = "https://pushup.adhoc.dev/";
license = licenses.mit;
changelog = "https://github.com/adhocteam/pushup/blob/${src.rev}/CHANGELOG.md";
mainProgram = "pushup";
maintainers = with maintainers; [ paulsmith ];
};
}

View File

@ -6,12 +6,12 @@
python3.pkgs.buildPythonApplication rec {
pname = "signal-export";
version = "1.6.1";
version = "1.7.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-1efc8jclXE4PQ/K9q1GC0mGqYo5lXXOIYEzz3RDNBGA=";
sha256 = "sha256-OikD5z0Ota0w4PTdLU4cz0YO/bJHAlzy3nup06GtiS4=";
};
nativeBuildInputs = with python3.pkgs; [

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "smlfut";
version = "1.1.0";
version = "1.2.0";
src = fetchFromGitHub {
owner = "diku-dk";
repo = "smlfut";
rev = "v${version}";
hash = "sha256-Ta0nCVD8N1k88sCdN4RhcugBgkQE7NdclCUtubgS6HM=";
hash = "sha256-bPqvHExAoOCd6Z2/rfKd6kHeYxu/jNDz5qTklqJtlzI=";
};
enableParallelBuilding = true;

View File

@ -363,12 +363,12 @@
buildPythonPackage rec {
pname = "boto3-stubs";
version = "1.33.6";
version = "1.34.7";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-zYXWvhQ+KewN50aBojagg/IbW/sBBfCZ3hCbHOxxGAY=";
hash = "sha256-UalmhfyiPlJ7x9Ua3vVXGl0GIZoQ97zE4Ijm2aeSdI8=";
};
propagatedBuildInputs = [

View File

@ -29,7 +29,7 @@
buildPythonPackage rec {
pname = "datasette";
version = "0.64.5";
version = "0.64.6";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -38,7 +38,7 @@ buildPythonPackage rec {
owner = "simonw";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-cCzvltq3DFbfRp0gO8RQxGUwBtYJcJoeYHIz06FA7vM=";
hash = "sha256-chU0AFaVfkJMRwraX/Ky0e6/g3ZSZ2efNIJ15veqFmg=";
};
postPatch = ''

View File

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, django
, fetchFromGitHub
, markdown
, pillow
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "django-markdownx";
version = "4.0.7";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "neutronX";
repo = "django-markdownx";
rev = "refs/tags/v${version}";
hash = "sha256-FZPUlogVd3FMGeH1vfKHA3tXVps0ET+UCQJflpiV2lE=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
django
markdown
pillow
];
# tests only executeable in vagrant
doCheck = false;
pythonImportsCheck = [
"markdownx"
];
meta = with lib; {
description = "Comprehensive Markdown plugin built for Django";
homepage = "https://github.com/neutronX/django-markdownx/";
changelog = "https://github.com/neutronX/django-markdownx/releases/tag/v${version}";
license = licenses.bsd2;
maintainers = with maintainers; [ derdennisop ];
};
}

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "env-canada";
version = "0.6.0";
version = "0.6.1";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "michaeldavie";
repo = "env_canada";
rev = "refs/tags/v${version}";
hash = "sha256-YIU0fboXw2CHkAeC47pcXlZT2KPO0R1UolBVILlLoPg=";
hash = "sha256-6p4holWMAoaosmTL8AveRGuBS/MymC7usvK3I7CBEKQ=";
};
propagatedBuildInputs = [

View File

@ -1,14 +1,21 @@
{ lib
, stdenv
, buildPythonPackage
, callPackage
, fetchPypi
, hatchling
, pythonOlder
, appnope
, comm
, debugpy
, ipython
, jupyter-client
, jupyter-core
, matplotlib-inline
, nest-asyncio
, packaging
, psutil
, pyzmq
, tornado
, traitlets
}:
@ -36,12 +43,19 @@ buildPythonPackage rec {
propagatedBuildInputs = [
comm
debugpy
ipython
jupyter-client
jupyter-core
matplotlib-inline
nest-asyncio
packaging
psutil
pyzmq
tornado
traitlets
] ++ lib.optionals stdenv.isDarwin [
appnope
];
# check in passthru.tests.pytest to escape infinite recursion with ipyparallel

View File

@ -1,28 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
, entrypoints
, jupyter-core
, hatchling
, nest-asyncio
, python-dateutil
, pyzmq
, tornado
, traitlets
, isPyPy
, py
, pythonOlder
, importlib-metadata
}:
buildPythonPackage rec {
pname = "jupyter_client";
version = "8.3.1";
format = "pyproject";
pname = "jupyter-client";
version = "8.6.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-YClLLVuGk1bIk/V7God+plENYNRc9LOAV/FnLYVpmsk=";
pname = "jupyter_client";
inherit version;
hash = "sha256-BkIkS7g7R2SuYNB+AQ4V8OLSdexOkYqPe4D7vvPKYMc=";
};
nativeBuildInputs = [
@ -30,23 +27,26 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
entrypoints
jupyter-core
nest-asyncio
python-dateutil
pyzmq
tornado
traitlets
] ++ lib.optionals (pythonOlder "3.10") [
importlib-metadata
] ++ lib.optional isPyPy py;
];
pythonImportsCheck = [
"jupyter_client"
];
# Circular dependency with ipykernel
doCheck = false;
meta = {
description = "Jupyter protocol implementation and client libraries";
homepage = "https://jupyter.org/";
homepage = "https://github.com/jupyter/jupyter_client";
changelog = "https://github.com/jupyter/jupyter_client/blob/v${version}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};

View File

@ -5,29 +5,29 @@
, hatch-jupyter-builder
, hatch-nodejs-version
, hatchling
, pythonRelaxDepsHook
, jsonschema
, jupyter-events
, jupyter-server
, jupyter-server-fileid
, jupyter-ydoc
, jupyterlab
, ypy-websocket
, pytest-asyncio
, pycrdt-websocket
, pytest-jupyter
, pytestCheckHook
, websockets
}:
buildPythonPackage rec {
pname = "jupyter-collaboration";
version = "1.2.0";
format = "pyproject";
version = "2.0.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "jupyter_collaboration";
inherit version;
hash = "sha256-qhcCPAgHlBwt+Lt8NdDa+ZPhNNotCvNtz9WQx6OHvOc=";
hash = "sha256-7tIdCXcEXwdPgO5HxnjAlPGcgVZ2AtUKethYqxiplY8=";
};
postPatch = ''
@ -39,25 +39,21 @@ buildPythonPackage rec {
hatch-nodejs-version
hatchling
jupyterlab
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"ypy-websocket"
];
propagatedBuildInputs = [
jsonschema
jupyter-events
jupyter-server
jupyter-server-fileid
jupyter-ydoc
ypy-websocket
pycrdt-websocket
];
nativeCheckInputs = [
pytest-asyncio
pytest-jupyter
pytestCheckHook
websockets
];
pythonImportsCheck = [
@ -72,6 +68,8 @@ buildPythonPackage rec {
export HOME=$TEMP
'';
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "JupyterLab Extension enabling Real-Time Collaboration";
homepage = "https://github.com/jupyterlab/jupyter_collaboration";

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "jupyter-core";
version = "5.5.0";
version = "5.5.1";
disabled = pythonOlder "3.7";
pyproject = true;
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "jupyter";
repo = "jupyter_core";
rev = "refs/tags/v${version}";
hash = "sha256-GufCQUkR4283xMsyrbv5tDfJ8SeL35WBW5Aw2z6Ardc=";
hash = "sha256-X8yBh63JYIuIatLtJU0pOD8Oz/QpJShU0R2VGAgPAa4=";
};
patches = [

View File

@ -10,16 +10,18 @@
, pkgs-docker
, python-json-logger
, pythonOlder
, requests
, ruamel-yaml
, semver
, setuptools
, toml
, traitlets
}:
buildPythonPackage rec {
pname = "jupyter-repo2docker";
version = "2022.10.0";
format = "setuptools";
version = "2023.06.0";
pyproject = true;
disabled = pythonOlder "3.6";
@ -27,9 +29,13 @@ buildPythonPackage rec {
owner = "jupyterhub";
repo = "repo2docker";
rev = "refs/tags/${version}";
hash = "sha256-n1Yhl3QC1YqdsCl6pI5NjzTiSEs6NrGq9jwT0uyS/p0=";
hash = "sha256-egSQ8PXH9PxVpkZfaWfU2ZjRNW67x6FzIy+LQR5BdNE=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
chardet
docker
@ -39,6 +45,7 @@ buildPythonPackage rec {
jinja2
pkgs-docker
python-json-logger
requests
ruamel-yaml
semver
toml
@ -58,7 +65,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Turn code repositories into Jupyter enabled Docker Images";
homepage = "https://repo2docker.readthedocs.io/";
license = licenses.bsdOriginal;
changelog = "https://github.com/jupyterhub/repo2docker/blob/${src.rev}/docs/source/changelog.md";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}

View File

@ -44,6 +44,8 @@ buildPythonPackage rec {
export HOME=$TEMPDIR
'';
__darwinAllowLocalNetworking = true;
meta = {
changelog = "https://github.com/jupyter-server/jupyter_server_fileid/blob/${src.rev}/CHANGELOG.md";
description = "An extension that maintains file IDs for documents in a running Jupyter Server";

View File

@ -16,14 +16,14 @@
let self = buildPythonPackage rec {
pname = "jupyter-server-terminals";
version = "0.4.4";
format = "pyproject";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyter-server";
repo = "jupyter_server_terminals";
rev = "refs/tags/v${version}";
hash = "sha256-F1lpg4ASw3ImvhC8XA8Ya4qpcbGY6fg8PYJt8sJj4cs=";
hash = "sha256-RT4rBSSDuIr3d8+hmbiF7rMn94Yr7ekocWeXww0tKlA=";
};
nativeBuildInputs = [

View File

@ -1,9 +1,11 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, hatch-nodejs-version
, hatchling
, y-py
, importlib-metadata
, pycrdt
, pytestCheckHook
, websockets
, ypy-websocket
@ -11,14 +13,15 @@
buildPythonPackage rec {
pname = "jupyter-ydoc";
version = "1.1.1";
version = "2.0.0";
pyproject = true;
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "jupyter_ydoc";
inherit version;
hash = "sha256-APizOm59VcvhK5G4emqGtnPikz13w6EmG7qLJHU2Rd0=";
hash = "sha256-m7P00yfUdZfZQwNY3z1ZeViZUhyg61DHmcAjbvTcF30=";
};
nativeBuildInputs = [
@ -27,7 +30,9 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
y-py
pycrdt
] ++ lib.optionals (pythonOlder "3.10") [
importlib-metadata
];
pythonImportsCheck = [ "jupyter_ydoc" ];

View File

@ -1,16 +1,36 @@
{ lib, buildPythonPackage, fetchPypi, pygments, jupyter-packaging }:
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, hatch-jupyter-builder
, hatch-nodejs-version
, hatchling
, pygments
}:
buildPythonPackage rec {
pname = "jupyterlab_pygments";
version = "0.2.2";
pname = "jupyterlab-pygments";
version = "0.3.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-dAXX/eYIGdkFqfqM6J5M2DDjGM2tIqADD3qQHacFWF0=";
pname = "jupyterlab_pygments";
inherit version;
hash = "sha256-chrKTZApJSsRz6nRheW1r01Udyu4By+bcDb0FwBU010=";
};
# jupyterlab is not necessary since we get the source from pypi
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"jupyterlab>=4.0.0,<5",' ""
'';
nativeBuildInputs = [
jupyter-packaging
hatch-jupyter-builder
hatch-nodejs-version
hatchling
];
# no tests exist on upstream repo
@ -23,7 +43,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Jupyterlab syntax coloring theme for pygments";
homepage = "https://github.com/jupyterlab/jupyterlab_pygments";
license = licenses.mit;
license = licenses.bsd3;
maintainers = with maintainers; [ jonringer ];
};
}

View File

@ -1,86 +1,66 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, gitpython
, isort
, fetchPypi
, hatch-jupyter-builder
, hatchling
, jupyter-client
, jupyter-packaging
, jupyterlab
, markdown-it-py
, mdit-py-plugins
, nbformat
, notebook
, packaging
, pytest-xdist
, pytestCheckHook
, pythonOlder
, pyyaml
, setuptools
, toml
, wheel
}:
buildPythonPackage rec {
pname = "jupytext";
version = "1.15.2";
format = "pyproject";
version = "1.16.0";
pyproject = true;
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "mwouts";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-GvMoz2BsYWk0atrT3xmSnbV7AuO5RJoM/bOJlZ5YIn4=";
src = fetchPypi {
inherit pname version;
hash = "sha256-lMfmd3XpDheSw5q3/KTgRZv3w1ZWEj6Nwunhs+lTuvg=";
};
# Follow https://github.com/mwouts/jupytext/pull/1119 to see if the patch
# relaxing jupyter_packaging version can be cleaned up.
#
# Follow https://github.com/mwouts/jupytext/pull/1077 to see when the patch
# relaxing jupyterlab version can be cleaned up.
#
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'jupyter_packaging~=' 'jupyter_packaging>=' \
--replace 'jupyterlab>=3,<=4' 'jupyterlab>=3'
'';
nativeBuildInputs = [
jupyter-packaging
jupyterlab
setuptools
wheel
hatch-jupyter-builder
hatchling
];
propagatedBuildInputs = [
markdown-it-py
mdit-py-plugins
nbformat
packaging
pyyaml
toml
];
nativeCheckInputs = [
gitpython
isort
jupyter-client
notebook
pytest-xdist
pytestCheckHook
];
preCheck = ''
# Tests that use a Jupyter notebook require $HOME to be writable
export HOME=$(mktemp -d);
export PATH=$out/bin:$PATH;
'';
pytestFlagsArray = [
# Pre-commit tests expect the source directory to be a Git repository
"--ignore-glob='tests/test_pre_commit_*.py'"
disabledTestPaths = [
"tests/external"
];
disabledTests = [
"test_apply_black_through_jupytext" # we can't do anything about ill-formatted notebooks
] ++ lib.optionals stdenv.isDarwin [
disabledTests = lib.optionals stdenv.isDarwin [
# requires access to trash
"test_load_save_rename"
];
@ -93,8 +73,9 @@ buildPythonPackage rec {
meta = with lib; {
description = "Jupyter notebooks as Markdown documents, Julia, Python or R scripts";
homepage = "https://github.com/mwouts/jupytext";
changelog = "https://github.com/mwouts/jupytext/releases/tag/${src.rev}";
changelog = "https://github.com/mwouts/jupytext/releases/tag/v${version}";
license = licenses.mit;
maintainers = teams.jupyter.members;
mainProgram = "jupytext";
};
}

View File

@ -32,14 +32,14 @@ let
};
in buildPythonPackage rec {
pname = "nbconvert";
version = "7.11.0";
version = "7.13.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-q+3AHPVDF3/94L/Cppcm1aR49q8QozL8G/Kfy08M8AA=";
hash = "sha256-xvYchvylsovRf0+aMIJI5Z+itUkZ4VifbMNXXF3+wr0=";
};
# Add $out/share/jupyter to the list of paths that are used to search for

View File

@ -23,7 +23,7 @@
buildPythonPackage rec {
pname = "openllm-core";
version = "0.4.34";
version = "0.4.41";
pyproject = true;
disabled = pythonOlder "3.8";
@ -32,7 +32,7 @@ buildPythonPackage rec {
owner = "bentoml";
repo = "OpenLLM";
rev = "refs/tags/v${version}";
hash = "sha256-hRY+M9M1AcwlAnNWvaqxfrt4UWiUfvwmY51eE1kJY8Q=";
hash = "sha256-9mr6sw4/h5cYSmo1CDT2SKq4NVz1ZcoyqnYOwhlfaiQ=";
};
sourceRoot = "source/openllm-core";

View File

@ -0,0 +1,71 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, hatchling
, aiosqlite
, anyio
, channels
, pycrdt
, pytest-asyncio
, pytestCheckHook
, uvicorn
, websockets
}:
buildPythonPackage rec {
pname = "pycrdt-websocket";
version = "0.12.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jupyter-server";
repo = "pycrdt-websocket";
rev = "refs/tags/v${version}";
hash = "sha256-dTjWujRMYpg8XZ0OkEG49OLIAPj8qnZl+W7713NKVaA=";
};
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
aiosqlite
anyio
pycrdt
];
passthru.optional-dependencies = {
django = [
channels
];
};
pythonImportsCheck = [
"pycrdt_websocket"
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
uvicorn
websockets
];
disabledTestPaths = [
# requires nodejs and installed js modules
"tests/test_pycrdt_yjs.py"
];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "WebSocket Connector for pycrdt";
homepage = "https://github.com/jupyter-server/pycrdt-websocket";
changelog = "https://github.com/jupyter-server/pycrdt-websocket/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = teams.jupyter.members;
};
}

View File

@ -0,0 +1,519 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "atomic_refcell"
version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41e67cd8309bbd06cd603a9e693a784ac2e5d1e955f11286e355089fcab3047c"
[[package]]
name = "autocfg"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
name = "bitflags"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "bumpalo"
version = "3.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec"
[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "getrandom"
version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
dependencies = [
"cfg-if",
"js-sys",
"libc",
"wasi",
"wasm-bindgen",
]
[[package]]
name = "indoc"
version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306"
[[package]]
name = "itoa"
version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
[[package]]
name = "js-sys"
version = "0.3.66"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca"
dependencies = [
"wasm-bindgen",
]
[[package]]
name = "libc"
version = "0.2.151"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4"
[[package]]
name = "lock_api"
version = "0.4.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
dependencies = [
"autocfg",
"scopeguard",
]
[[package]]
name = "log"
version = "0.4.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
[[package]]
name = "memoffset"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
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.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
dependencies = [
"lock_api",
"parking_lot_core",
]
[[package]]
name = "parking_lot_core"
version = "0.9.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
dependencies = [
"cfg-if",
"libc",
"redox_syscall",
"smallvec",
"windows-targets",
]
[[package]]
name = "ppv-lite86"
version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
[[package]]
name = "proc-macro2"
version = "1.0.70"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b"
dependencies = [
"unicode-ident",
]
[[package]]
name = "pycrdt"
version = "0.7.2"
dependencies = [
"pyo3",
"yrs",
]
[[package]]
name = "pyo3"
version = "0.19.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e681a6cfdc4adcc93b4d3cf993749a4552018ee0a9b65fc0ccfad74352c72a38"
dependencies = [
"cfg-if",
"indoc",
"libc",
"memoffset",
"parking_lot",
"pyo3-build-config",
"pyo3-ffi",
"pyo3-macros",
"unindent",
]
[[package]]
name = "pyo3-build-config"
version = "0.19.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "076c73d0bc438f7a4ef6fdd0c3bb4732149136abd952b110ac93e4edb13a6ba5"
dependencies = [
"once_cell",
"target-lexicon",
]
[[package]]
name = "pyo3-ffi"
version = "0.19.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e53cee42e77ebe256066ba8aa77eff722b3bb91f3419177cf4cd0f304d3284d9"
dependencies = [
"libc",
"pyo3-build-config",
]
[[package]]
name = "pyo3-macros"
version = "0.19.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dfeb4c99597e136528c6dd7d5e3de5434d1ceaf487436a3f03b2d56b6fc9efd1"
dependencies = [
"proc-macro2",
"pyo3-macros-backend",
"quote",
"syn 1.0.109",
]
[[package]]
name = "pyo3-macros-backend"
version = "0.19.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "947dc12175c254889edc0c02e399476c2f652b4b9ebd123aa655c224de259536"
dependencies = [
"proc-macro2",
"quote",
"syn 1.0.109",
]
[[package]]
name = "quote"
version = "1.0.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae"
dependencies = [
"proc-macro2",
]
[[package]]
name = "rand"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
dependencies = [
"getrandom",
"libc",
"rand_chacha",
"rand_core",
"rand_hc",
]
[[package]]
name = "rand_chacha"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
dependencies = [
"ppv-lite86",
"rand_core",
]
[[package]]
name = "rand_core"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
dependencies = [
"getrandom",
]
[[package]]
name = "rand_hc"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
dependencies = [
"rand_core",
]
[[package]]
name = "redox_syscall"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
dependencies = [
"bitflags",
]
[[package]]
name = "ryu"
version = "1.0.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c"
[[package]]
name = "scopeguard"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "serde"
version = "1.0.193"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.193"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.42",
]
[[package]]
name = "serde_json"
version = "1.0.108"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b"
dependencies = [
"itoa",
"ryu",
"serde",
]
[[package]]
name = "smallstr"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63b1aefdf380735ff8ded0b15f31aab05daf1f70216c01c02a12926badd1df9d"
dependencies = [
"smallvec",
]
[[package]]
name = "smallvec"
version = "1.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970"
[[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.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b7d0a2c048d661a1a59fcd7355baa232f7ed34e0ee4df2eef3c1c1c0d3852d8"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]
[[package]]
name = "target-lexicon"
version = "0.12.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a"
[[package]]
name = "thiserror"
version = "1.0.51"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f11c217e1416d6f036b870f14e0413d480dbf28edbee1f877abaf0206af43bb7"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
version = "1.0.51"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "01742297787513b79cf8e29d1056ede1313e2420b7b3b15d0a768b4921f549df"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.42",
]
[[package]]
name = "unicode-ident"
version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
[[package]]
name = "unindent"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c"
[[package]]
name = "wasi"
version = "0.9.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
[[package]]
name = "wasm-bindgen"
version = "0.2.89"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e"
dependencies = [
"cfg-if",
"wasm-bindgen-macro",
]
[[package]]
name = "wasm-bindgen-backend"
version = "0.2.89"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826"
dependencies = [
"bumpalo",
"log",
"once_cell",
"proc-macro2",
"quote",
"syn 2.0.42",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-macro"
version = "0.2.89"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
]
[[package]]
name = "wasm-bindgen-macro-support"
version = "0.2.89"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.42",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-shared"
version = "0.2.89"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f"
[[package]]
name = "windows-targets"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
dependencies = [
"windows_aarch64_gnullvm",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc",
]
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
[[package]]
name = "windows_aarch64_msvc"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
[[package]]
name = "windows_i686_gnu"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
[[package]]
name = "windows_i686_msvc"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
[[package]]
name = "windows_x86_64_gnu"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
[[package]]
name = "windows_x86_64_msvc"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
[[package]]
name = "yrs"
version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68aea14c6c33f2edd8a5ff9415360cfa5b98d90cce30c5ee3be59a8419fb15a9"
dependencies = [
"atomic_refcell",
"rand",
"serde",
"serde_json",
"smallstr",
"smallvec",
"thiserror",
]

View File

@ -0,0 +1,63 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, libiconv
, cargo
, rustPlatform
, rustc
, pydantic
, pytestCheckHook
, y-py
}:
buildPythonPackage rec {
pname = "pycrdt";
version = "0.7.2";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyter-server";
repo = "pycrdt";
rev = "refs/tags/v${version}";
hash = "sha256-dNNFrCuNdkgUb/jgeAs3TPoB+m2Hym3+ze/X2ejXtW8=";
};
postPatch = ''
cp ${./Cargo.lock} Cargo.lock
'';
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
};
nativeBuildInputs = [
cargo
rustPlatform.cargoSetupHook
rustPlatform.maturinBuildHook
rustc
];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
];
pythonImportsCheck = [ "pycrdt" ];
# requires pydantic>=2.5
doCheck = false;
nativeCheckInputs = [
pytestCheckHook
y-py
pydantic
];
meta = with lib; {
description = "CRDTs based on Yrs";
homepage = "https://github.com/jupyter-server/pycrdt";
changelog = "https://github.com/jupyter-server/pycrdt/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = teams.jupyter.members;
};
}

View File

@ -22,14 +22,14 @@
let self = buildPythonPackage rec {
pname = "pytest-jupyter";
version = "0.7.0";
format = "pyproject";
version = "0.8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyter-server";
repo = "pytest-jupyter";
rev = "refs/tags/v${version}";
hash = "sha256-ZocpIBHnXTvQdjWU8yVhGK49I+FFct+teDhghiMnvW0=";
hash = "sha256-ND51UpPsvZGH6LdEaNFXaBLoCMB4n7caPoo1/Go9fNs=";
};
nativeBuildInputs = [
@ -44,15 +44,18 @@ let self = buildPythonPackage rec {
jupyter-core
];
passthru.optional-dependencies = rec {
passthru.optional-dependencies = {
client = [
jupyter-client
nbformat
ipykernel
];
server = [
jupyter-server
jupyter-client
nbformat
] ++ client;
ipykernel
];
};
doCheck = false; # infinite recursion with jupyter-server

View File

@ -1,34 +1,54 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, fetchFromGitHub
, flit-core
, packaging
, sphinx
, importlib-resources
, click
, myst-parser
, pytest-regressions
, pytestCheckHook
, sphinx-external-toc
, sphinxcontrib-bibtex
, texsoup
}:
buildPythonPackage rec {
pname = "sphinx-jupyterbook-latex";
version = "0.5.2";
format = "pyproject";
version = "1.0.0";
pyproject = true;
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit version;
pname = "sphinx_jupyterbook_latex";
hash = "sha256-2h060Cj1XdvxC5Ewu58k/GDK+2ccvTnf2VU3qvyQly4=";
src = fetchFromGitHub {
owner = "executablebooks";
repo = "sphinx-jupyterbook-latex";
rev = "refs/tags/v${version}";
hash = "sha256-ZTR+s6a/++xXrLMtfFRmSmAeMWa/1de12ukxfsx85g4=";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace "sphinx>=4,<5.1" "sphinx"
'';
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [ sphinx ]
++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];
propagatedBuildInputs = [
packaging
sphinx
];
pythonImportsCheck = [ "sphinx_jupyterbook_latex" ];
nativeCheckInputs = [
click
myst-parser
pytest-regressions
pytestCheckHook
sphinx-external-toc
sphinxcontrib-bibtex
texsoup
];
meta = with lib; {
description = "Latex specific features for jupyter book";
homepage = "https://github.com/executablebooks/sphinx-jupyterbook-latex";

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "sqltrie";
version = "0.9.0";
version = "0.11.0";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "iterative";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-4+jj9kRT6AR8u9nIlEkILY+/GQ7EBRd5V2oLeMLSo3o=";
hash = "sha256-QR5IlMHrDNsauKW3VQG0ibMUwetATuwX4fszGPzKuxg=";
};
nativeBuildInputs = [

View File

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "texsoup";
version = "0.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "alvinwan";
repo = "TexSoup";
rev = "refs/tags/${version}";
hash = "sha256-XKYJycYivtrszU46B3Bd4JLrvckBpQu9gKDMdr6MyZU=";
};
nativeBuildInputs = [
setuptools
];
pythonImportsCheck = [ "TexSoup" ];
nativeCheckInputs = [
pytestCheckHook
];
preCheck = ''
substituteInPlace pytest.ini \
--replace "--cov=TexSoup" ""
'';
meta = with lib; {
description = "Fault-tolerant Python3 package for searching, navigating, and modifying LaTeX documents";
homepage = "https://github.com/alvinwan/TexSoup";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}

View File

@ -22,14 +22,14 @@
buildPythonPackage rec {
pname = "unstructured-inference";
version = "0.7.18";
version = "0.7.21";
format = "setuptools";
src = fetchFromGitHub {
owner = "Unstructured-IO";
repo = "unstructured-inference";
rev = "refs/tags/${version}";
hash = "sha256-zCsWFiQlaUGlIr0PjaNl6FuiiWmVDtKTJQQDPj6g12M=";
hash = "sha256-EuLzQHtcAPNuKCrUXHPbgF5i3QDvst/XOZ9RcCck+N8=";
};
postPatch = ''

View File

@ -56,7 +56,7 @@
, grpcio
}:
let
version = "0.11.2";
version = "0.11.6";
optional-dependencies = {
huggingflace = [
langdetect
@ -90,7 +90,7 @@ buildPythonPackage {
owner = "Unstructured-IO";
repo = "unstructured";
rev = "refs/tags/${version}";
hash = "sha256-kMgmvUUn8AA0md412WJgHdlkAA8bBGWOdi2C4ief8Iw=";
hash = "sha256-ZZVd7WIQA79bzclE8BhDhJJi3RF0ODSj+6mqGSHgKv0=";
};
propagatedBuildInputs = [

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "terraform-ls";
version = "0.32.3";
version = "0.32.4";
src = fetchFromGitHub {
owner = "hashicorp";
repo = pname;
rev = "v${version}";
hash = "sha256-uvSAqk9LE0NbOWn2rcygDu7Hl28Wu3KkM5UhI4aocGo=";
hash = "sha256-+z7Jg55BP9E7fwEYVnLY1lw06tizjaUPguKmqrfJ8jY=";
};
vendorHash = "sha256-xoyassGp//8YXG/B1e3kW96UvltQLa662ZlH9/CMzm0=";
vendorHash = "sha256-v0dESbGsafT+4C6pWhmNb4NT4m+kmtV+ZBld4x2TfJI=";
ldflags = [ "-s" "-w" ];

View File

@ -11,13 +11,13 @@
maven.buildMavenPackage rec {
pname = "runelite";
version = "2.6.11";
version = "2.6.12";
src = fetchFromGitHub {
owner = "runelite";
repo = "launcher";
rev = version;
hash = "sha256-tu3sEhmFZLMqPiBdPCiNYj5s08hMCo8mXpOCx/BP1EM=";
hash = "sha256-lovDkEvzclZCBu/Ha8h0j595NZ4ejefEOX7lNmzb8I8=";
};
mvnHash = "sha256-iGnoAZcJvaVoACi9ozG/f+A8tjvDuwn22bMRyuUU5Jg=";

View File

@ -17,7 +17,7 @@
let
pname = "yabai";
version = "6.0.1";
version = "6.0.2";
test-version = testers.testVersion {
package = yabai;
@ -53,7 +53,7 @@ in
src = fetchzip {
url = "https://github.com/koekeishiya/yabai/releases/download/v${version}/yabai-v${version}.tar.gz";
hash = "sha256-CXkGVoJcGSkooxe7eIhwaM6FkOI45NVw5jdLJAzgFBM=";
hash = "sha256-aFM0rtHrHsLEziDWhRwqeCy70dSAOAX4HDpqHqvnoWs=";
};
nativeBuildInputs = [
@ -89,7 +89,7 @@ in
owner = "koekeishiya";
repo = "yabai";
rev = "v${version}";
hash = "sha256-u+MkGd/rkT1RVkzC2IcAcFM9eClFdj3WBFnftUVwkwc=";
hash = "sha256-VI7Gu5Y50Ed65ZUrseMXwmW/iovlRbAJGlPD7Ooajqw=";
};
nativeBuildInputs = [

View File

@ -1029,8 +1029,8 @@ let self = {
name = "zstd";
owner = "tokers";
repo = "zstd-nginx-module";
rev = "0.1.0";
hash = "sha256-8SBU9hJnKtNrwbpioy+Z/mfiVuqAx+U1t64m5tfEy6o=";
rev = "0.1.1";
hash = "sha256-1gCV7uUsuYnZfb9e8VfjWkUloVINOUH5qzeJ03kIHgs=";
};
inputs = [ zstd ];

View File

@ -13,16 +13,16 @@
rustPlatform.buildRustPackage rec {
pname = "surrealdb";
version = "1.0.0";
version = "1.0.2";
src = fetchFromGitHub {
owner = "surrealdb";
repo = "surrealdb";
rev = "v${version}";
hash = "sha256-rBqg8tMcdc9VavYQDiKQwNp2IxYvpDNB/Qb74uiMmO4=";
hash = "sha256-/+GAnACNzGxMDSO1BGc9dA13hZnNKDia0KBlyujEe04=";
};
cargoHash = "sha256-qbKc9/n4bOvdP2iXg6IF3jAwxx6Wj17Uxlj3F/gx+1g=";
cargoHash = "sha256-9wvgj00GAWRP9sWOgugelizB6xbPNs0h13bGGxWtA+s=";
# error: linker `aarch64-linux-gnu-gcc` not found
postPatch = ''

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "scaleway-cli";
version = "2.25.0";
version = "2.26.0";
src = fetchFromGitHub {
owner = "scaleway";
repo = "scaleway-cli";
rev = "v${version}";
sha256 = "sha256-wx/247ZNbdNdRiGLTfCig1JAjmXZX0aCHbOgelzMcyw=";
sha256 = "sha256-RfXNwuynlELT7gVWjlhjaX5nKuBJM+v6eAD/JCuRyck=";
};
vendorHash = "sha256-FftJsXM9sexRqBKrIeTdWh5Z0eYIK3acDNtptqqILD8=";
vendorHash = "sha256-hBfEQtuBkU2fKoCd78dpp+I19lTOycItqjlcA6KByLY=";
ldflags = [
"-w"
@ -23,13 +23,39 @@ buildGoModule rec {
"-X main.BuildDate=unknown"
];
# some tests require network access to scaleway's API, failing when sandboxed
doCheck = false;
doCheck = true;
# Some tests require access to scaleway's API, failing when sandboxed
preCheck = ''
substituteInPlace internal/core/bootstrap_test.go \
--replace "TestInterruptError" "SkipInterruptError"
substituteInPlace internal/e2e/errors_test.go \
--replace "TestStandardErrors" "SkipStandardErrors"
substituteInPlace internal/e2e/human_test.go \
--replace "TestTestCommand" "SkipTestCommand" \
--replace "TestHumanCreate" "SkipHumanCreate" \
--replace "TestHumanList" "SkipHumanList" \
--replace "TestHumanUpdate" "SkipHumanUpdate" \
--replace "TestHumanGet" "SkipHumanGet" \
--replace "TestHumanDelete" "SkipHumanDelete"
substituteInPlace internal/e2e/sdk_errors_test.go \
--replace "TestSdkStandardErrors" "SkipSdkStandardErrors"
'';
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
$out/bin/scw --help
runHook postInstallCheck
'';
meta = with lib; {
description = "Interact with Scaleway API from the command line";
homepage = "https://github.com/scaleway/scaleway-cli";
license = licenses.mit;
maintainers = with maintainers; [ nickhu techknowlogick ];
maintainers = with maintainers; [ nickhu techknowlogick kashw2 ];
};
}

View File

@ -7,16 +7,16 @@
rustPlatform.buildRustPackage rec {
pname = "vulkan-helper";
version = "unstable-2023-09-16";
version = "unstable-2023-12-22";
src = fetchFromGitHub {
owner = "imLinguin";
repo = "vulkan-helper-rs";
rev = "d65b1a17a11ec20670c77d8da02e68d388ed0888";
hash = "sha256-usbYNalA0r09LXR6eV2e/T1eMNV4LnhzYLzPJQ6XNKQ=";
rev = "04b290c92febcfd6293fcf4730ce3bba55cd9ce0";
hash = "sha256-2pLHnTn0gJKz4gfrR6h85LHOaZPrhIGYzQeci4Dzz2E=";
};
cargoSha256 = "sha256-fgB0vlbOhzGV1Sj180GCuTGZlVpAUlBUMAfsrG2FiuA=";
cargoSha256 = "sha256-OXMz1qu4/LDeQbwe7shhn2Eee15xKmBpWSsP0IbjoGM=";
nativeBuildInputs = [
addOpenGLRunpath

View File

@ -83,6 +83,11 @@ stdenv.mkDerivation rec {
url = "https://github.com/ibus/ibus/commit/8f706d160631f1ffdbfa16543a38b9d5f91c16ad.patch";
hash = "sha256-YzS9TmUWW0OmheDeCeU00kFK2U2QEmKYMSRJAbu14ec=";
})
# fix missing key releases in Wine https://github.com/ibus/ibus/issues/2480
(fetchpatch {
url = "https://github.com/ibus/ibus/commit/497f0c74230a65309e22ce5569060ce48310406b.patch";
hash = "sha256-PAZcUxmzjChs1/K8hXgOcytyS4LYoNL1dtU6X5Tx8ic=";
})
];
outputs = [ "out" "dev" "installedTests" ];

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper, perl, procps, file, gnused, bash }:
{ lib, stdenv, fetchFromGitHub, makeWrapper, perl, procps, file, gnused, bash, binutils }:
stdenv.mkDerivation rec {
pname = "lesspipe";
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
postInstall = ''
for f in lesspipe.sh lesscomplete; do
wrapProgram "$out/bin/$f" --prefix-each PATH : "${lib.makeBinPath [ file gnused procps ]}"
wrapProgram "$out/bin/$f" --prefix-each PATH : "${lib.makeBinPath [ binutils file gnused procps ]}"
done
'';

View File

@ -1,39 +0,0 @@
{ lib, stdenv, fetchFromGitHub, openssl, which }:
stdenv.mkDerivation {
pname = "mbox";
version = "unstable-2014-05-26";
src = fetchFromGitHub {
owner = "tsgates";
repo = "mbox";
rev = "a131424b6cb577e1c916bd0e8ffb2084a5f73048";
sha256 = "06qggqxnzcxnc34m6sbafxwr2p64x65m9zm5wp7pwyarcckhh2hd";
};
buildInputs = [ openssl which ];
preConfigure = ''
cd src
cp {.,}configsbox.h
'';
doCheck = true;
checkPhase = ''
rm tests/test-*vim.sh tests/test-pip.sh
patchShebangs ./; dontPatchShebags=1
sed -i 's|^/bin/||' tests/test-fileops.sh
./testall.sh
'';
meta = with lib; {
description = "Lightweight sandboxing mechanism that any user can use without special privileges";
homepage = "http://pdos.csail.mit.edu/mbox/";
maintainers = with maintainers; [ ehmry ];
license = licenses.bsd3;
platforms = [ "x86_64-linux" ];
broken = true;
};
}

View File

@ -5,13 +5,13 @@
buildGoModule rec {
pname = "terrascan";
version = "1.18.9";
version = "1.18.11";
src = fetchFromGitHub {
owner = "accurics";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-2EI/6+DRheZaVlib5e3GAaMOK58xycaL3tyzrkwceE4=";
hash = "sha256-BICXMSkfGDXOqBH+4UlJmqkUSV+oZa1wg7c20EtJ3WI=";
};
vendorHash = "sha256-9zD81p/UjH43B0aeqlItP9vrGMaT/zhVYv60ot153Gc=";

View File

@ -46,11 +46,11 @@ in
stdenv.mkDerivation (finalAttrs: {
pname = "sile";
version = "0.14.13";
version = "0.14.14";
src = fetchurl {
url = "https://github.com/sile-typesetter/sile/releases/download/v${finalAttrs.version}/sile-${finalAttrs.version}.tar.xz";
sha256 = "sha256-PU9Yfanmyr4nAQMQu/unBQSQCvV2hyo0i8lR0MnuFcA=";
sha256 = "sha256-xGcbD43yfJ6Ru7mU7R+NxfK1YXnIDwcYMjB++gcNqYg=";
};
configureFlags = [

View File

@ -592,6 +592,7 @@ mapAliases ({
matrique = spectral; # Added 2020-01-27
matrix-recorder = throw "matrix-recorder has been removed due to being unmaintained"; # Added 2023-05-21
maui-nota = libsForQt5.mauiPackages.nota; # added 2022-05-17
mbox = throw "'mobx' has been removed, as it was broken and unmaintained"; # Added 2023-12-21
mcomix3 = mcomix; # Added 2022-06-05
meme = meme-image-generator; # Added 2021-04-21
mess = throw "'mess' has been renamed to/replaced by 'mame'"; # Converted to throw 2023-09-10

View File

@ -10843,8 +10843,6 @@ with pkgs;
mb2md = callPackage ../tools/text/mb2md { };
mbox = callPackage ../tools/security/mbox { };
mbuffer = callPackage ../tools/misc/mbuffer { };
mdsh = callPackage ../development/tools/documentation/mdsh { };

View File

@ -3088,6 +3088,8 @@ self: super: with self; {
django-markup = callPackage ../development/python-modules/django-markup { };
django-markdownx = callPackage ../development/python-modules/django-markdownx { };
django-model-utils = callPackage ../development/python-modules/django-model-utils { };
django-modelcluster = callPackage ../development/python-modules/django-modelcluster { };
@ -9361,6 +9363,10 @@ self: super: with self; {
pycoolmasternet-async = callPackage ../development/python-modules/pycoolmasternet-async { };
pycrdt = callPackage ../development/python-modules/pycrdt { };
pycrdt-websocket = callPackage ../development/python-modules/pycrdt-websocket { };
pyfibaro = callPackage ../development/python-modules/pyfibaro { };
pyfireservicerota = callPackage ../development/python-modules/pyfireservicerota { };
@ -14127,6 +14133,8 @@ self: super: with self; {
testfixtures = callPackage ../development/python-modules/testfixtures { };
texsoup = callPackage ../development/python-modules/texsoup { };
textfsm = callPackage ../development/python-modules/textfsm { };
textile = callPackage ../development/python-modules/textile { };