mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
fd08b98da9
`fs` is a python-based file system abstraction layer. The new package `fs-s3fs` is an implementation of it which stores files inside an S3 bucket.
24 lines
623 B
Nix
24 lines
623 B
Nix
{ 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 ];
|
|
};
|
|
}
|