Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 86 lines
Nix
at llvm-cleanup
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{ lib, aiodns, aiohttp, azure-core, buildPythonPackage, certifi, fetchFromGitHub, httpretty, isodate, pytest-aiohttp, pytestCheckHook, pythonAtLeast, pythonOlder, requests, requests-oauthlib, setuptools, trio,}:
buildPythonPackage rec { pname = "msrest"; version = "0.7.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "Azure"; repo = "msrest-for-python"; # no tag for 0.7.1 rev = "2d8fd04f68a124d0f3df7b81584accc3270b1afc"; hash = "sha256-1EXXXflhDeU+erdI+NsWxSX76ooDTl3+MyQwRzm2xV0="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ azure-core aiodns aiohttp certifi isodate requests requests-oauthlib ];
nativeCheckInputs = [ httpretty pytest-aiohttp pytestCheckHook trio ];
disabledTests = [ # Test require network access "test_basic_aiohttp" "test_basic_aiohttp" "test_basic_async_requests" "test_basic_async_requests" "test_conf_async_requests" "test_conf_async_requests" "test_conf_async_trio_requests" ] ++ lib.optionals (pythonAtLeast "3.12") [ # AttributeError: 'TestAuthentication' object has no attribute... "test_apikey_auth" "test_cs_auth" "test_eventgrid_auth" "test_eventgrid_domain_auth" ];
pythonImportsCheck = [ "msrest" ];
meta = with lib; { description = "The runtime library for AutoRest generated Python clients"; homepage = "https://github.com/Azure/msrest-for-python"; license = licenses.mit; maintainers = with maintainers; [ bendlas jonringer maxwilson ]; };}