forked from mirrors/nixpkgs
Merge pull request #62665 from vanschelven/pytest-flask
pythonPackages.pytest-flask: init at 0.15.0
This commit is contained in:
commit
db43e58345
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 ];
|
||||
};
|
||||
}
|
|
@ -831,6 +831,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