mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #47459 from Gerschtli/update/flask-sqlalchemy
pythonPackages.flask_sqlalchemy: 2.1 -> 2.3.2
This commit is contained in:
commit
6ef8d96e06
2 changed files with 26 additions and 17 deletions
25
pkgs/development/python-modules/flask-sqlalchemy/default.nix
Normal file
25
pkgs/development/python-modules/flask-sqlalchemy/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue