depot/third_party/nixpkgs/pkgs/development/python-modules/bucketstore/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

39 lines
749 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, boto3
, moto
}:
buildPythonPackage rec {
pname = "bucketstore";
version = "0.2.2";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jpetrucciani";
repo = "bucketstore";
rev = version;
hash = "sha256-BtoyGqFbeBhGQeXnmeSfiuJLZtXFrK26WO0SDlAtKG4=";
};
propagatedBuildInputs = [ boto3 ];
nativeCheckInputs = [
pytestCheckHook
moto
];
pythonImportsCheck = [
"bucketstore"
];
meta = with lib; {
description = "Library for interacting with Amazon S3";
homepage = "https://github.com/jpetrucciani/bucketstore";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
}