Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 95 lines
Nix
at flake-libs
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596{ lib, adlfs, appdirs, buildPythonPackage, fastparquet, fetchFromGitHub, fsspec, gcsfs, humanize, importlib-metadata, importlib-resources, jinja2, joblib, pandas, pyarrow, pytest-cases, pytest-parallel, pytestCheckHook, pythonOlder, pyyaml, requests, s3fs, setuptools, setuptools-scm, xxhash,}:
buildPythonPackage rec { pname = "pins"; version = "0.8.7"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "rstudio"; repo = "pins-python"; tag = "v${version}"; hash = "sha256-79TVAfr872Twc7D2iej51jiKNwZ9ESOa66ItNDmyfFM="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ appdirs fsspec humanize importlib-metadata importlib-resources jinja2 joblib pandas pyyaml requests xxhash ];
optional-dependencies = { aws = [ s3fs ]; azure = [ adlfs ]; gcs = [ gcsfs ]; };
nativeCheckInputs = [ fastparquet pyarrow pytest-cases pytest-parallel pytestCheckHook ] ++ lib.flatten (builtins.attrValues optional-dependencies);
pythonImportsCheck = [ "pins" ];
pytestFlagsArray = [ "pins/tests/" ];
disabledTestPaths = [ # Tests require network access "pins/tests/test_boards.py" "pins/tests/test_compat.py" "pins/tests/test_constructors.py" "pins/tests/test_rsconnect_api.py" ];
meta = with lib; { description = "Module to publishes data, models and other Python objects"; homepage = "https://github.com/rstudio/pins-python"; changelog = "https://github.com/rstudio/pins-python/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}