2021-01-25 00:26:54 -08:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, flask, werkzeug, setuptools_scm, isPy27 }:
|
2019-05-17 05:42:21 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-flask";
|
2021-03-24 02:28:24 -07:00
|
|
|
version = "1.2.0";
|
2020-10-14 14:11:44 -07:00
|
|
|
disabled = isPy27;
|
2019-05-17 05:42:21 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 02:28:24 -07:00
|
|
|
sha256 = "46fde652f77777bf02dc91205aec4ce20cdf2acbbbd66a918ab91f5c14693d3d";
|
2019-05-17 05:42:21 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-03-12 14:20:19 -08:00
|
|
|
buildInputs = [ pytest ];
|
|
|
|
|
2019-05-17 05:42:21 -07:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
flask
|
|
|
|
werkzeug
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2019-05-17 05:42:21 -07:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|