python3Packages.s3-credentials: add pythonImportsCheck
This commit is contained in:
parent
68eb7fdd62
commit
c5914daa9f
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue