pythonPackages.pytest-flask: init at 0.15.0
This commit is contained in:
parent
0c2eff0539
commit
e2b348defe
2 changed files with 33 additions and 0 deletions
31
pkgs/development/python-modules/pytest-flask/default.nix
Normal file
31
pkgs/development/python-modules/pytest-flask/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, pytest, flask, werkzeug, setuptools_scm }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-flask";
|
||||
version = "0.15.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0jdzrib94vwfpl8524h34aqzqndh3h4xn706v32xh412c8dphx6q";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flask
|
||||
werkzeug
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/pytest-dev/pytest-flask/";
|
||||
license = licenses.mit;
|
||||
description = "A set of py.test fixtures to test Flask applications";
|
||||
maintainers = with maintainers; [ vanschelven ];
|
||||
};
|
||||
}
|
|
@ -808,6 +808,8 @@ in {
|
|||
|
||||
pytest-env = callPackage ../development/python-modules/pytest-env { };
|
||||
|
||||
pytest-flask = callPackage ../development/python-modules/pytest-flask { };
|
||||
|
||||
pytest-mypy = callPackage ../development/python-modules/pytest-mypy { };
|
||||
|
||||
pytest-pylint = callPackage ../development/python-modules/pytest-pylint { };
|
||||
|
|
Loading…
Reference in a new issue