Skip to content

Commit

Permalink
python3Packages.flask-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 d93ba0b commit 29dd4e2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/development/python-modules/flask-socketio/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, flask
, python-socketio
, coverage
Expand All @@ -10,9 +10,11 @@ buildPythonPackage rec {
pname = "Flask-SocketIO";
version = "5.0.1";

src = fetchPypi {
inherit pname version;
sha256 = "09r2gpj2nbn72v2zaf6xsvlazln77pgqzp2pg2021nja47sijhsw";
src = fetchFromGitHub {
owner = "miguelgrinberg";
repo = "Flask-SocketIO";
rev = "v${version}";
sha256 = "01zf6cy95pgc4flgn0740z2my90l7rxwliahp6rb2xbp7rh32cng";
};

propagatedBuildInputs = [
Expand Down

0 comments on commit 29dd4e2

Please sign in to comment.