Loading pkgs/development/python-modules/requests-aws4auth/default.nix +8 −10 Original line number Diff line number Diff line Loading @@ -4,36 +4,34 @@ fetchFromGitHub, httpx, pytestCheckHook, python, pythonOlder, requests, six, setuptools, }: buildPythonPackage rec { pname = "requests-aws4auth"; version = "1.3.1"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "tedder"; repo = pname; repo = "requests-aws4auth"; rev = "refs/tags/v${version}"; hash = "sha256-tRo38fdWqZmutGhWv8Hks+oFaLv770RlAHYgS3S6xJA="; }; propagatedBuildInputs = [ requests six ]; build-system = [ setuptools ]; passthru.optional-dependencies = { dependencies = [ requests ]; optional-dependencies = { httpx = [ httpx ]; }; nativeCheckInputs = [ pytestCheckHook ] ++ passthru.optional-dependencies.httpx; nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.httpx; pythonImportsCheck = [ "requests_aws4auth" ]; Loading Loading
pkgs/development/python-modules/requests-aws4auth/default.nix +8 −10 Original line number Diff line number Diff line Loading @@ -4,36 +4,34 @@ fetchFromGitHub, httpx, pytestCheckHook, python, pythonOlder, requests, six, setuptools, }: buildPythonPackage rec { pname = "requests-aws4auth"; version = "1.3.1"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "tedder"; repo = pname; repo = "requests-aws4auth"; rev = "refs/tags/v${version}"; hash = "sha256-tRo38fdWqZmutGhWv8Hks+oFaLv770RlAHYgS3S6xJA="; }; propagatedBuildInputs = [ requests six ]; build-system = [ setuptools ]; passthru.optional-dependencies = { dependencies = [ requests ]; optional-dependencies = { httpx = [ httpx ]; }; nativeCheckInputs = [ pytestCheckHook ] ++ passthru.optional-dependencies.httpx; nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.httpx; pythonImportsCheck = [ "requests_aws4auth" ]; Loading