10 buildPythonPackage rec {
11 pname = "geniushub-client";
13 format = "setuptools";
15 disabled = pythonOlder "3.9";
17 src = fetchFromGitHub {
21 hash = "sha256-Gq2scYos7E8me1a4x7NanHRq2eYWuU2uSUwM+O1TPb8=";
25 substituteInPlace setup.py \
26 --replace 'VERSION = os.environ["GITHUB_REF_NAME"]' "" \
27 --replace "version=VERSION," 'version="${version}",'
30 propagatedBuildInputs = [ aiohttp ];
32 nativeCheckInputs = [ pytestCheckHook ];
34 pythonImportsCheck = [ "geniushubclient" ];
37 description = "Module to interact with Genius Hub systems";
38 homepage = "https://github.com/manzanotti/geniushub-client";
39 changelog = "https://github.com/manzanotti/geniushub-client/releases/tag/v${version}";
40 license = licenses.mit;
41 maintainers = with maintainers; [ dotlambda ];