nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 39 lines 741 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "aioaseko"; 10 version = "0.0.2"; 11 format = "pyproject"; 12 13 disabled = pythonOlder "3.8"; 14 15 src = fetchFromGitHub { 16 owner = "milanmeu"; 17 repo = pname; 18 rev = "v${version}"; 19 hash = "sha256-nJRVNBYfBcLYnBsTpQZYMHYWh0+hQObVKJ7sOXFwDjc="; 20 }; 21 22 propagatedBuildInputs = [ 23 aiohttp 24 ]; 25 26 # Module has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "aioaseko" 31 ]; 32 33 meta = with lib; { 34 description = "Module to interact with the Aseko Pool Live API"; 35 homepage = "https://github.com/milanmeu/aioaseko"; 36 license = with licenses; [ lgpl3Plus ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}