mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:25:38 +00:00
781eaa1377
add missing dependency: vcversioner
36 lines
626 B
Nix
36 lines
626 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, flask
|
|
, pymongo
|
|
, vcversioner
|
|
, lib
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Flask-PyMongo";
|
|
version = "2.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0b99dd99985660ebbc4b34bb44550f88a527cbc573faa01febccce3c4ab28347";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
# Tests seem to hang
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ flask pymongo vcversioner ];
|
|
|
|
meta = {
|
|
homepage = "http://flask-pymongo.readthedocs.org/";
|
|
description = "PyMongo support for Flask applications";
|
|
license = lib.licenses.bsd2;
|
|
};
|
|
}
|