forked from mirrors/nixpkgs
686975479e
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-flask-pymongo/versions
36 lines
615 B
Nix
36 lines
615 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, flask
|
|
, pymongo
|
|
, vcversioner
|
|
, lib
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Flask-PyMongo";
|
|
version = "2.3.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "051kwdk07y4xm4yawcjhn6bz8swxp9nanv7jj35mz2l0r0nv03k2";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
# Tests seem to hang
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ flask pymongo vcversioner ];
|
|
|
|
meta = {
|
|
homepage = "https://flask-pymongo.readthedocs.org/";
|
|
description = "PyMongo support for Flask applications";
|
|
license = lib.licenses.bsd2;
|
|
};
|
|
}
|