Merge pull request #47459 from Gerschtli/update/flask-sqlalchemy

pythonPackages.flask_sqlalchemy: 2.1 -> 2.3.2
This commit is contained in:
Lancelot SIX 2018-09-28 16:11:26 +02:00 committed by GitHub
commit 6ef8d96e06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 17 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi, flask, sqlalchemy, pytest }:
buildPythonPackage rec {
pname = "Flask-SQLAlchemy";
version = "2.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "0lvfynbk9y0whpkhqz7kf3hk342sfa3lwqyv25gnb22q5f2vjwar";
};
propagatedBuildInputs = [ flask sqlalchemy ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "SQLAlchemy extension for Flask";
homepage = http://flask-sqlalchemy.pocoo.org/;
license = licenses.bsd3;
maintainers = with maintainers; [ gerschtli ];
};
}

View file

@ -5306,23 +5306,7 @@ in {
flask-silk = callPackage ../development/python-modules/flask-silk { }; flask-silk = callPackage ../development/python-modules/flask-silk { };
flask_sqlalchemy = buildPythonPackage rec { flask_sqlalchemy = callPackage ../development/python-modules/flask-sqlalchemy { };
name = "Flask-SQLAlchemy-${version}";
version = "2.1";
src = pkgs.fetchurl {
url = "mirror://pypi/F/Flask-SQLAlchemy/${name}.tar.gz";
sha256 = "1i9ps5d5snih9xlqhrvmi3qfiygkmqzxh92n25kj4pf89kj4s965";
};
propagatedBuildInputs = with self ; [ flask sqlalchemy ];
meta = {
description = "SQLAlchemy extension for Flask";
homepage = http://flask-sqlalchemy.pocoo.org/;
license = licenses.bsd3;
};
};
flask_testing = callPackage ../development/python-modules/flask-testing { }; flask_testing = callPackage ../development/python-modules/flask-testing { };