567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
45 lines
909 B
Nix
45 lines
909 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
pytestCheckHook,
|
|
boto3,
|
|
moto,
|
|
poetry-core,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bucketstore";
|
|
version = "0.3.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jpetrucciani";
|
|
repo = "bucketstore";
|
|
tag = version;
|
|
hash = "sha256-WjweYFnlDEoR+TYzNgjPMdCLdUUEbdPROubov6kancc=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
propagatedBuildInputs = [ boto3 ];
|
|
|
|
nativeCheckInputs = [
|
|
moto
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "bucketstore" ];
|
|
|
|
meta = {
|
|
description = "Library for interacting with Amazon S3";
|
|
homepage = "https://github.com/jpetrucciani/bucketstore";
|
|
changelog = "https://github.com/jpetrucciani/bucketstore/releases/tag/${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ jpetrucciani ];
|
|
};
|
|
}
|