From fe4550bfc70fe873fa8ceed48579b82ffb614309 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 17 May 2023 23:56:46 +0200 Subject: [PATCH] chore: python3{9,10}Packages -> python3Packages --- modules/terminal-life/nvim/default.nix | 2 +- modules/virtualisation/default.nix | 2 +- overlays/python-wik.nix | 2 +- pkgs/mopidy-jellyfin.nix | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/terminal-life/nvim/default.nix b/modules/terminal-life/nvim/default.nix index 0c78170a..ba53ef49 100644 --- a/modules/terminal-life/nvim/default.nix +++ b/modules/terminal-life/nvim/default.nix @@ -34,7 +34,7 @@ in { nodePackages.vue-language-server nodePackages.vscode-langservers-extracted nodePackages.yaml-language-server - python39Packages.python-lsp-server + python3Packages.python-lsp-server python3Full solargraph rnix-lsp diff --git a/modules/virtualisation/default.nix b/modules/virtualisation/default.nix index de2c3de7..da53b24e 100644 --- a/modules/virtualisation/default.nix +++ b/modules/virtualisation/default.nix @@ -40,7 +40,7 @@ in { qemu vagrant virt-manager - python39Packages.libvirt + python3Packages.libvirt gvfs edk2 OVMF diff --git a/overlays/python-wik.nix b/overlays/python-wik.nix index 1af4fa14..64997158 100644 --- a/overlays/python-wik.nix +++ b/overlays/python-wik.nix @@ -1,5 +1,5 @@ final: prev: -with prev.python310Packages; { +with prev.python3Packages; { python-wiki-fetch = buildPythonPackage rec { inherit (prev.sources.wik) pname version src; diff --git a/pkgs/mopidy-jellyfin.nix b/pkgs/mopidy-jellyfin.nix index f28f79fc..b507ba17 100644 --- a/pkgs/mopidy-jellyfin.nix +++ b/pkgs/mopidy-jellyfin.nix @@ -1,20 +1,20 @@ self: with self; let - websocket-client = python39.pkgs.buildPythonPackage rec { + websocket-client = python3.pkgs.buildPythonPackage rec { pname = "websocket-client"; version = "1.2.1"; doCheck = false; - src = python39.pkgs.fetchPypi { + src = python3.pkgs.fetchPypi { inherit pname version; sha256 = "sha256-jftxXYqZL1cS//jIQ62ulOIrIqmbLF5rDsShqYHMTg0="; }; }; in - python39.pkgs.buildPythonPackage rec { + python3.pkgs.buildPythonPackage rec { pname = "Mopidy-Jellyfin"; version = "1.0.2"; doCheck = false; - propagatedBuildInputs = with python39.pkgs; [ + propagatedBuildInputs = with python3.pkgs; [ unidecode websocket-client requests @@ -22,7 +22,7 @@ in pykka mopidy ]; - src = python39.pkgs.fetchPypi { + src = python3.pkgs.fetchPypi { inherit pname version; sha256 = "sha256-5XimIIQSpvNyQbSOFtSTkA0jhA0V68BbyQEQNnov+0g="; };