Files
nixpkgs/pkgs/development/python-modules/adax-local/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

44 lines
859 B
Nix

{
lib,
aiohttp,
bleak,
buildPythonPackage,
fetchFromGitHub,
async-timeout,
setuptools,
}:
buildPythonPackage rec {
pname = "adax-local";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pyAdaxLocal";
tag = version;
hash = "sha256-HdhatjlN4oUzBV1cf/PfgOJbEks4KBdw4vH8Y/z6efQ=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
bleak
async-timeout
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "adax_local" ];
meta = {
description = "Module for local access to Adax";
homepage = "https://github.com/Danielhiversen/pyAdaxLocal";
changelog = "https://github.com/Danielhiversen/pyAdaxLocal/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}