lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
99dd0da8 55fbb9e2

+312 -104
+5
.github/labeler.yml
··· 65 65 - pkgs/development/lua-modules/**/* 66 66 - pkgs/top-level/lua-packages.nix 67 67 68 + "6.topic: mate": 69 + - nixos/modules/services/x11/desktop-managers/mate.nix 70 + - nixos/tests/mate.nix 71 + - pkgs/desktops/mate/**/* 72 + 68 73 "6.topic: nixos": 69 74 - nixos/**/* 70 75 - pkgs/os-specific/linux/nixos-rebuild/**/*
+1
nixos/tests/all-tests.nix
··· 377 377 man = handleTest ./man.nix {}; 378 378 mariadb-galera = handleTest ./mysql/mariadb-galera.nix {}; 379 379 mastodon = discoverTests (import ./web-apps/mastodon { inherit handleTestOn; }); 380 + mate = handleTest ./mate.nix {}; 380 381 matomo = handleTest ./matomo.nix {}; 381 382 matrix-appservice-irc = handleTest ./matrix/appservice-irc.nix {}; 382 383 matrix-conduit = handleTest ./matrix/conduit.nix {};
-1
nixos/tests/evcc.nix
··· 88 88 with subtest("Check journal for errors"): 89 89 _, output = machine.execute("journalctl -o cat -u evcc.service") 90 90 assert "FATAL" not in output 91 - assert "ERROR" not in output 92 91 93 92 with subtest("Check systemd hardening"): 94 93 _, output = machine.execute("systemd-analyze security evcc.service | grep -v '✓'")
+58
nixos/tests/mate.nix
··· 1 + import ./make-test-python.nix ({ pkgs, lib, ... }: { 2 + name = "mate"; 3 + 4 + meta = { 5 + maintainers = lib.teams.mate.members; 6 + }; 7 + 8 + nodes.machine = { ... }: { 9 + imports = [ 10 + ./common/user-account.nix 11 + ]; 12 + 13 + services.xserver.enable = true; 14 + 15 + services.xserver.displayManager = { 16 + lightdm.enable = true; 17 + autoLogin = { 18 + enable = true; 19 + user = "alice"; 20 + }; 21 + }; 22 + 23 + services.xserver.desktopManager.mate.enable = true; 24 + 25 + # Silence log spam due to no sound drivers loaded: 26 + # ALSA lib confmisc.c:855:(parse_card) cannot find card '0' 27 + hardware.pulseaudio.enable = true; 28 + }; 29 + 30 + testScript = { nodes, ... }: 31 + let 32 + user = nodes.machine.users.users.alice; 33 + in 34 + '' 35 + with subtest("Wait for login"): 36 + machine.wait_for_x() 37 + machine.wait_for_file("${user.home}/.Xauthority") 38 + machine.succeed("xauth merge ${user.home}/.Xauthority") 39 + 40 + with subtest("Check that logging in has given the user ownership of devices"): 41 + machine.succeed("getfacl -p /dev/snd/timer | grep -q ${user.name}") 42 + 43 + with subtest("Check if MATE session components actually start"): 44 + machine.wait_until_succeeds("pgrep marco") 45 + machine.wait_for_window("marco") 46 + machine.wait_until_succeeds("pgrep mate-panel") 47 + machine.wait_for_window("Top Panel") 48 + machine.wait_for_window("Bottom Panel") 49 + machine.wait_until_succeeds("pgrep caja") 50 + machine.wait_for_window("Caja") 51 + 52 + with subtest("Open MATE terminal"): 53 + machine.succeed("su - ${user.name} -c 'DISPLAY=:0.0 mate-terminal >&2 &'") 54 + machine.wait_for_window("Terminal") 55 + machine.sleep(20) 56 + machine.screenshot("screen") 57 + ''; 58 + })
+2 -2
pkgs/applications/backup/timeshift/unwrapped.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "timeshift"; 18 - version = "22.11.1"; 18 + version = "22.11.2"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "linuxmint"; 22 22 repo = "timeshift"; 23 23 rev = version; 24 - sha256 = "JYYiqJzLszaCJSl7fDb9Oz8tdIYAnqEbJoRg4zw3wbg="; 24 + sha256 = "yZNERRoNZ1K7BRiAu7sqVQyhghsS/AeZSODMVSm46oY="; 25 25 }; 26 26 27 27 patches = [
+3 -2
pkgs/applications/display-managers/lightdm-slick-greeter/default.nix
··· 20 20 21 21 stdenv.mkDerivation rec { 22 22 pname = "lightdm-slick-greeter"; 23 - version = "1.6.0"; 23 + version = "1.6.1"; 24 24 25 25 src = fetchFromGitHub { 26 26 owner = "linuxmint"; 27 27 repo = "slick-greeter"; 28 28 rev = version; 29 - sha256 = "sha256-XoGha0DyrtrGXW72Zvnk1FrvULPMYc0FvQj4JFSKxXo="; 29 + sha256 = "sha256-k/E3bR63kesHQ/we+ctC0UEYE5YdZ6Lv5lYuXqCOvKA="; 30 30 }; 31 31 32 32 nativeBuildInputs = [ ··· 56 56 substituteInPlace src/slick-greeter.vala \ 57 57 --replace "/usr/bin/numlockx" "${numlockx}/bin/numlockx" \ 58 58 --replace "/usr/share/xsessions/" "/run/current-system/sw/share/xsessions/" \ 59 + --replace "/usr/share/wayland-sessions/" "/run/current-system/sw/share/wayland-sessions/" \ 59 60 --replace "/usr/bin/slick-greeter" "${placeholder "out"}/bin/slick-greeter" 60 61 61 62 substituteInPlace src/session-list.vala \
+3 -3
pkgs/applications/misc/tut/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "tut"; 5 - version = "1.0.30"; 5 + version = "1.0.34"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "RasmusLindroth"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-Cr9aDfreTDeFV5mws29pYRUkUjHVcLGEZyUvZYAp3B8="; 11 + sha256 = "sha256-AnuPTv9W+2yDcM803DZaNIn4S7A78JEv6S8pA18whVA="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-ECaePGmSaf0vuKbvgdUMOF8oCpc14srFFMmPJPFFqw4="; 14 + vendorHash = "sha256-go7eZHhrQ1ZcLOn56a3Azn3eRyAesAkgLabPbwzKtds="; 15 15 16 16 meta = with lib; { 17 17 description = "A TUI for Mastodon with vim inspired keys";
+48
pkgs/applications/virtualization/youki/default.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , pkg-config 5 + , installShellFiles 6 + , dbus 7 + , libseccomp 8 + , systemd 9 + }: 10 + 11 + rustPlatform.buildRustPackage rec { 12 + pname = "youki"; 13 + version = "0.0.4"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "containers"; 17 + repo = pname; 18 + rev = "v${version}"; 19 + sha256 = "sha256-XwapCfu6Me0xSe+qFz9BFRYpQvG+ztb6QyhGejYRPb4="; 20 + }; 21 + 22 + nativeBuildInputs = [ pkg-config installShellFiles ]; 23 + 24 + buildInputs = [ dbus libseccomp systemd ]; 25 + 26 + postInstall = '' 27 + installShellCompletion --cmd youki \ 28 + --bash <($out/bin/youki completion -s bash) \ 29 + --fish <($out/bin/youki completion -s fish) \ 30 + --zsh <($out/bin/youki completion -s zsh) 31 + ''; 32 + 33 + cargoBuildFlags = [ "-p" "youki" ]; 34 + cargoTestFlags = [ "-p" "youki" ]; 35 + 36 + cargoSha256 = "sha256-PT1kVo4gQFH9sIprEoAioNvDL/soMHcA2utEiQJPS/0="; 37 + 38 + doCheck = false; # test failed 39 + 40 + meta = with lib; { 41 + description = "A container runtime written in Rust"; 42 + homepage = "https://containers.github.io/youki/"; 43 + changelog = "https://github.com/containers/youki/releases/tag/v${version}"; 44 + license = licenses.asl20; 45 + maintainers = with maintainers; [ candyc1oud ]; 46 + platforms = platforms.linux; 47 + }; 48 + }
+2 -2
pkgs/desktops/cinnamon/cinnamon-control-center/default.nix
··· 35 35 36 36 stdenv.mkDerivation rec { 37 37 pname = "cinnamon-control-center"; 38 - version = "5.6.0"; 38 + version = "5.6.1"; 39 39 40 40 src = fetchFromGitHub { 41 41 owner = "linuxmint"; 42 42 repo = pname; 43 43 rev = version; 44 - hash = "sha256-WK35uDckIYU4HwuYtLj+CFVJD8O78LTQcnOvjp/et2s="; 44 + hash = "sha256-rp3K7SqGw8da2U61VjKiqUyT5vCUVk4XZdRYtLwRtfQ="; 45 45 }; 46 46 47 47 buildInputs = [
+2 -2
pkgs/desktops/cinnamon/cinnamon-desktop/default.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "cinnamon-desktop"; 21 - version = "5.6.0"; 21 + version = "5.6.1"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "linuxmint"; 25 25 repo = pname; 26 26 rev = version; 27 - hash = "sha256-ajtKvy9CMr+Vsmdn49ZWYtbniZV1dqWJGTou3QY4oPc="; 27 + hash = "sha256-h2Jl/4SreniZtxziDwM0iwHXgGBrnHu8NLkIX7VGP18="; 28 28 }; 29 29 30 30 outputs = [ "out" "dev" ];
+2 -2
pkgs/desktops/cinnamon/cinnamon-screensaver/default.nix
··· 29 29 30 30 stdenv.mkDerivation rec { 31 31 pname = "cinnamon-screensaver"; 32 - version = "5.6.2"; 32 + version = "5.6.3"; 33 33 34 34 src = fetchFromGitHub { 35 35 owner = "linuxmint"; 36 36 repo = pname; 37 37 rev = version; 38 - hash = "sha256-xsxNGDFiBzVtoCV94iUuia45FRJGyGO522u6p1AIR6g="; 38 + hash = "sha256-S4+9ZTpDwwvYTc3gz0YQBYjgygp8KP94azkiJcH6xCk="; 39 39 }; 40 40 41 41 nativeBuildInputs = [
+2 -2
pkgs/desktops/cinnamon/cinnamon-settings-daemon/default.nix
··· 32 32 33 33 stdenv.mkDerivation rec { 34 34 pname = "cinnamon-settings-daemon"; 35 - version = "5.6.0"; 35 + version = "5.6.1"; 36 36 37 37 src = fetchFromGitHub { 38 38 owner = "linuxmint"; 39 39 repo = pname; 40 40 rev = version; 41 - hash = "sha256-VUGOBvMInruX1JVk9ECP8++FUrBQwDJhkZT/1pPg2wU="; 41 + hash = "sha256-QR77O3rFfY0+6cKoS75xoFRplNo4nvTMtR2rNKZERYE="; 42 42 }; 43 43 44 44 patches = [
+4 -3
pkgs/desktops/cinnamon/mint-cursor-themes/default.nix
··· 5 5 6 6 stdenvNoCC.mkDerivation rec { 7 7 pname = "mint-cursor-themes"; 8 - version = "unstable-2022-11-29"; 8 + version = "1.0.1"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "linuxmint"; 12 12 repo = pname; 13 - rev = "aa6bb767831ac43d1768c2e639de713a4a1eba8d"; 14 - hash = "sha256-UQnRrylUo9zuDiAwQ1COtXMtq4XTbxtMle41p+pzxJc="; 13 + # They don't really do tags, this is just a named commit. 14 + rev = "e17f8a4620827235dabbe5221bd0ee8c44dad0d5"; 15 + hash = "sha256-yLUmIVh884uDVkNil7qxf6t/gykipzBvPgzwmY3zvQk="; 15 16 }; 16 17 17 18 installPhase = ''
+2 -10
pkgs/desktops/cinnamon/muffin/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , substituteAll 6 5 , cairo 7 6 , cinnamon-desktop ··· 36 35 37 36 stdenv.mkDerivation rec { 38 37 pname = "muffin"; 39 - version = "5.6.2"; 38 + version = "5.6.3"; 40 39 41 40 outputs = [ "out" "dev" "man" ]; 42 41 ··· 44 43 owner = "linuxmint"; 45 44 repo = pname; 46 45 rev = version; 47 - hash = "sha256-bHEBzl0aBXsHOhSWJUz428pG5M6L0s/Q6acKO+2oMXo="; 46 + hash = "sha256-qcm1CRUMKFx4KDXBnaIVLHuZTzSMEWEBFTWMe85pJDE="; 48 47 }; 49 48 50 49 patches = [ 51 50 (substituteAll { 52 51 src = ./fix-paths.patch; 53 52 zenity = gnome.zenity; 54 - }) 55 - 56 - # compositor: Fix crash when restarting Cinnamon 57 - # https://github.com/linuxmint/muffin/pull/655 58 - (fetchpatch { 59 - url = "https://github.com/linuxmint/muffin/commit/1a941ec603a1565dbd2f943f7da6e877d1541bcb.patch"; 60 - sha256 = "sha256-6x64rWQ20ZjM9z79Pg6QMDPeFN5VNdDHBueRvy2kA6c="; 61 53 }) 62 54 ]; 63 55
+2 -7
pkgs/desktops/cinnamon/nemo/default.nix
··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "nemo"; 26 - version = "5.6.1"; 26 + version = "5.6.2"; 27 27 28 28 src = fetchFromGitHub { 29 29 owner = "linuxmint"; 30 30 repo = pname; 31 31 rev = version; 32 - sha256 = "sha256-ztx3Y+n9Bpzuz06mbkis3kdlM/0JrOaMDbRF5glzkDE="; 32 + sha256 = "sha256-JwwSeY+TsbYc2ZXoxR9aja0Hb8AmrWK79cv1ApAgcpQ="; 33 33 }; 34 34 35 35 patches = [ 36 36 # Load extensions from NEMO_EXTENSION_DIR environment variable 37 37 # https://github.com/NixOS/nixpkgs/issues/78327 38 38 ./load-extensions-from-env.patch 39 - 40 - # Don't populate nemo actions from /run/current-system/sw/share 41 - # They should only be loaded exactly once from $out/share 42 - # https://github.com/NixOS/nixpkgs/issues/190781 43 - ./fix-nemo-actions-duplicate-menu-items.patch 44 39 ]; 45 40 46 41 outputs = [ "out" "dev" ];
-48
pkgs/desktops/cinnamon/nemo/fix-nemo-actions-duplicate-menu-items.patch
··· 1 - diff --git a/libnemo-private/nemo-action-manager.c b/libnemo-private/nemo-action-manager.c 2 - index 4dac198..b671421 100644 3 - --- a/libnemo-private/nemo-action-manager.c 4 - +++ b/libnemo-private/nemo-action-manager.c 5 - @@ -146,6 +146,8 @@ set_up_actions_directories (NemoActionManager *action_manager) 6 - data_dirs = (gchar **) g_get_system_data_dirs (); 7 - 8 - for (i = 0; i < g_strv_length (data_dirs); i++) { 9 - + if (g_strcmp0 (data_dirs[i], "/run/current-system/sw/share") == 0) 10 - + continue; 11 - path = g_build_filename (data_dirs[i], "nemo", "actions", NULL); 12 - uri = g_filename_to_uri (path, NULL, NULL); 13 - 14 - diff --git a/src/nemo-action-config-widget.c b/src/nemo-action-config-widget.c 15 - index fc4075e..6e1c837 100644 16 - --- a/src/nemo-action-config-widget.c 17 - +++ b/src/nemo-action-config-widget.c 18 - @@ -221,6 +221,8 @@ refresh_widget (NemoActionConfigWidget *widget) 19 - data_dirs = (gchar **) g_get_system_data_dirs (); 20 - 21 - for (i = 0; i < g_strv_length (data_dirs); i++) { 22 - + if (g_strcmp0 (data_dirs[i], "/run/current-system/sw/share") == 0) 23 - + continue; 24 - path = g_build_filename (data_dirs[i], "nemo", "actions", NULL); 25 - populate_from_directory (widget, path); 26 - g_clear_pointer (&path, g_free); 27 - @@ -390,6 +392,8 @@ static void setup_dir_monitors (NemoActionConfigWidget *widget) 28 - 29 - guint i; 30 - for (i = 0; i < g_strv_length (data_dirs); i++) { 31 - + if (g_strcmp0 (data_dirs[i], "/run/current-system/sw/share") == 0) 32 - + continue; 33 - gchar *path = g_build_filename (data_dirs[i], "nemo", "actions", NULL); 34 - try_monitor_path (widget, path); 35 - g_free (path); 36 - diff --git a/src/nemo-script-config-widget.c b/src/nemo-script-config-widget.c 37 - index 3a2d349..b8a85b4 100644 38 - --- a/src/nemo-script-config-widget.c 39 - +++ b/src/nemo-script-config-widget.c 40 - @@ -288,6 +288,8 @@ static void setup_dir_monitors (NemoScriptConfigWidget *widget) 41 - 42 - guint i; 43 - for (i = 0; i < g_strv_length (data_dirs); i++) { 44 - + if (g_strcmp0 (data_dirs[i], "/run/current-system/sw/share") == 0) 45 - + continue; 46 - gchar *path = g_build_filename (data_dirs[i], "nemo", "actions", NULL); 47 - try_monitor_path (widget, path); 48 - g_free (path);
+4
pkgs/desktops/cinnamon/nemo/wrapper.nix
··· 24 24 --set "NEMO_PYTHON_EXTENSION_DIR" "$out/share/nemo-python/extensions" 25 25 done 26 26 27 + # Don't populate the same nemo actions twice when having this globally installed 28 + # https://github.com/NixOS/nixpkgs/issues/190781#issuecomment-1365601853 29 + rm -r $out/share/nemo/actions 30 + 27 31 # Point to wrapped binary in all service files 28 32 for file in "share/dbus-1/services/nemo.FileManager1.service" \ 29 33 "share/dbus-1/services/nemo.service"
+2 -2
pkgs/desktops/cinnamon/xviewer/default.nix
··· 27 27 28 28 stdenv.mkDerivation rec { 29 29 pname = "xviewer"; 30 - version = "3.2.11"; 30 + version = "3.2.12"; 31 31 32 32 src = fetchFromGitHub { 33 33 owner = "linuxmint"; 34 34 repo = pname; 35 35 rev = version; 36 - sha256 = "sha256-EyrK4mnAHt/Lypuz7XX7+GFGfkfC5VDIit2WYZawI04="; 36 + sha256 = "sha256-tiZeC862gHbZt76sbxseUu9vWN+1huftXpE7lQLkGKU="; 37 37 }; 38 38 39 39 nativeBuildInputs = [
+4
pkgs/development/python-modules/hydra-core/default.nix
··· 7 7 , importlib-resources 8 8 , jre_headless 9 9 , omegaconf 10 + , packaging 10 11 , pytestCheckHook 11 12 , pythonOlder 12 13 , substituteAll ··· 48 49 propagatedBuildInputs = [ 49 50 antlr4-python3-runtime 50 51 omegaconf 52 + packaging 51 53 ] ++ lib.optionals (pythonOlder "3.9") [ 52 54 importlib-resources 53 55 ]; ··· 69 71 70 72 pythonImportsCheck = [ 71 73 "hydra" 74 + # See https://github.com/NixOS/nixpkgs/issues/208843 75 + "hydra.version" 72 76 ]; 73 77 74 78 meta = with lib; {
+61
pkgs/development/python-modules/nocturne/default.nix
··· 1 + { buildPythonPackage 2 + , cmake 3 + , fetchFromGitHub 4 + , gtest 5 + , hydra-core 6 + , lib 7 + , nlohmann_json 8 + , pybind11 9 + , PyVirtualDisplay 10 + , sfml 11 + , substituteAll 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "nocturne"; 16 + version = "unstable-2022-10-15"; 17 + format = "setuptools"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "facebookresearch"; 21 + repo = pname; 22 + rev = "ae0a4e361457caf6b7e397675cc86f46161405ed"; 23 + hash = "sha256-pFVbl4m7qX1mJgleNabRboS9klDDsbzUa4PYL5+Jupc="; 24 + }; 25 + 26 + # Simulate the git submodules but with nixpkgs dependencies 27 + postUnpack = '' 28 + rm -rf $sourceRoot/third_party/* 29 + ln -s ${nlohmann_json.src} $sourceRoot/third_party/json 30 + ln -s ${pybind11.src} $sourceRoot/third_party/pybind11 31 + ''; 32 + 33 + patches = [ 34 + (substituteAll { 35 + src = ./dependencies.patch; 36 + gtest_src = gtest.src; 37 + }) 38 + ]; 39 + 40 + nativeBuildInputs = [ cmake ]; 41 + dontUseCmakeConfigure = true; 42 + 43 + buildInputs = [ sfml ]; 44 + 45 + # hydra-core and PyVirtualDisplay are not declared as dependences but they are requirements 46 + propagatedBuildInputs = [ hydra-core PyVirtualDisplay ]; 47 + 48 + # Test suite requires hydra-submitit-launcher which is not packaged as of 2022-01-02 49 + doCheck = false; 50 + 51 + pythonImportsCheck = [ 52 + "nocturne" 53 + ]; 54 + 55 + meta = with lib; { 56 + description = "A data-driven, fast driving simulator for multi-agent coordination under partial observability"; 57 + homepage = "https://github.com/facebookresearch/nocturne"; 58 + license = licenses.mit; 59 + maintainers = with maintainers; [ samuela ]; 60 + }; 61 + }
+27
pkgs/development/python-modules/nocturne/dependencies.patch
··· 1 + diff --git a/nocturne/cpp/CMakeLists.txt b/nocturne/cpp/CMakeLists.txt 2 + index c67815f..e1f825b 100644 3 + --- a/nocturne/cpp/CMakeLists.txt 4 + +++ b/nocturne/cpp/CMakeLists.txt 5 + @@ -62,8 +62,7 @@ include(FetchContent) 6 + 7 + FetchContent_Declare( 8 + googletest 9 + - GIT_REPOSITORY https://github.com/google/googletest.git 10 + - GIT_TAG main 11 + + SOURCE_DIR @gtest_src@ 12 + ) 13 + 14 + set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) 15 + diff --git a/setup.py b/setup.py 16 + index 4863ae6..b5d3545 100644 17 + --- a/setup.py 18 + +++ b/setup.py 19 + @@ -92,6 +92,8 @@ def main(): 20 + # with open("./requirements.txt", "r") as f: 21 + # requires = f.read().splitlines() 22 + setup( 23 + + # Adding `packages=` is necessary to get `python setup.py install` to work 24 + + packages=["nocturne", "cfgs"], 25 + ext_modules=[CMakeExtension("nocturne", "./nocturne")], 26 + cmdclass=dict(build_ext=CMakeBuild), 27 + )
+2 -2
pkgs/development/python-modules/pytest-xvfb/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , pytest 5 - , virtual-display 5 + , PyVirtualDisplay 6 6 , isPy27 7 7 }: 8 8 ··· 19 19 buildInputs = [ pytest ]; 20 20 21 21 propagatedBuildInputs = [ 22 - virtual-display 22 + PyVirtualDisplay 23 23 ]; 24 24 25 25 meta = with lib; {
+50
pkgs/development/python-modules/thefuzz/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pythonOlder 5 + , pytestCheckHook 6 + , hypothesis 7 + , python-Levenshtein 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "thefuzz"; 12 + version = "0.19.0"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 16 + 17 + src = fetchPypi { 18 + inherit pname version; 19 + hash = "sha256-b3Em2y8silQhKwXjp0DkX0KRxJfXXSB1Fyj2Nbt0qj0="; 20 + }; 21 + 22 + propagatedBuildInputs = [ python-Levenshtein ]; 23 + 24 + # Skip linting 25 + postPatch = '' 26 + substituteInPlace test_thefuzz.py --replace "import pycodestyle" "" 27 + ''; 28 + 29 + pythonImportsCheck = [ 30 + "thefuzz" 31 + ]; 32 + 33 + checkInputs = [ 34 + hypothesis 35 + pytestCheckHook 36 + ]; 37 + 38 + disabledTests = [ 39 + # Skip linting 40 + "test_pep8_conformance" 41 + ]; 42 + 43 + meta = with lib; { 44 + description = "Fuzzy string matching for Python"; 45 + homepage = "https://github.com/seatgeek/thefuzz"; 46 + changelog = "https://github.com/seatgeek/thefuzz/blob/${version}/CHANGES.rst"; 47 + license = licenses.gpl2Only; 48 + maintainers = with maintainers; [ sumnerevans ]; 49 + }; 50 + }
pkgs/development/python-modules/virtual-display/default.nix pkgs/development/python-modules/PyVirtualDisplay/default.nix
+4 -3
pkgs/development/tools/oh-my-posh/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "oh-my-posh"; 9 - version = "12.26.2"; 9 + version = "12.35.2"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "jandedobbeleer"; 13 13 repo = pname; 14 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-WznHvGNpb2iGz+jZFtphkxsGeT0Y25CO5MMjmAl7GV0="; 15 + hash = "sha256-6w8m7AuSEFhoYhjAJMXmwpsYuIMCvTiFKasUnBgYYCM="; 16 16 }; 17 17 18 - vendorHash = "sha256-OrtKFkWXqVoXKmN6BT8YbCNjR1gRTT4gPNwmirn7fjU="; 18 + vendorHash = "sha256-WiH4qu8DODEhAkxUm6VDcBwFyQO7kNjaiaWPDHCHj9E="; 19 19 20 20 sourceRoot = "source/src"; 21 21 ··· 36 36 ]; 37 37 38 38 postInstall = '' 39 + mv $out/bin/{src,oh-my-posh} 39 40 mkdir -p $out/share/oh-my-posh 40 41 cp -r ${src}/themes $out/share/oh-my-posh/ 41 42 installShellCompletion --cmd oh-my-posh \
+2 -2
pkgs/development/tools/parsing/byacc/default.nix
··· 5 5 6 6 stdenv.mkDerivation (finalAttrs: { 7 7 pname = "byacc"; 8 - version = "20221106"; 8 + version = "20221229"; 9 9 10 10 src = fetchurl { 11 11 urls = let ··· 14 14 "https://invisible-mirror.net/archives/byacc/${pname}-${version}.tgz" 15 15 "ftp://ftp.invisible-island.net/byacc/${pname}-${version}.tgz" 16 16 ]; 17 - hash = "sha256-qJm+Inu8rJz3cA99u1qElGiPH58GF7UQdi2urOR7nRI="; 17 + hash = "sha256-ExbG95D6+maIQn8f+RJnth2LeHO0Q8Yg7vaabv8FA7w="; 18 18 }; 19 19 20 20 configureFlags = [
+4 -4
pkgs/servers/home-automation/evcc/default.nix
··· 16 16 17 17 buildGoModule rec { 18 18 pname = "evcc"; 19 - version = "0.109.2"; 19 + version = "0.110.1"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "evcc-io"; 23 23 repo = pname; 24 24 rev = version; 25 - hash = "sha256-/Mklf+F9OHq56Qj/kn8JpRAgWwCZqwsH9EwrBFdi/mQ="; 25 + hash = "sha256-SIBVvVl1O+vqQug6LTzKEzFAay82ot4e+rXd17Djvqc="; 26 26 }; 27 27 28 - vendorHash = "sha256-H3ACmang+DPOCnccHLG6YzKvi7Rf5k8RkJDD1CgGBrw="; 28 + vendorHash = "sha256-YP6/3+jVbavBE6ZSopryC1SgQc5kzE+gWpNbwptBMG8="; 29 29 30 30 npmDeps = fetchNpmDeps { 31 31 inherit src; 32 - hash = "sha256-oxoENlZNThW1PrwcGwiNP5Q7BZyhhtuCwXFey0t3Kz8="; 32 + hash = "sha256-hc3IkWiafKBGtGPEPWWbj4XQsGh+PrGGnBV2bzEAn0s="; 33 33 }; 34 34 35 35 nativeBuildInputs = [
+5 -3
pkgs/tools/system/acpica-tools/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "acpica-tools"; 10 - version = "20220331"; 10 + version = "20221020"; 11 11 12 12 src = fetchurl { 13 - url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"; 14 - hash = "sha256-rK/2ixTx4IBOu/xLlyaKTMvvz6BTsC7Zkk8rFNipjiE="; 13 + # 20221020 has a weird filename published: https://acpica.org/node/201 14 + name = "acpica-unix-${version}.tar.gz"; 15 + url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar_0.gz"; 16 + hash = "sha256-M6LjlKygylfUAYr+PaNA361etFsbkwDoHdWV/aB88cU="; 15 17 }; 16 18 17 19 nativeBuildInputs = [ bison flex ];
+2 -2
pkgs/tools/system/retry/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "retry"; 11 - version = "1.0.4"; 11 + version = "1.0.5"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "minfrin"; 15 15 repo = "retry"; 16 16 rev = "${pname}-${version}"; 17 - hash = "sha256-C6PYt5NjDT4w1yuWnw1+Z/L3j1S5zwTGsI44yrMnPUs="; 17 + hash = "sha256-5H2MnnThi4rT/o3oTkGDKXStQwob4G9mMsZewItPub4="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ autoreconfHook txt2man which ];
+2
pkgs/top-level/all-packages.nix
··· 33796 33796 33797 33797 youtube-music = callPackage ../applications/audio/youtube-music { }; 33798 33798 33799 + youki = callPackage ../applications/virtualization/youki { }; 33800 + 33799 33801 yt-dlp = with python3Packages; toPythonApplication yt-dlp; 33800 33802 33801 33803 yt-dlp-light = with python3Packages; toPythonApplication yt-dlp-light;
+1
pkgs/top-level/python-aliases.nix
··· 227 227 unittest2 = throw "unittest2 has been removed as it's a backport of unittest that's unmaintained and not needed beyond Python 3.4."; # added 2022-12-01 228 228 uproot3 = throw "uproot3 has been removed, use uproot instead"; # added 2022-12-13 229 229 uproot3-methods = throw "uproot3-methods has been removed"; # added 2022-12-13 230 + virtual-display = throw "virtual-display has been renamed to PyVirtualDisplay"; # added 2023-01-07 230 231 Wand = wand; # added 2022-11-13 231 232 WazeRouteCalculator = wazeroutecalculator; # added 2021-09-29 232 233 weakrefmethod = throw "weakrefmethod was removed since it's not needed in Python >= 3.4"; # added 2022-12-01
+6 -2
pkgs/top-level/python-packages.nix
··· 6309 6309 6310 6310 nocaselist = callPackage ../development/python-modules/nocaselist { }; 6311 6311 6312 + nocturne = callPackage ../development/python-modules/nocturne { }; 6313 + 6312 6314 nodeenv = callPackage ../development/python-modules/nodeenv { }; 6313 6315 6314 6316 nodepy-runtime = callPackage ../development/python-modules/nodepy-runtime { }; ··· 9486 9488 9487 9489 pyvicare = callPackage ../development/python-modules/pyvicare { }; 9488 9490 9491 + PyVirtualDisplay = callPackage ../development/python-modules/PyVirtualDisplay { }; 9492 + 9489 9493 pyvis = callPackage ../development/python-modules/pyvis { }; 9490 9494 9491 9495 pyvisa = callPackage ../development/python-modules/pyvisa { }; ··· 11241 11245 cudnnSupport = false; 11242 11246 }; 11243 11247 11248 + thefuzz = callPackage ../development/python-modules/thefuzz { }; 11249 + 11244 11250 thermobeacon-ble = callPackage ../development/python-modules/thermobeacon-ble { }; 11245 11251 11246 11252 thermopro-ble = callPackage ../development/python-modules/thermopro-ble { }; ··· 11895 11901 vine = callPackage ../development/python-modules/vine { }; 11896 11902 11897 11903 virtkey = callPackage ../development/python-modules/virtkey { }; 11898 - 11899 - virtual-display = callPackage ../development/python-modules/virtual-display { }; 11900 11904 11901 11905 virtualenv = callPackage ../development/python-modules/virtualenv { }; 11902 11906