Skip to content

Commit

Permalink
python311Packages.papermill: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium committed Feb 3, 2024
1 parent 0822b2f commit 6aac7f8
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions pkgs/development/python-modules/papermill/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ lib
, ansiwrap
, azure-datalake-store
, azure-identity
, azure-storage-blob
, boto3
, buildPythonPackage
, click
, entrypoints
, fetchPypi
, fetchFromGitHub
, gcsfs
, nbclient
, nbformat
Expand All @@ -17,24 +17,30 @@
, pythonOlder
, pyyaml
, requests
, setuptools
, tenacity
, tqdm
}:

buildPythonPackage rec {
pname = "papermill";
version = "2.5.0";
format = "setuptools";
pyproject = true;

disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";

src = fetchPypi {
inherit pname version;
hash = "sha256-6ntwwFU/Vv6RsPqcxeFwEs1pkyCosBU3PnhwxeYIbHI=";
src = fetchFromGitHub {
owner = "nteract";
repo = "papermill";
rev = "refs/tags/${version}";
hash = "sha256-x6f5hhTdOPDVFiBvRhfrXq1wd5keYiuUshXnT0IkjX0=";
};

nativeBuildInputs = [
setuptools
];

propagatedBuildInputs = [
ansiwrap
click
pyyaml
nbformat
Expand All @@ -48,6 +54,7 @@ buildPythonPackage rec {
passthru.optional-dependencies = {
azure = [
azure-datalake-store
azure-identity
azure-storage-blob
];
gcs = [
Expand Down

0 comments on commit 6aac7f8

Please sign in to comment.