Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
942 B · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, flit-core, requests, pytestCheckHook, responses}:
buildPythonPackage rec { pname = "msgraph-core"; version = "0.2.2";
disabled = pythonOlder "3.5";
format = "pyproject";
src = fetchFromGitHub { owner = "microsoftgraph"; repo = "msgraph-sdk-python-core"; rev = "v${version}"; hash = "sha256-eRRlG3GJX3WeKTNJVWgNTTHY56qiUGOlxtvEZ2xObLA="; };
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ requests ];
nativeCheckInputs = [ pytestCheckHook responses ];
disabledTestPaths = [ "tests/integration" ];
pythonImportsCheck = [ "msgraph.core" ];
meta = { description = "Core component of the Microsoft Graph Python SDK"; homepage = "https://github.com/microsoftgraph/msgraph-sdk-python-core"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; };}