about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/pytwitchapi/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pytwitchapi/default.nix b/pkgs/development/python-modules/pytwitchapi/default.nix
index 3c7dc0fdaa817..9777f33313077 100644
--- a/pkgs/development/python-modules/pytwitchapi/default.nix
+++ b/pkgs/development/python-modules/pytwitchapi/default.nix
@@ -11,13 +11,15 @@
 buildPythonPackage rec {
   pname = "pytwitchapi";
   version = "2.5.2";
+  format = "setuptools";
+
   disabled = pythonOlder "3.7";
 
   src = fetchFromGitHub {
     owner = "Teekeks";
     repo = "pyTwitchAPI";
     rev = "v${version}";
-    sha256 = "sha256-i+oAx23bMu+jaXHPWElD5GJH6vSytW/9N1amsmma4Lc=";
+    hash = "sha256-i+oAx23bMu+jaXHPWElD5GJH6vSytW/9N1amsmma4Lc=";
   };
 
   propagatedBuildInputs = [
@@ -30,7 +32,9 @@ buildPythonPackage rec {
   # Project has no tests.
   doCheck = false;
 
-  pythonImportsCheck = [ "twitchAPI" ];
+  pythonImportsCheck = [
+    "twitchAPI"
+  ];
 
   meta = with lib; {
     description = "Python implementation of the Twitch Helix API, its Webhook and PubSub";