{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, hatchling, pythonOlder, }: buildPythonPackage rec { pname = "fyta-cli"; version = "0.4.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "dontinelli"; repo = "fyta_cli"; rev = "refs/tags/v${version}"; hash = "sha256-ThxC+s0vkvFQw9FKMWO+cHJB1ci+USdxQa4PRqHrKLM="; }; build-system = [ hatchling ]; dependencies = [ aiohttp ]; # Module has no tests doCheck = false; pythonImportsCheck = [ "fyta_cli" ]; meta = with lib; { description = "Module to access the FYTA API"; homepage = "https://github.com/dontinelli/fyta_cli"; changelog = "https://github.com/dontinelli/fyta_cli/releases/tag/v${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ fab ]; }; }