Merge pull request #50471 from Ma27/package-python-fs-s3-support
pythonPackages.fs-s3fs: init at 1.0.0
This commit is contained in:
commit
f9714fdcea
23
pkgs/development/python-modules/fs-s3fs/default.nix
Normal file
23
pkgs/development/python-modules/fs-s3fs/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ buildPythonPackage, fetchPypi, lib, fs, six, boto3 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fs-s3fs";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1czv67zs4sl5l3rv9l3hzn22zzzqm372lq1wlhihigir4cfyslak";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ fs six boto3 ];
|
||||
|
||||
# tests try to integrate an s3 bucket which can't be tested properly in an isolated environment.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://pypi.org/project/fs-s3fs/;
|
||||
license = licenses.mit;
|
||||
description = "Amazon S3 filesystem for PyFilesystem2";
|
||||
maintainers = with maintainers; [ ma27 ];
|
||||
};
|
||||
}
|
@ -20,9 +20,9 @@ buildPythonPackage rec {
|
||||
checkInputs = [ mock psutil ];
|
||||
propagatedBuildInputs = [ pyopenssl pysendfile ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} pyftpdlib/test/runner.py
|
||||
'';
|
||||
# impure filesystem-related tests cause timeouts
|
||||
# on Hydra: https://hydra.nixos.org/build/84374861
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/giampaolo/pyftpdlib/;
|
||||
|
@ -2766,6 +2766,8 @@ in {
|
||||
|
||||
fs = callPackage ../development/python-modules/fs { };
|
||||
|
||||
fs-s3fs = callPackage ../development/python-modules/fs-s3fs { };
|
||||
|
||||
libcloud = callPackage ../development/python-modules/libcloud { };
|
||||
|
||||
libgpuarray = callPackage ../development/python-modules/libgpuarray {
|
||||
|
Loading…
Reference in New Issue
Block a user