diff options
Diffstat (limited to 'pkgs/development/python-modules/pins/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pins/default.nix | 79 |
1 files changed, 35 insertions, 44 deletions
diff --git a/pkgs/development/python-modules/pins/default.nix b/pkgs/development/python-modules/pins/default.nix index 3d02d7b03728b..30f9c503c34b1 100644 --- a/pkgs/development/python-modules/pins/default.nix +++ b/pkgs/development/python-modules/pins/default.nix @@ -1,33 +1,34 @@ -{ 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 +{ + 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.4"; + version = "0.8.6"; pyproject = true; disabled = pythonOlder "3.8"; @@ -36,15 +37,15 @@ buildPythonPackage rec { owner = "rstudio"; repo = "pins-python"; rev = "refs/tags/v${version}"; - hash = "sha256-rNIjHwFELHoxDxC/T5vPzHA6Ifjz01rJpTK6kjUxOIM="; + hash = "sha256-TRwdd0vxqXZgongjooJG5rzTnopUsjfl2I8z3nBocdg="; }; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm ]; - propagatedBuildInputs = [ + dependencies = [ appdirs fsspec humanize @@ -59,15 +60,9 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - aws = [ - s3fs - ]; - azure = [ - adlfs - ]; - gcs = [ - gcsfs - ]; + aws = [ s3fs ]; + azure = [ adlfs ]; + gcs = [ gcsfs ]; }; nativeCheckInputs = [ @@ -78,13 +73,9 @@ buildPythonPackage rec { pytestCheckHook ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); - pythonImportsCheck = [ - "pins" - ]; + pythonImportsCheck = [ "pins" ]; - pytestFlagsArray = [ - "pins/tests/" - ]; + pytestFlagsArray = [ "pins/tests/" ]; disabledTestPaths = [ # Tests require network access |