depot/third_party/nixpkgs/pkgs/development/python-modules/flask-sqlalchemy/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
604 B
Nix

{ lib, buildPythonPackage, fetchPypi, flask, mock, sqlalchemy, pytest }:
buildPythonPackage rec {
pname = "Flask-SQLAlchemy";
version = "2.4.4";
src = fetchPypi {
inherit pname version;
sha256 = "1rgsj49gnx361hnb3vn6c1h17497qh22yc3r70l1r6w0mw71bixz";
};
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 ];
};
}