Skip to content

Commit

Permalink
python3Packages.python-socketio: use GitHub source
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Jan 6, 2021
1 parent 61123bd commit 9630d39
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pkgs/development/python-modules/python-socketio/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
, fetchFromGitHub
, bidict
, python-engineio
, mock
}:
Expand All @@ -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
];

Expand Down

0 comments on commit 9630d39

Please sign in to comment.