Files
nixpkgs/pkgs/development/python-modules/adax/default.nix
2026-05-24 20:11:48 +02:00

42 lines
863 B
Nix

{
lib,
aiohttp,
async-timeout,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "adax";
version = "0.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pyadax";
tag = finalAttrs.version;
hash = "sha256-wmcZtiML02i1XfqpFzni2WDrxutTvP5laVvTAGtNg0Y=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
async-timeout
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "adax" ];
meta = {
description = "Python module to communicate with Adax";
homepage = "https://github.com/Danielhiversen/pyAdax";
changelog = "https://github.com/Danielhiversen/pyAdax/releases/tag/${finalAttrs.version}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
})