Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 46 lines 760 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 7 # tests 8 freezegun, 9 mock, 10 pytestCheckHook, 11 sure, 12}: 13 14buildPythonPackage rec { 15 pname = "httpretty"; 16 version = "1.1.4"; 17 pyproject = true; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "20de0e5dd5a18292d36d928cc3d6e52f8b2ac73daec40d41eb62dee154933b68"; 22 }; 23 24 build-system = [ setuptools ]; 25 26 nativeCheckInputs = [ 27 freezegun 28 mock 29 pytestCheckHook 30 sure 31 ]; 32 33 disabledTestPaths = [ 34 "tests/bugfixes" 35 "tests/functional" 36 "tests/pyopenssl" 37 ]; 38 39 __darwinAllowLocalNetworking = true; 40 41 meta = with lib; { 42 homepage = "https://httpretty.readthedocs.org/"; 43 description = "HTTP client request mocking tool"; 44 license = licenses.mit; 45 }; 46}