nixpkgs/pkgs/development/python-modules/bucketstore/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

40 lines
751 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;
sha256 = "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 ];
};
}