5a8b500490
GitOrigin-RevId: 1ca6b0a0cc38dbba0441202535c92841dd39d1ae
30 lines
712 B
Nix
30 lines
712 B
Nix
{ lib, buildPythonPackage, fetchPypi, pytest, flask, werkzeug, setuptools-scm, isPy27 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-flask";
|
|
version = "1.2.0";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "46fde652f77777bf02dc91205aec4ce20cdf2acbbbd66a918ab91f5c14693d3d";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [
|
|
flask
|
|
werkzeug
|
|
];
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|