9405df4a82
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
25 lines
616 B
Nix
25 lines
616 B
Nix
{ lib, buildPythonPackage, fetchPypi, flask, mock, sqlalchemy, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Flask-SQLAlchemy";
|
|
version = "2.5.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "2bda44b43e7cacb15d4e05ff3cc1f8bc97936cc464623424102bfc2c35e95912";
|
|
};
|
|
|
|
propagatedBuildInputs = [ flask sqlalchemy ];
|
|
checkInputs = [ mock pytest ];
|
|
|
|
checkPhase = ''
|
|
pytest
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "SQLAlchemy extension for Flask";
|
|
homepage = "http://flask-sqlalchemy.pocoo.org/";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ gerschtli ];
|
|
};
|
|
}
|