1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 hatchling, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "fyta-cli"; 12 version = "0.4.1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "dontinelli"; 19 repo = "fyta_cli"; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-eWuuHIq79n1oFsvBfVySfGCtHz+MlFRR3j8uqtVR+V0="; 22 }; 23 24 build-system = [ hatchling ]; 25 26 dependencies = [ aiohttp ]; 27 28 # Module has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "fyta_cli" ]; 32 33 meta = with lib; { 34 description = "Module to access the FYTA API"; 35 homepage = "https://github.com/dontinelli/fyta_cli"; 36 changelog = "https://github.com/dontinelli/fyta_cli/releases/tag/v${version}"; 37 license = licenses.gpl3Only; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}