Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2023-08-08 00:02:19 +00:00 committed by GitHub
commit 2e9323c2d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
56 changed files with 3622 additions and 215 deletions

View file

@ -997,13 +997,18 @@ and in this case the `python3` interpreter is automatically used.
### Interpreters {#interpreters}
Versions 2.7, 3.8, 3.9, 3.10 and 3.11 of the CPython interpreter are available
as respectively `python27`, `python38`, `python39`, `python310` and `python311`.
The aliases `python2` and `python3` correspond to respectively `python27` and
`python310`. The attribute `python` maps to `python2`. The PyPy interpreters
compatible with Python 2.7 and 3 are available as `pypy27` and `pypy3`, with
aliases `pypy2` mapping to `pypy27` and `pypy` mapping to `pypy2`. The Nix
expressions for the interpreters can be found in
| Package | Aliases | Interpreter |
|------------|-----------------|-------------|
| python27 | python2, python | CPython 2.7 |
| python38 | | CPython 3.8 |
| python39 | | CPython 3.9 |
| python310 | python3 | CPython 3.10 |
| python311 | | CPython 3.11 |
| python312 | | CPython 3.12 |
| pypy27 | pypy2, pypy | PyPy2.7 |
| pypy39 | pypy3 | PyPy 3.9 |
The Nix expressions for the interpreters can be found in
`pkgs/development/interpreters/python`.
All packages depending on any Python interpreter get appended

View file

@ -13482,6 +13482,12 @@
githubId = 38314551;
name = "Peter Okelmann";
};
pokon548 = {
email = "nix@bukn.uk";
github = "pokon548";
githubId = 65808665;
name = "Bu Kun";
};
polarmutex = {
email = "brian@brianryall.xyz";
github = "polarmutex";

View file

@ -864,6 +864,7 @@
./services/networking/coturn.nix
./services/networking/create_ap.nix
./services/networking/croc.nix
./services/networking/dae.nix
./services/networking/dante.nix
./services/networking/dhcpcd.nix
./services/networking/dnscache.nix

View file

@ -0,0 +1,41 @@
{ config, pkgs, lib, ... }:
let
cfg = config.services.dae;
in
{
meta.maintainers = with lib.maintainers; [ pokon548 ];
options = {
services.dae = {
enable = lib.options.mkEnableOption (lib.mdDoc "the dae service");
package = lib.mkPackageOptionMD pkgs "dae" { };
};
};
config = lib.mkIf config.services.dae.enable {
networking.firewall.allowedTCPPorts = [ 12345 ];
networking.firewall.allowedUDPPorts = [ 12345 ];
systemd.services.dae = {
unitConfig = {
Description = "dae Service";
Documentation = "https://github.com/daeuniverse/dae";
After = [ "network.target" "systemd-sysctl.service" ];
Wants = [ "network.target" ];
};
serviceConfig = {
User = "root";
ExecStartPre = "${lib.getExe cfg.package} validate -c /etc/dae/config.dae";
ExecStart = "${lib.getExe cfg.package} run --disable-timestamp -c /etc/dae/config.dae";
ExecReload = "${lib.getExe cfg.package} reload $MAINPID";
LimitNPROC = 512;
LimitNOFILE = 1048576;
Restart = "on-abnormal";
Type = "notify";
};
wantedBy = [ "multi-user.target" ];
};
};
}

View file

@ -50,6 +50,9 @@ python.pkgs.buildPythonApplication rec {
postPatch = ''
sed -i "/--cov/d" setup.cfg
sed -i "/--no-cov-on-fail/d" setup.cfg
# https://github.com/sublime-music/sublime-music/commit/f477659d24e372ed6654501deebad91ae4b0b51c
sed -i "s/python-mpv/mpv/g" pyproject.toml
'';
buildInputs = [

View file

@ -58,12 +58,12 @@
}:
stdenv.mkDerivation rec {
version = "4.4.1";
version = "4.4.2";
pname = "darktable";
src = fetchurl {
url = "https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz";
sha256 = "e043d38d2e8adb67af7690b12b535a40e8ec7bea05cfa8684db8b21a626e0f0d";
sha256 = "c11d28434fdf2e9ce572b9b1f9bc4e64dcebf6148e25080b4c32eb51916cfa98";
};
nativeBuildInputs = [ cmake ninja llvm_13 pkg-config intltool perl desktop-file-utils wrapGAppsHook ];

View file

@ -1,9 +1,10 @@
{ mkDerivation
, lib
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, qmake
, qttools
, wrapQtAppsHook
, qttranslations
, gdal
, proj
@ -15,7 +16,7 @@
, withZbar ? false, zbar
}:
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "merkaartor";
version = "0.19.0";
@ -23,10 +24,18 @@ mkDerivation rec {
owner = "openstreetmap";
repo = "merkaartor";
rev = version;
sha256 = "sha256-I3QNCXzwhEFa8aOdwl3UJV8MLZ9caN9wuaaVrGFRvbQ=";
hash = "sha256-I3QNCXzwhEFa8aOdwl3UJV8MLZ9caN9wuaaVrGFRvbQ=";
};
nativeBuildInputs = [ qmake qttools ];
patches = [
(fetchpatch {
name = "exiv2-0.28.patch";
url = "https://github.com/openstreetmap/merkaartor/commit/1e20d2ccd743ea5f8c2358e4ae36fead8b9390fd.patch";
hash = "sha256-aHjJLKYvqz7V0QwUIg0SbentBe+DaCJusVqy4xRBVWo=";
})
];
nativeBuildInputs = [ qmake qttools wrapQtAppsHook ];
buildInputs = [ gdal proj qtsvg qtwebengine ]
++ lib.optional withGeoimage exiv2

View file

@ -22,5 +22,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/jluttine/rofi-power-menu";
maintainers = with maintainers; [ ikervagyok ];
platforms = platforms.linux;
mainProgram = "rofi-power-menu";
};
}

View file

@ -1,9 +1,9 @@
{
"version" = "1.11.37";
"version" = "1.11.38";
"hashes" = {
"desktopSrcHash" = "sha256-6YiMAmOb0lSaLDE/ohVpZFbl4J1NxS9xNFFcebVW9MA=";
"desktopSrcHash" = "sha256-xDeVwDQ0/ZeqA8c052WvDyhn14TgDTg+FRYQscgxXOQ=";
"desktopYarnHash" = "1ksj99g649kvilr850rkk8nkl55z7vz7m8159777kjikakzra2ly";
"webSrcHash" = "sha256-zFRoL/bnic6Waaiz7Vfama4qzlYKk0TTr5zPK6PNSpM=";
"webYarnHash" = "1lpd9mmg51jnhdr2zfisxdpc4i64kn4bpzkxqzip7dnn9iz432kw";
"webSrcHash" = "sha256-R/JyEVjQN4AYD0AqLJDYcrfGHwTMVGDBhNIK3AtGi2c=";
"webYarnHash" = "1znayywxzs1c4ypdv4akxy0lb7mg0i9h74wnja4d5d3vbbdgnid5";
};
}

View file

@ -27,7 +27,7 @@
}:
let
version = "1.15.2";
version = "1.15.3";
# build stimuli file for PGO build and the script to generate it
# independently of the foot's build, so we can cache the result
@ -90,7 +90,7 @@ let
terminfoDir = "${placeholder "terminfo"}/share/terminfo";
in
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "foot";
inherit version;
@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
owner = "dnkl";
repo = "foot";
rev = version;
hash = "sha256:1iz9l01fpryc335pb0c3qi67fmmfplizv5pbc9s578mxl5j9dxg4";
hash = "sha256-jn/S0xjxZPnkGYpTRIpL3dKxGe7+Z+EmOGHiE0UkQqg=";
};
depsBuildBuild = [

View file

@ -18,11 +18,11 @@
stdenv.mkDerivation rec {
pname = "gnome-console";
version = "44.0";
version = "44.4";
src = fetchurl {
url = "mirror://gnome/sources/gnome-console/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "0cGv1eyNK9+Eo9sCmwSiQy7Me80kLCp0X+mYakKJiEQ=";
sha256 = "uR9E6abAQz6W2ZfzlVhSBtq6xiRzmTo8B1Uv5YiOWo0=";
};
nativeBuildInputs = [

View file

@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
mainProgram = "stremio";
description = "A modern media center that gives you the freedom to watch everything you want.";
homepage = "https://www.stremio.com/";
# (Server-side) web UI is closed source now, apparently they work on open-sourcing it.

View file

@ -0,0 +1,36 @@
{ lib
, buildGoModule
, fetchFromGitHub
, stdenv
}:
buildGoModule rec {
pname = "kraftkit";
version = "0.6.4";
src = fetchFromGitHub {
owner = "unikraft";
repo = "kraftkit";
rev = "v${version}";
hash = "sha256-+aZrJqxgPGIoWEW4PZj6Nib7Z49HitxqMbeoyIe14iM=";
};
vendorHash = "sha256-4V7GTqCDSHybuwIrnmO1MJ+DwMpkKOdA7UC72YJqStM=";
ldflags = [
"-s"
"-w"
"-X kraftkit.sh/internal/version.version=${version}"
];
subPackages = [ "cmd/kraft" ];
meta = {
description = "Build and use highly customized and ultra-lightweight unikernel VMs";
homepage = "https://github.com/unikraft/kraftkit";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ dit7ya ];
mainProgram = "kraft";
broken = stdenv.isDarwin; # > machine/platform/iterator_v1alpha1.go:32:34: undefined: hostSupportedStrategies
};
}

View file

@ -43,6 +43,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/elkowar/eww";
license = licenses.mit;
maintainers = with maintainers; [ figsoda lom ];
mainProgram = "eww";
broken = stdenv.isDarwin;
};
}

View file

@ -2,11 +2,11 @@
stdenvNoCC.mkDerivation rec {
pname = "cozette";
version = "1.22.0";
version = "1.22.1";
src = fetchzip {
url = "https://github.com/slavfox/Cozette/releases/download/v.${version}/CozetteFonts-v-${builtins.replaceStrings ["."] ["-"] version}.zip";
hash = "sha256-IB+YQcIpxYumJ5ETezqQ2yVlvdh+wllJ+MkVHPWZCEg=";
hash = "sha256-HnMds58yv9Ck6ONRjdIm3CNpAi1E4Zei2MaxcMjp7FQ=";
};
installPhase = ''

View file

@ -29,14 +29,14 @@
stdenv.mkDerivation rec {
pname = "gnome-terminal";
version = "3.48.1";
version = "3.48.2";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = "gnome-terminal";
rev = version;
sha256 = "sha256-1t48JRESjAQubOmyK+QOhlp57iE5Ml0cqgy/2wjrLjE=";
sha256 = "sha256-WvFKFh5BK6AS+Lqyh27xIfH1rxs1+YTkywX4w9UashQ=";
};
nativeBuildInputs = [

View file

@ -7,13 +7,13 @@
buildGoModule rec {
pname = "risor";
version = "0.10.0";
version = "0.11.0";
src = fetchFromGitHub {
owner = "risor-io";
repo = "risor";
rev = "v${version}";
hash = "sha256-CnwejQ6e08AaUshfieXbQx05G6ZoF6vDlrtai3qxrxo=";
hash = "sha256-YBiBadyI8TRa7CpiTkMOL0biuVMAk23sqEOzJ0ipfA8=";
};
vendorHash = "sha256-diAbQwnlhMm43ZlLKq3llMl9mO3sIkc80aCI5UDn7F4=";

View file

@ -45,11 +45,11 @@
stdenv.mkDerivation rec {
pname = "gvfs";
version = "1.50.5";
version = "1.50.6";
src = fetchurl {
url = "mirror://gnome/sources/gvfs/${lib.versions.majorMinor version}/gvfs-${version}.tar.xz";
hash = "sha256-uG8JtzMchkLs6/RqPNoGkvXrJghvEyMmpUg8Lr+GpMs=";
hash = "sha256-xPbhH8TqqZM/TbjHo0R14GaM6tK//tloZ9Bhvj053aU=";
};
patches = [

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "rdkafka";
version = "2.1.1";
version = "2.2.0";
src = fetchFromGitHub {
owner = "confluentinc";
repo = "librdkafka";
rev = "v${version}";
sha256 = "sha256-MwPRnD/S8o1gG6RWq2tKxqdpGum4FB5K8bHPAvlKW10=";
sha256 = "sha256-v/FjnDg22ZNQHmrUsPvjaCs4UQ/RPAxQdg9i8k6ba/4=";
};
nativeBuildInputs = [ pkg-config python3 which ];

View file

@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "aiohomekit";
version = "2.6.13";
version = "2.6.14";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "Jc2k";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-33B9BBqvKQugGz4+9EuMPhLRyWd/Sbxwh4d5aMmDt4M=";
hash = "sha256-JPI1+sQVZe2/5YxW6OxZRosp36e93KEW+V1DAcLaYNY=";
};
nativeBuildInputs = [

View file

@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "authlib";
version = "1.2.0";
version = "1.2.1";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "lepture";
repo = "authlib";
rev = "refs/tags/v${version}";
hash = "sha256-OYfvfPnpWE9g7L9cFXUD95B/9+OZy55ZVbmFhFgguUg=";
hash = "sha256-K6u590poZ9C3Uzi3a8k8aXMeSeRgn91e+p2PWYno3Y8=";
};
propagatedBuildInputs = [
@ -49,6 +49,7 @@ buildPythonPackage rec {
pythonImportsCheck = [
"authlib"
];
disabledTestPaths = [
# Django tests require a running instance
"tests/django/"
@ -60,7 +61,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library for building OAuth and OpenID Connect servers";
homepage = "https://github.com/lepture/authlib";
changelog = "https://github.com/lepture/authlib/releases/tag/v${version}";
changelog = "https://github.com/lepture/authlib/blob/v${version}/docs/changelog.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ flokli ];
};

File diff suppressed because it is too large Load diff

View file

@ -1,41 +1,47 @@
{ lib
, stdenv
, buildPythonPackage
, cmake
, confluent-kafka
, cyrus_sasl
, fetchFromGitHub
, rustPlatform
, setuptools-rust
, openssl
, pkg-config
, cyrus_sasl
, protobuf
, cmake
, gcc
, confluent-kafka
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, rustPlatform
, setuptools-rust
}:
buildPythonPackage rec {
pname = "bytewax";
version = "0.16.0";
version = "0.16.2";
format = "pyproject";
disabled = pythonAtLeast "3.11";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bytewax";
repo = pname;
rev = "v${version}";
hash = "sha256-XdFkFhN8Z15Zw5HZ2wmnNFoTzyRtIbB7TAtOpKwuKyY=";
rev = "refs/tags/v${version}";
hash = "sha256-PHjKEZMNhtLliOSGt4XHQFDm8Rc4TejQUVSqFN6Au38=";
};
env = {
OPENSSL_NO_VENDOR = true;
};
# Remove docs tests, myst-docutils in nixpkgs is not compatible with package requirements.
# Package uses old version.
patches = [ ./remove-docs-test.patch ];
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
hash = "sha256-XGE1qPHi13/+8jjNCIgfzPudw561T0vUfJv5xnKySAg=";
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"columnation-0.1.0" = "sha256-RAyZKR+sRmeWGh7QYPZnJgX9AtWqmca85HcABEFUgX8=";
"timely-0.12.0" = "sha256-sZuVLBDCXurIe38m4UAjEuFeh73VQ5Jawy+sr3U/HbI=";
};
};
nativeBuildInputs = [
@ -53,18 +59,28 @@ buildPythonPackage rec {
protobuf
];
passthru.optional-dependencies = {
kafka = [
confluent-kafka
];
};
preCheck = ''
export PY_IGNORE_IMPORTMISMATCH=1
'';
checkInputs = [
pytestCheckHook
confluent-kafka
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [
"bytewax"
];
meta = with lib; {
description = "Python Stream Processing";
homepage = "https://github.com/bytewax/bytewax";
changelog = "https://github.com/bytewax/bytewax/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ mslingsby kfollesdal ];
# mismatched type expected u8, found i8

View file

@ -1,32 +1,31 @@
{ lib
, fetchFromGitHub
, pythonOlder
, buildPythonPackage
, nose
, pillow
, wheezy-captcha
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "captcha";
version = "0.4";
version = "0.5.0";
disabled = pythonOlder "3.8";
format = "setuptools";
src = fetchFromGitHub {
owner = "lepture";
repo = pname;
rev = "v${version}";
hash = "sha256-uxUjoACN65Cx5LMKpT+bZhKpf2JRSaEyysnYUgZntp8=";
hash = "sha256-TPPuf0BRZPSHPSF0HuGxhjhoSyZQ7r86kSjkrztgZ5w=";
};
propagatedBuildInputs = [ pillow ];
pythonImportsCheck = [ "captcha" ];
nativeCheckInputs = [ nose wheezy-captcha ];
checkPhase = ''
nosetests -s
'';
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "A captcha library that generates audio and image CAPTCHAs";

View file

@ -9,23 +9,25 @@
, pytestCheckHook
, swig
, verilog
, ghdl
}:
buildPythonPackage rec {
pname = "cocotb";
version = "1.7.2";
version = "1.8.0";
# pypi source doesn't include tests
src = fetchFromGitHub {
owner = "cocotb";
repo = "cocotb";
rev = "refs/tags/v${version}";
hash = "sha256-gLOYwljqnYkGsdbny7+f93QgroLBaLLnDBRpoCe8uEg=";
hash = "sha256-k3VizQ9iyDawfDCeE3Zup/KkyD54tFBLdQvRKsbKDLY=";
};
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ setuptools find-libpython ];
buildInputs = [ setuptools ];
propagatedBuildInputs = [ find-libpython ];
postPatch = ''
patchShebangs bin/*.py
@ -51,7 +53,7 @@ buildPythonPackage rec {
./0001-Patch-LDCXXSHARED-for-macOS-along-with-LDSHARED.patch
];
nativeCheckInputs = [ cocotb-bus pytestCheckHook swig verilog ];
nativeCheckInputs = [ cocotb-bus pytestCheckHook swig verilog ghdl ];
preCheck = ''
export PATH=$out/bin:$PATH
mv cocotb cocotb.hidden
@ -60,9 +62,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "cocotb" ];
meta = with lib; {
changelog = "https://github.com/cocotb/cocotb/releases/tag/v${version}";
description = "Coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python";
homepage = "https://github.com/cocotb/cocotb";
license = licenses.bsd3;
maintainers = with maintainers; [ matthuszagh ];
maintainers = with maintainers; [ matthuszagh jleightcap ];
};
}

View file

@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "confluent-kafka";
version = "2.1.1";
version = "2.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "confluentinc";
repo = "confluent-kafka-python";
rev = "refs/tags/v${version}";
hash = "sha256-xnbovQRvbhaYYXnssV0Jy+U9L6BUddIagbup2jdTugY=";
hash = "sha256-6CdalNFKkgF7JUqCGtt4nB1/H3u4SVqt9xCAg5DR3T0=";
};
buildInputs = [
@ -62,6 +62,8 @@ buildPythonPackage rec {
disabledTestPaths = [
"tests/integration/"
"tests/test_Admin.py"
"tests/test_misc.py"
];
meta = with lib; {

View file

@ -5,6 +5,7 @@
, fasteners
, fetchFromGitLab
, qgrid
, ipynbname
, ipywidgets
, odfpy
, scipy
@ -28,6 +29,10 @@ buildPythonPackage rec {
hash = "sha256-zjmmLUpGjUhpw2+stLJE6cImesnBSvrcid5bHMftX/Q=";
};
patches = [
./unvendor-ipynbname.patch
];
# This dependency constraint (<=7.6.5) was due to a bug in qgrid that has been patched in its
# owned derivation
postPatch = ''
@ -39,6 +44,7 @@ buildPythonPackage rec {
cloudpickle
dill
fasteners
ipynbname
ipywidgets
odfpy
plotly

View file

@ -0,0 +1,117 @@
diff --git a/exputils/gui/jupyter/__init__.py b/exputils/gui/jupyter/__init__.py
index 6e9aefb..fdfdd28 100644
--- a/exputils/gui/jupyter/__init__.py
+++ b/exputils/gui/jupyter/__init__.py
@@ -30,8 +30,8 @@ from exputils.gui.jupyter.misc import remove_children_from_widget
from exputils.gui.jupyter.misc import set_children_of_widget
from exputils.gui.jupyter.misc import generate_random_state_backup_name
-from exputils.gui.jupyter.ipynbname import get_notebook_name
-from exputils.gui.jupyter.ipynbname import get_notebook_path
+from ipynbname import name as get_notebook_name
+from ipynbname import path as get_notebook_path
DEFAULT_CONFIG_DIRECTORY = '.ipython_config'
diff --git a/exputils/gui/jupyter/ipynbname.py b/exputils/gui/jupyter/ipynbname.py
deleted file mode 100644
index 51e21b7..0000000
--- a/exputils/gui/jupyter/ipynbname.py
+++ /dev/null
@@ -1,86 +0,0 @@
-##
-## This file is part of the exputils package.
-##
-## Copyright: INRIA
-## Year: 2022, 2023
-## Contact: chris.reinke@inria.fr
-##
-## exputils is provided under GPL-3.0-or-later
-##
-# Taken from https://pypi.org/project/ipynbname/
-# TODO: add them to licence
-
-from notebook import notebookapp
-import urllib, json, os, ipykernel, ntpath
-
-FILE_ERROR = "Can't identify the notebook {}."
-CONN_ERROR = "Unable to access server;\n \
- + ipynbname requires either no security or token based security."
-
-def _get_kernel_id():
- """ Returns the kernel ID of the ipykernel.
- """
- connection_file = os.path.basename(ipykernel.get_connection_file())
- kernel_id = connection_file.split('-', 1)[1].split('.')[0]
- return kernel_id
-
-
-def _get_sessions(srv):
- """ Given a server, returns sessions, or HTTPError if access is denied.
- NOTE: Works only when either there is no security or there is token
- based security. An HTTPError is raised if unable to connect to a
- server.
- """
- try:
- qry_str = ""
- token = srv['token']
- if token:
- qry_str = f"?token={token}"
- url = f"{srv['url']}api/sessions{qry_str}"
- req = urllib.request.urlopen(url)
- return json.load(req)
- except:
- raise urllib.error.HTTPError(CONN_ERROR)
-
-
-def _get_nb_path(sess, kernel_id):
- """ Given a session and kernel ID, returns the notebook path for the
- session, or None if there is no notebook for the session.
- """
- if sess['kernel']['id'] == kernel_id:
- return sess['notebook']['path']
- return None
-
-
-def get_notebook_name():
- """ Returns the short name of the notebook w/o the .ipynb extension,
- or raises a FileNotFoundError exception if it cannot be determined.
- """
- kernel_id = _get_kernel_id()
- for srv in notebookapp.list_running_servers():
- try:
- sessions = _get_sessions(srv)
- for sess in sessions:
- nb_path = _get_nb_path(sess, kernel_id)
- if nb_path:
- return ntpath.basename(nb_path).replace('.ipynb', '')
- except:
- pass # There may be stale entries in the runtime directory
- raise FileNotFoundError(FILE_ERROR.format('name'))
-
-
-def get_notebook_path():
- """ Returns the absolute path of the notebook,
- or raises a FileNotFoundError exception if it cannot be determined.
- """
- kernel_id = _get_kernel_id()
- for srv in notebookapp.list_running_servers():
- try:
- sessions = _get_sessions(srv)
- for sess in sessions:
- nb_path = _get_nb_path(sess, kernel_id)
- if nb_path:
- return os.path.join(srv['notebook_dir'], nb_path)
- except:
- pass # There may be stale entries in the runtime directory
- raise FileNotFoundError(FILE_ERROR.format('path'))
\ No newline at end of file
diff --git a/setup.cfg b/setup.cfg
index 9d9cbb0..6080ed6 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -25,3 +25,4 @@ install_requires =
tensorboard >= 1.15.0
fasteners >= 0.18
pyyaml >= 6.0
+ ipynbname

View file

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "greeneye-monitor";
version = "4.0";
version = "4.0.1";
disabled = pythonOlder "3.10";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "jkeljo";
repo = "greeneye-monitor";
rev = "refs/tags/v${version}";
hash = "sha256-kMyFerb6T5316cr4T5hSo4HcpO5Hl5l+bMor5jon9yY=";
hash = "sha256-S/1MT9ZQ9G0F1WXqzNKhVo8vtfPLzr8WRlfYc7TU9iQ=";
};
postPatch = ''

View file

@ -22,10 +22,15 @@ buildPythonPackage rec {
"icoextract"
];
postInstall = ''
mkdir -p $out/share/thumbnailers
substituteAll ${./exe-thumbnailer.thumbnailer} $out/share/thumbnailers/exe-thumbnailer.thumbnailer
'';
meta = with lib; {
description = "Extract icons from Windows PE files";
homepage = "https://github.com/jlu5/icoextract";
license = licenses.mit;
maintainers = with maintainers; [ bryanasdev000 ];
maintainers = with maintainers; [ bryanasdev000 donovanglover ];
};
}

View file

@ -0,0 +1,3 @@
[Thumbnailer Entry]
Exec=@out@/bin/exe-thumbnailer -v -s %s %i %o
MimeType=application/x-ms-dos-executable;application/x-dosexec;application/x-msdownload

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, ipykernel
}:
buildPythonPackage rec {
pname = "ipynbname";
version = "2023.2.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-Riu915VmJIdtxOqB+nkoRas4cOREyh9res2uo32Mnr8=";
};
propagatedBuildInputs = [
ipykernel
];
pythonImportsCheck = [ "ipynbname" ];
# upstream has no tests
doCheck = false;
meta = {
description = "Simply returns either notebook filename or the full path to the notebook";
homepage = "https://github.com/msm1089/ipynbname";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View file

@ -1,29 +1,33 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, fetchPypi
, hatch-jupyter-builder
, hatch-nodejs-version
, hatchling
, pythonRelaxDepsHook
, jupyter-events
, jupyter-server
, jupyter-server-fileid
, jupyter-ydoc
, ypy-websocket
, pytest-asyncio
, pytest-jupyter
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "jupyter-server-ydoc";
version = "0.8.0";
pname = "jupyter-collaboration";
version = "1.0.1";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
format = "pyproject";
src = fetchFromGitHub {
owner = "jupyterlab";
repo = "jupyter_collaboration";
rev = "refs/tags/v${version}";
hash = "sha256-KLb7kU5jsj6ihGO6HU3Y7uF+0PcwKoQlqQAhtO0oaJw=";
src = fetchPypi {
pname = "jupyter_collaboration";
inherit version;
hash = "sha256-cf7BpF6WSoHQJQW0IXdpCAGTdkX9RNWZ4JovTHvcPho=";
};
postPatch = ''
@ -31,6 +35,8 @@ buildPythonPackage rec {
'';
nativeBuildInputs = [
hatch-jupyter-builder
hatch-nodejs-version
hatchling
pythonRelaxDepsHook
];
@ -40,27 +46,34 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
jupyter-events
jupyter-server
jupyter-server-fileid
jupyter-ydoc
ypy-websocket
];
pythonImportsCheck = [ "jupyter_server_ydoc" ];
pythonImportsCheck = [ "jupyter_collaboration" ];
nativeCheckInputs = [
pytest-asyncio
pytest-jupyter
pytestCheckHook
];
pytestFlagsArray = [
"-W" "ignore::DeprecationWarning"
];
preCheck = ''
export HOME=$TEMP
'';
meta = {
changelog = "https://github.com/jupyterlab/jupyter_collaboration/blob/${src.rev}/CHANGELOG.md";
description = "A Jupyter Server Extension Providing Y Documents";
changelog = "https://github.com/jupyterlab/jupyter_collaboration/blob/v${version}/CHANGELOG.md";
description = "JupyterLab Extension enabling Real-Time Collaboration";
homepage = "https://github.com/jupyterlab/jupyter_collaboration";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ dotlambda ];
maintainers = lib.teams.jupyter.members;
};
}

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, ipython_genutils
, jupyter-contrib-core
, jupyter-highlight-selected-word
, jupyter-nbextensions-configurator
@ -19,6 +20,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
ipython_genutils
jupyter-contrib-core
jupyter-highlight-selected-word
jupyter-nbextensions-configurator

View file

@ -1,7 +1,13 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, jupyter-contrib-core
, jupyter-core
, jupyter-server
, notebook
, pyyaml
, tornado
}:
buildPythonPackage rec {
@ -15,7 +21,23 @@ buildPythonPackage rec {
hash = "sha256-ovKYHATRAC5a5qTMv32ohU2gJd15/fRKXa5HI0zGp/0=";
};
propagatedBuildInputs = [ jupyter-contrib-core ];
patches = [
# https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/pull/166
(fetchpatch {
name = "notebook-v7-compat.patch";
url = "https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/commit/a600cef9222ca0c61a6912eb29d8fa0323409705.patch";
hash = "sha256-Rt9r5ZOgnhBcs18+ET5+k0/t980I2DiVN8oHkGLp0iw=";
})
];
propagatedBuildInputs = [
jupyter-contrib-core
jupyter-core
jupyter-server
notebook
pyyaml
tornado
];
pythonImportsCheck = [ "jupyter_nbextensions_configurator" ];

View file

@ -15,7 +15,6 @@
, jinja2
, tornado
, pyzmq
, flaky
, ipykernel
, traitlets
, jupyter-core
@ -24,25 +23,27 @@
, jupyter-server-terminals
, nbformat
, nbconvert
, overrides
, packaging
, send2trash
, terminado
, prometheus-client
, anyio
, websocket-client
, overrides
, requests
, flaky
}:
buildPythonPackage rec {
pname = "jupyter-server";
version = "2.7.0";
format = "pyproject";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "jupyter_server";
inherit version;
hash= "sha256-NtoKJm0xpBrDNaNmyIkzwX36W7gXpI9cAsFtMDvJR38=";
hash = "sha256-NtoKJm0xpBrDNaNmyIkzwX36W7gXpI9cAsFtMDvJR38=";
};
nativeBuildInputs = [
@ -62,24 +63,23 @@ buildPythonPackage rec {
jupyter-server-terminals
nbformat
nbconvert
overrides
packaging
send2trash
terminado
prometheus-client
anyio
websocket-client
overrides
];
nativeCheckInputs = [
flaky
ipykernel
pandoc
pytestCheckHook
pytest-console-scripts
pytest-jupyter
pytest-timeout
pytest-tornasync
requests
flaky
];
pytestFlagsArray = [
@ -94,11 +94,16 @@ buildPythonPackage rec {
disabledTests = [
"test_server_extension_list"
"test_cull_idle"
"test_server_extension_list"
] ++ lib.optionals stdenv.isDarwin [
# attempts to use trashcan, build env doesn't allow this
"test_delete"
# test is presumable broken in sandbox
"test_authorized_requests"
# Insufficient access privileges for operation
"test_regression_is_hidden"
] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
"test_copy_big_dir"
];
disabledTestPaths = [
@ -112,10 +117,10 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
meta = with lib; {
changelog = "https://github.com/jupyter-server/jupyter_server/releases/tag/v${version}";
changelog = "https://github.com/jupyter-server/jupyter_server/blob/v${version}/CHANGELOG.md";
description = "The backendi.e. core services, APIs, and REST endpointsto Jupyter web applications";
homepage = "https://github.com/jupyter-server/jupyter_server";
license = licenses.bsdOriginal;
maintainers = [ maintainers.elohmeier ];
maintainers = lib.teams.jupyter.members;
};
}

View file

@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "jupyter-ydoc";
version = "0.3.4";
version = "1.0.2";
format = "pyproject";
src = fetchPypi {
pname = "jupyter_ydoc";
inherit version;
hash = "sha256-WiJi5wvwBLgsxs5xZ16TMKoFj+MNsuh82BJa1N0a5OE=";
hash = "sha256-D5W+3j8eCB4H1cV8A8ZY46Ukfg7xiIkHT776IN0+ylM=";
};
nativeBuildInputs = [
@ -46,6 +46,6 @@ buildPythonPackage rec {
description = "Document structures for collaborative editing using Ypy";
homepage = "https://github.com/jupyter-server/jupyter_ydoc";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ dotlambda ];
maintainers = lib.teams.jupyter.members;
};
}

View file

@ -1,54 +1,50 @@
{ lib
, buildPythonPackage
, fetchPypi
, ipython
, hatch-jupyter-builder
, hatchling
, async-lru
, packaging
, tornado
, ipykernel
, jupyter-core
, jupyter-lsp
, jupyterlab_server
, jupyter-server
, jupyter-server-ydoc
, notebook
, notebook-shim
, jinja2
, tomli
, pythonOlder
, jupyter-packaging
, pythonRelaxDepsHook
, nbclassic
}:
buildPythonPackage rec {
pname = "jupyterlab";
version = "3.6.3";
format = "setuptools";
version = "4.0.3";
format = "pyproject";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-Nz6c+4py7dKUvhTxZmJWOiIM7PD7Jt56qxr5optom4I=";
hash = "sha256-4U0c5GphMCgRHQ1Hah19awlAA7dGK6xmn1tHgxeryzk=";
};
nativeBuildInputs = [
jupyter-packaging
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"jupyter-ydoc"
"jupyter-server-ydoc"
hatch-jupyter-builder
hatchling
];
propagatedBuildInputs = [
ipython
async-lru
packaging
tornado
ipykernel
jupyter-core
jupyter-lsp
jupyterlab_server
jupyter-server
jupyter-server-ydoc
nbclassic
notebook
notebook-shim
jinja2
] ++ lib.optionals (pythonOlder "3.11") [
tomli
@ -68,10 +64,10 @@ buildPythonPackage rec {
];
meta = with lib; {
changelog = "https://github.com/jupyterlab/jupyterlab/releases/tag/v${version}";
changelog = "https://github.com/jupyterlab/jupyterlab/blob/v${version}/CHANGELOG.md";
description = "Jupyter lab environment notebook server extension";
license = with licenses; [ bsd3 ];
license = licenses.bsd3;
homepage = "https://jupyter.org/";
maintainers = with maintainers; [ zimbatm ];
maintainers = lib.teams.jupyter.members;
};
}

View file

@ -19,14 +19,14 @@
buildPythonPackage rec {
pname = "jupyterlab_server";
version = "2.19.0";
version = "2.24.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-muwhohg7vt2fkahmKDVUSVdfGGLYiyitX5BQGdMebCE=";
hash = "sha256-Tm+Z4KVXm7vDLkScTbsDlWHU8aeCfVczJz7VZzjyHwc=";
};
nativeBuildInputs = [
@ -77,6 +77,6 @@ buildPythonPackage rec {
homepage = "https://jupyterlab-server.readthedocs.io/";
changelog = "https://github.com/jupyterlab/jupyterlab_server/blob/v${version}/CHANGELOG.md";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ ];
maintainers = lib.teams.jupyter.members;
};
}

View file

@ -3,97 +3,70 @@
, buildPythonPackage
, pythonOlder
, fetchPypi
, argon2-cffi
, glibcLocales
, mock
, jinja2
, hatch-jupyter-builder
, hatchling
, jupyter-server
, jupyterlab
, jupyterlab_server
, notebook-shim
, tornado
, ipython_genutils
, traitlets
, jupyter-core
, jupyter-client
, nbformat
, nbclassic
, nbconvert
, ipykernel
, terminado
, requests
, send2trash
, pexpect
, prometheus-client
, pytest-jupyter
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "notebook";
version = "6.5.2";
disabled = pythonOlder "3.7";
version = "7.0.1";
disabled = pythonOlder "3.8";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-wYl+UxfiJfx4tFVJpqtLZo5MmW/QOgTpOP5eevK//9A=";
hash = "sha256-LhatTmPqiffvviEu58FpP8+lq1X/73UEdTD3SvS9kmw=";
};
LC_ALL = "en_US.utf8";
nativeCheckInputs = [ pytestCheckHook glibcLocales ];
propagatedBuildInputs = [
jinja2
tornado
ipython_genutils
traitlets
jupyter-core
send2trash
jupyter-client
nbformat
nbclassic
nbconvert
ipykernel
terminado
requests
pexpect
prometheus-client
argon2-cffi
];
postPatch = ''
# Remove selenium tests
rm -rf notebook/tests/selenium
export HOME=$TMPDIR
substituteInPlace pyproject.toml \
--replace "timeout = 300" ""
'';
disabledTests = [
# a "system_config" is generated, and fails many tests
"config"
"load_ordered"
# requires jupyter, but will cause circular imports
"test_run"
"TestInstallServerExtension"
"launch_socket"
"sock_server"
"test_list_formats" # tries to find python MIME type
"KernelCullingTest" # has a race condition failing on slower hardware
"test_connections" # tornado.simple_httpclient.HTTPTimeoutError: Timeout during request"
] ++ lib.optionals stdenv.isDarwin [
"test_delete"
"test_checkpoints_follow_file"
nativeBuildInputs = [
hatch-jupyter-builder
hatchling
jupyterlab
];
disabledTestPaths = lib.optionals stdenv.isDarwin [
# requires local networking
"notebook/auth/tests/test_login.py"
"notebook/bundler/tests/test_bundler_api.py"
propagatedBuildInputs = [
jupyter-server
jupyterlab
jupyterlab_server
notebook-shim
tornado
];
nativeCheckInputs = [
pytest-jupyter
pytestCheckHook
];
pytestFlagsArray = [
"-W" "ignore::DeprecationWarning"
];
env = {
JUPYTER_PLATFORM_DIRS = 1;
};
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
meta = {
description = "The Jupyter HTML notebook is a web-based notebook environment for interactive computing";
changelog = "https://github.com/jupyter/notebook/blob/v${version}/CHANGELOG.md";
description = "Web-based notebook environment for interactive computing";
homepage = "https://github.com/jupyter/notebook";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
maintainers = lib.teams.jupyter.members;
mainProgram = "jupyter-notebook";
};
}

View file

@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "publicsuffixlist";
version = "0.10.0.20230804";
version = "0.10.0.20230806";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-J8yeq9CuzXGlqPjGf8hnV0IeI+Wg0Q5GS69/8z+FLp8=";
hash = "sha256-jDDqegAZOG0UTKPbh1H3V+5GrMGU6m2WGesXUEFJHJY=";
};
passthru.optional-dependencies = {

View file

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "versioneer";
version = "0.28";
version = "0.29";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "python-versioneer";
repo = "python-versioneer";
rev = "refs/tags/${version}";
hash = "sha256-Jy0c1I3kLgJAeGWzcgl5qVAWesf4EXaMIOW03B+1yWE=";
hash = "sha256-seYT/v691QB0LUzeI4MraegbNILU3tLO//9UbZIfe+A=";
};
nativeBuildInputs = [

View file

@ -36,5 +36,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
license = licenses.bsd2;
maintainers = with maintainers; [ offline screendriver marsam ];
platforms = nodejs.meta.platforms;
mainProgram = "yarn";
};
})

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "ihp-new";
version = "1.0.1";
version = "1.1.0";
src = fetchFromGitHub {
owner = "digitallyinduced";
repo = "ihp";
rev = "v${version}";
sha256 = "sha256-LUIC7Olu2qTxZwgkgVpmTgCEQYDlwvLQFQt3Ox/Vm48=";
sha256 = "sha256-o0ZSDaDFgwbXqozHfcXKxW4FeF7JqaGprAh6r7NhvhE";
};
dontConfigure = true;

View file

@ -3,14 +3,14 @@
let
# These names are how they are designated in https://xanmod.org.
ltsVariant = {
version = "6.1.42";
hash = "sha256-mOydloX5bff9wrFh40wf12GW+sION9SoGK2mAC1yNOw=";
version = "6.1.43";
hash = "sha256-IdNW0gzYl6L3OjN2meWnGbMZsTcLfSMbKFDx12Z9Ll4=";
variant = "lts";
};
mainVariant = {
version = "6.4.7";
hash = "sha256-0yOVCMqhoiWz8IlYRR0wXytAzjv81Cf5NoFa9qxGMm4=";
version = "6.4.8";
hash = "sha256-GkNWXngIx/aoSzu2pfpuv8kGwV9evbHl3hauux0lSwk=";
variant = "main";
};

View file

@ -16,13 +16,13 @@
buildGoModule rec {
pname = "evcc";
version = "0.118.10";
version = "0.118.11";
src = fetchFromGitHub {
owner = "evcc-io";
repo = pname;
rev = version;
hash = "sha256-A79l8tA73EeRp+BlJnIz/qtiBk33D4KvbJegqrgNvbg=";
hash = "sha256-gwFArZJX3DBUNaSpWD5n76VImWeDImR8b1s2czBrBaA=";
};
vendorHash = "sha256-0NTOit1nhX/zxQjHwU7ZOY1GsoIu959/KICCEWyfIQ4=";

View file

@ -0,0 +1,40 @@
From 29af78b112f7956ac1211fbfec2eadbf4caca40f Mon Sep 17 00:00:00 2001
From: Yaya <yaya@uwu.is>
Date: Sun, 6 Aug 2023 00:02:40 +0000
Subject: [PATCH] Revert "Config: Restrict permissions of OTP config file"
This reverts commit 4befb3b1d02f32eb2c56f12e4684a7bb3167b0ee.
The Nix store is world readable by design.
---
lib/pleroma/config/release_runtime_provider.ex | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/lib/pleroma/config/release_runtime_provider.ex b/lib/pleroma/config/release_runtime_provider.ex
index 9ec0f975e..91e5f1a54 100644
--- a/lib/pleroma/config/release_runtime_provider.ex
+++ b/lib/pleroma/config/release_runtime_provider.ex
@@ -20,20 +20,6 @@ def load(config, opts) do
with_runtime_config =
if File.exists?(config_path) do
- # <https://git.pleroma.social/pleroma/pleroma/-/issues/3135>
- %File.Stat{mode: mode} = File.lstat!(config_path)
-
- if Bitwise.band(mode, 0o007) > 0 do
- raise "Configuration at #{config_path} has world-permissions, execute the following: chmod o= #{config_path}"
- end
-
- if Bitwise.band(mode, 0o020) > 0 do
- raise "Configuration at #{config_path} has group-wise write permissions, execute the following: chmod g-w #{config_path}"
- end
-
- # Note: Elixir doesn't provides a getuid(2)
- # so cannot forbid group-read only when config is owned by us
-
runtime_config = Config.Reader.read!(config_path)
with_defaults
--
2.40.1

View file

@ -7,16 +7,20 @@
beamPackages.mixRelease rec {
pname = "pleroma";
version = "2.5.2";
version = "2.5.4";
src = fetchFromGitLab {
domain = "git.pleroma.social";
owner = "pleroma";
repo = "pleroma";
rev = "v${version}";
sha256 = "sha256-5qxop/hJj1hIsEcK6vJnI2RnAcLf3tO43B0e0FcNZcA=";
sha256 = "sha256-V/q6qpQkdrtMLzihV/0d3B+QUWwG4cYy8c2jNd5npww=";
};
patches = [
./Revert-Config-Restrict-permissions-of-OTP-config.patch
];
mixNixDeps = import ./mix.nix {
inherit beamPackages lib;
overrides = final: prev: {

View file

@ -0,0 +1,26 @@
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "bonk";
version = "0.3.2";
src = fetchFromGitHub {
owner = "elliot40404";
repo = "bonk";
rev = "v${version}";
hash = "sha256-Y6Hia+B7kIvdvpuZwWGJBsn+pOBmMynXai4KWkNs4ck=";
};
cargoHash = "sha256-XphSjB49zFB3zXYpdjjcVRdTAW2Bvg91aZkxDLvFy3M=";
meta = {
description = "The blazingly fast touch alternative written in Rust";
homepage = "https://github.com/elliot40404/bonk";
license = lib.licenses.mit;
mainProgram = "bonk";
maintainers = with lib.maintainers; [ dit7ya ];
};
}

View file

@ -44,5 +44,6 @@ rustPlatform.buildRustPackage rec {
changelog = "https://github.com/ajeetdsouza/zoxide/raw/v${version}/CHANGELOG.md";
license = with licenses; [ mit ];
maintainers = with maintainers; [ ysndr cole-h SuperSandro2000 ];
mainProgram = "zoxide";
};
}

View file

@ -58,7 +58,8 @@ buildGoModule rec {
description = "A Linux high-performance transparent proxy solution based on eBPF";
homepage = "https://github.com/daeuniverse/dae";
license = licenses.agpl3Only;
maintainers = with maintainers; [ oluceps ];
maintainers = with maintainers; [ oluceps pokon548 ];
platforms = platforms.linux;
mainProgram = "dae";
};
}

View file

@ -37,7 +37,8 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/j-lentz/iwgtk";
changelog = "https://github.com/j-lentz/iwgtk/blob/v${version}/CHANGELOG";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ figsoda ];
platforms = platforms.linux;
mainProgram = "iwgtk";
};
}

View file

@ -3,7 +3,6 @@ let
common = opts: callPackage (import ./common.nix opts) { };
in
{
openssh = common rec {
pname = "openssh";
version = "9.3p2";
@ -59,12 +58,12 @@ in
openssh_gssapi = common rec {
pname = "openssh-with-gssapi";
version = "9.0p1";
version = "9.3p2";
extraDesc = " with GSSAPI support";
src = fetchurl {
url = "mirror://openbsd/OpenSSH/portable/openssh-${version}.tar.gz";
sha256 = "12m2f9czvgmi7akp7xah6y7mrrpi280a3ksk47iwr7hy2q1475q3";
sha256 = "sha256-IA6+FH9ss/EB/QzfngJEKvfdyimN/9n0VoeOfMrGdug=";
};
extraPatches = [
@ -73,11 +72,10 @@ in
(fetchpatch {
name = "openssh-gssapi.patch";
url = "https://salsa.debian.org/ssh-team/openssh/raw/debian/1%25${version}-1/debian/patches/gssapi.patch";
sha256 = "sha256-VG7+2dfu09nvHWuSAB6sLGMmjRCDCysl/9FR1WSF21k=";
sha256 = "sha256-E36jxnPcu6RTyXXb9yVBCoFIVchiOSLX7L74ng1Dmao=";
})
];
extraNativeBuildInputs = [ autoreconfHook ];
extraMeta.knownVulnerabilities = [ "CVE-2023-28531" ];
};
}

View file

@ -4359,6 +4359,8 @@ with pkgs;
buildpack = callPackage ../development/tools/buildpack { };
bonk = callPackage ../tools/misc/bonk { };
bottom-rs = callPackage ../tools/misc/bottom-rs { };
bsp-layout = callPackage ../tools/misc/bsp-layout { };
@ -32858,6 +32860,8 @@ with pkgs;
krabby = callPackage ../applications/misc/krabby { };
kraft = callPackage ../applications/virtualization/kraft { };
krane = callPackage ../applications/networking/cluster/krane { };
krita = libsForQt5.callPackage ../applications/graphics/krita { };

View file

@ -184,6 +184,7 @@ mapAliases ({
jupyter_client = jupyter-client; # added 2021-10-15
jupyter_core = jupyter-core; # added 2023-01-05
jupyter_server = jupyter-server; # added 2023-01-05
jupyter-server-ydoc = jupyter-collaboration; # added 2023-07-18
Kajiki = kajiki; # added 2023-02-19
Keras = keras; # added 2021-11-25
ldap = python-ldap; # added 2022-09-16

View file

@ -5184,6 +5184,8 @@ self: super: with self; {
ipydatawidgets = callPackage ../development/python-modules/ipydatawidgets { };
ipynbname = callPackage ../development/python-modules/ipynbname { };
ipyniivue = callPackage ../development/python-modules/ipyniivue { };
ipykernel = callPackage ../development/python-modules/ipykernel { };
@ -5492,6 +5494,8 @@ self: super: with self; {
jupyter-client = callPackage ../development/python-modules/jupyter-client { };
jupyter-collaboration = callPackage ../development/python-modules/jupyter-collaboration { };
jupyter-contrib-core = callPackage ../development/python-modules/jupyter-contrib-core { };
jupyter-contrib-nbextensions = callPackage ../development/python-modules/jupyter-contrib-nbextensions { };
@ -5514,8 +5518,6 @@ self: super: with self; {
jupyter-server-terminals = callPackage ../development/python-modules/jupyter-server-terminals { };
jupyter-server-ydoc = callPackage ../development/python-modules/jupyter-server-ydoc { };
jupyter-ui-poll = callPackage ../development/python-modules/jupyter-ui-poll { };
jupyter-ydoc = callPackage ../development/python-modules/jupyter-ydoc { };