fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
42 lines
811 B
Nix
42 lines
811 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
bleak,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
async-timeout,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "adax-local";
|
|
version = "0.1.5";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Danielhiversen";
|
|
repo = "pyAdaxLocal";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-V3jSBdYDo32oTAGNTvHJi+GSwlL3keSDhXpNpMoCkWs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
bleak
|
|
async-timeout
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "adax_local" ];
|
|
|
|
meta = with lib; {
|
|
description = "Module for local access to Adax";
|
|
homepage = "https://github.com/Danielhiversen/pyAdaxLocal";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|