pythonPackages.flask_login: fetch from PyPi so we can override the version

This commit is contained in:
Peter Hoeg 2018-12-06 12:40:42 +08:00
parent 7c73f53d83
commit 129502ec3f

View File

@ -1,15 +1,13 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonAtLeast { stdenv, buildPythonPackage, fetchPypi, pythonAtLeast
, flask, blinker, nose, mock, semantic-version }: , flask, blinker, nose, mock, semantic-version }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "Flask-Login"; pname = "Flask-Login";
version = "0.4.1"; version = "0.4.1";
src = fetchFromGitHub { src = fetchPypi {
owner = "maxcountryman"; inherit pname version;
repo = "flask-login"; sha256 = "1v2j8zd558xfmgn3rfbw0xz4vizjcnk8kqw52q4f4d9ygfnc25f8";
rev = version;
sha256 = "1rj0qwyxapxnp84fi4lhmvh3d91fdiwz7hibw77x3d5i72knqaa9";
}; };
checkInputs = [ nose mock semantic-version ]; checkInputs = [ nose mock semantic-version ];