depot/third_party/nixpkgs/pkgs/development/python-modules/aioairq/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

41 lines
767 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pycryptodome
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioairq";
version = "0.3.2";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "CorantGmbH";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-Sau0Ih+9WRChbztl8yjXVWy4/QxyllQKOPslbZroBeQ=";
};
propagatedBuildInputs = [
aiohttp
pycryptodome
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"aioairq"
];
meta = with lib; {
description = "Library to retrieve data from air-Q devices";
homepage = "https://github.com/CorantGmbH/aioairq";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}