Merge pull request #119263 from IvarWithoutBones/init/amiibo.py

pythonPackages.amiibo-py: init at unstable-2021-01-16
This commit is contained in:
Sandro 2021-04-12 23:25:22 +02:00 committed by GitHub
commit 336ead9bdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, aiohttp
, requests
}:
buildPythonPackage rec {
pname = "amiibo-py";
version = "unstable-2021-01-16";
disabled = pythonOlder "3.5.3"; # Older versions are not supported upstream
src = fetchFromGitHub {
owner = "XiehCanCode";
repo = "amiibo.py";
rev = "4766037530f41ad11368240e994888d196783b83";
sha256 = "0ln8ykaws8c5fvzlzccn60mpbdbvxlhkp3nsvs2xqdbsqp270yv2";
};
propagatedBuildInputs = [
aiohttp
requests
];
doCheck = false; # No tests are available upstream
pythonImportsCheck = [ "amiibo" ];
meta = with lib; {
description = "API Wrapper for amiiboapi.com";
homepage = "https://github.com/XiehCanCode/amiibo.py";
license = licenses.mit;
maintainers = [ maintainers.ivar ];
};
}

View File

@ -379,6 +379,8 @@ in {
amcrest = callPackage ../development/python-modules/amcrest { };
amiibo-py = callPackage ../development/python-modules/amiibo-py { };
amply = callPackage ../development/python-modules/amply { };
amqp = callPackage ../development/python-modules/amqp { };