about summary refs log tree commit diff
path: root/pkgs/development/python-modules/nextcord/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/nextcord/default.nix')
-rw-r--r--pkgs/development/python-modules/nextcord/default.nix40
1 files changed, 23 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/nextcord/default.nix b/pkgs/development/python-modules/nextcord/default.nix
index 4a5faf4c33a8..d9c1fcc82742 100644
--- a/pkgs/development/python-modules/nextcord/default.nix
+++ b/pkgs/development/python-modules/nextcord/default.nix
@@ -1,24 +1,25 @@
-{ lib
-, stdenv
-, buildPythonPackage
-, pythonOlder
-, fetchFromGitHub
-, substituteAll
-, ffmpeg
-, libopus
-, aiohttp
-, aiodns
-, brotli
-, faust-cchardet
-, orjson
-, pynacl
+{
+  lib,
+  stdenv,
+  buildPythonPackage,
+  pythonOlder,
+  fetchFromGitHub,
+  substituteAll,
+  ffmpeg,
+  libopus,
+  aiohttp,
+  aiodns,
+  brotli,
+  faust-cchardet,
+  orjson,
+  pynacl,
+  setuptools,
 }:
 
 buildPythonPackage rec {
   pname = "nextcord";
   version = "2.6.1";
-
-  format = "setuptools";
+  pyproject = true;
 
   disabled = pythonOlder "3.8";
 
@@ -37,13 +38,18 @@ buildPythonPackage rec {
     })
   ];
 
-  propagatedBuildInputs = [
+  build-system = [
+    setuptools
+  ];
+
+  dependencies = [
     aiodns
     aiohttp
     brotli
     faust-cchardet
     orjson
     pynacl
+    setuptools # for pkg_resources, remove with next release
   ];
 
   # upstream has no tests