Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.8 kB · 93 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394{ sparqlwrapper, boto3, buildPythonPackage, fetchFromGitHub, gremlinpython, jsonpath-ng, lib, moto, openpyxl, opensearch-py, pandas, pg8000, poetry-core, progressbar2, pyarrow, pymysql, pyodbc, pyparsing, pytestCheckHook, pythonOlder, redshift-connector, requests-aws4auth, setuptools,}:
buildPythonPackage rec { pname = "awswrangler"; version = "3.12.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "aws"; repo = "aws-sdk-pandas"; tag = version; hash = "sha256-BudK7pP7b8YJRyDCQAZv8FtxF5paA+AR/ZBt9UO3XjM="; };
pythonRelaxDeps = [ "packaging" "pyarrow" ];
build-system = [ poetry-core ];
dependencies = [ boto3 gremlinpython jsonpath-ng openpyxl opensearch-py pandas pg8000 progressbar2 pyarrow pymysql redshift-connector requests-aws4auth setuptools ];
optional-dependencies = { sqlserver = [ pyodbc ]; sparql = [ sparqlwrapper ]; };
nativeCheckInputs = [ moto pyparsing pytestCheckHook ];
pythonImportsCheck = [ "awswrangler" ];
enabledTestPaths = [ # Subset of tests that run in upstream CI (many others require credentials) # https://github.com/aws/aws-sdk-pandas/blob/20fec775515e9e256e8cee5aee12966516608840/.github/workflows/minimal-tests.yml#L36-L43 "tests/unit/test_metadata.py" "tests/unit/test_session.py" "tests/unit/test_utils.py" "tests/unit/test_moto.py" ];
meta = with lib; { description = "Pandas on AWS"; homepage = "https://github.com/aws/aws-sdk-pandas"; changelog = "https://github.com/aws/aws-sdk-pandas/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ mcwitt ]; };}