Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 31 lines 700 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pytest, flask, werkzeug, setuptools_scm }: 2 3buildPythonPackage rec { 4 pname = "pytest-flask"; 5 version = "1.0.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "4d5678a045c07317618d80223ea124e21e8acc89dae109542dd1fdf6783d96c2"; 10 }; 11 12 doCheck = false; 13 14 buildInputs = [ 15 pytest 16 ]; 17 18 propagatedBuildInputs = [ 19 flask 20 werkzeug 21 ]; 22 23 nativeBuildInputs = [ setuptools_scm ]; 24 25 meta = with stdenv.lib; { 26 homepage = "https://github.com/pytest-dev/pytest-flask/"; 27 license = licenses.mit; 28 description = "A set of py.test fixtures to test Flask applications"; 29 maintainers = with maintainers; [ vanschelven ]; 30 }; 31}