depot/third_party/nixpkgs/pkgs/development/python-modules/adax-local/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}