15 buildPythonPackage rec {
16 pname = "pytest-base-url";
20 disabled = pythonOlder "3.7";
22 src = fetchFromGitHub {
24 repo = "pytest-base-url";
25 rev = "refs/tags/${version}";
26 hash = "sha256-3P3Uk3QoznAtNODLjXFbeNn3AOfp9owWU2jqkxTEAa4=";
34 buildInputs = [ pytest ];
36 propagatedBuildInputs = [ requests ];
38 __darwinAllowLocalNetworking = true;
46 pytestFlagsArray = [ "tests" ];
49 # should be xfail? or mocking doesn't work
53 pythonImportsCheck = [ "pytest_base_url" ];
56 description = "pytest plugin for URL based tests";
57 homepage = "https://github.com/pytest-dev/pytest-base-url";
58 changelog = "https://github.com/pytest-dev/pytest-base-url/blob/${src.rev}/CHANGES.rst";
59 license = licenses.mpl20;
60 maintainers = with maintainers; [ sephi ];