Merge pull request #126328 from fabaff/aiotractive

python3Packages.aiotractive: init at 0.5.1
This commit is contained in:
Sandro 2021-06-14 19:45:55 +02:00 committed by GitHub
commit a7ff3fd40e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, yarl
}:
buildPythonPackage rec {
pname = "aiotractive";
version = "0.5.1";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "zhulik";
repo = pname;
rev = "v${version}";
sha256 = "09zbca84dn1sprwqpfanmxxnmaknbzjz98xa87agpgy8xb3wpw7j";
};
propagatedBuildInputs = [
aiohttp
yarl
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "aiotractive" ];
meta = with lib; {
description = "Python client for the Tractive REST API";
homepage = "https://github.com/zhulik/aiotractive";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -363,6 +363,8 @@ in {
aiosyncthing = callPackage ../development/python-modules/aiosyncthing { };
aiotractive = callPackage ../development/python-modules/aiotractive { };
aiounifi = callPackage ../development/python-modules/aiounifi { };
aiounittest = callPackage ../development/python-modules/aiounittest { };