3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pytest-flask/default.nix
Jean-François Roche e07cf5d4bf python3Package.pytest-flask: remove support for python 2.7
As stated in its changelog [1], python 2.7 is no longer supported.

[1] https://github.com/pytest-dev/pytest-flask/blob/master/docs/changelog.rst
2020-10-17 11:29:53 -07:00

30 lines
704 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pytest, flask, werkzeug, setuptools_scm, isPy27 }:
buildPythonPackage rec {
pname = "pytest-flask";
version = "1.0.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "4d5678a045c07317618d80223ea124e21e8acc89dae109542dd1fdf6783d96c2";
};
doCheck = false;
propagatedBuildInputs = [
pytest
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 ];
};
}