nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, werkzeug
5}:
6
7buildPythonPackage rec {
8 pname = "pytest-localserver";
9 version = "0.5.1.post0";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "5ec7f8e6534cf03887af2cb59e577f169ac0e8b2fd2c3e3409280035f386d407";
15 };
16
17 propagatedBuildInputs = [
18 werkzeug
19 ];
20
21 # all tests access network: does not work in sandbox
22 doCheck = false;
23
24 pythonImportsCheck = [
25 "pytest_localserver"
26 ];
27
28 meta = with lib; {
29 description = "Plugin for the pytest testing framework to test server connections locally";
30 homepage = "https://github.com/pytest-dev/pytest-localserver";
31 license = licenses.mit;
32 maintainers = with maintainers; [ siriobalmelli ];
33 };
34}