python3Packages.python-socketio: use GitHub source

This commit is contained in:
Fabian Affolter 2021-01-06 08:52:26 +01:00
parent 61123bd5ba
commit 9630d39b88

View File

@ -1,7 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchFromGitHub
, six , bidict
, python-engineio , python-engineio
, mock , mock
}: }:
@ -10,13 +10,15 @@ buildPythonPackage rec {
pname = "python-socketio"; pname = "python-socketio";
version = "5.0.4"; version = "5.0.4";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "miguelgrinberg";
sha256 = "0gl9ja1lcppj83bj9452cx6x7das37k4lbq6j82afxczppax0gzm"; repo = "python-socketio";
rev = "v${version}";
sha256 = "0mpqr53mrdzk9ki24y1inpsfvjlvm7pvxf8q4d52m80i5pcd5v5q";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
six bidict
python-engineio python-engineio
]; ];