forked from mirrors/nixpkgs
e07cf5d4bf
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
30 lines
704 B
Nix
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 ];
|
|
};
|
|
}
|