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