python3Packages.s3-credentials: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-03-28 08:56:19 +02:00 committed by GitHub
parent 68eb7fdd62
commit c5914daa9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,13 +13,15 @@
buildPythonPackage rec {
pname = "s3-credentials";
version = "0.10";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "simonw";
repo = "${pname}";
rev = "${version}";
sha256 = "sha256-JgqKmZG3K4JwQ1Bzw2oll/LQ1njA9wFhX0/uYr9XjAU=";
repo = pname;
rev = version;
hash = "sha256-JgqKmZG3K4JwQ1Bzw2oll/LQ1njA9wFhX0/uYr9XjAU=";
};
propagatedBuildInputs = [
@ -34,6 +36,10 @@ buildPythonPackage rec {
pytest-mock
];
pythonImportsCheck = [
"s3_credentials"
];
meta = with lib; {
description = "Python CLI utility for creating credentials for accessing S3 buckets";
homepage = "https://github.com/simonw/s3-credentials";