Merge pull request #126328 from fabaff/aiotractive
python3Packages.aiotractive: init at 0.5.1
This commit is contained in:
commit
a7ff3fd40e
37
pkgs/development/python-modules/aiotractive/default.nix
Normal file
37
pkgs/development/python-modules/aiotractive/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue