pythonPackages.flask_sqlalchemy: 2.1 -> 2.3.2

This commit is contained in:
Tobias Happ 2018-09-28 11:55:36 +02:00
parent d994f1cfd4
commit f14d4ba112
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_sqlalchemy = buildPythonPackage rec {
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_sqlalchemy = callPackage ../development/python-modules/flask-sqlalchemy { };
flask_testing = callPackage ../development/python-modules/flask-testing { };