Merge pull request #50471 from Ma27/package-python-fs-s3-support

pythonPackages.fs-s3fs: init at 1.0.0
This commit is contained in:
worldofpeace 2018-11-28 20:46:33 -05:00 committed by GitHub
commit f9714fdcea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 3 deletions

View 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 ];
};
}

View File

@ -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/;

View File

@ -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 {