nixpkgs-suyu/pkgs/development/python-modules/pytest-flask/default.nix
2021-04-03 17:49:15 +02:00

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 ];
};
}