nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 51 lines 928 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 click, 6 fetchFromGitHub, 7 incremental, 8 setuptools, 9 pyjwt, 10 typer, 11}: 12 13buildPythonPackage rec { 14 pname = "ovoenergy"; 15 version = "3.0.2"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "timmo001"; 20 repo = "ovoenergy"; 21 tag = version; 22 hash = "sha256-oWJxpiC83C/ghs/Ik8+DrPWtP/j5jWEZ3+9Nqg4ARKU="; 23 }; 24 25 build-system = [ 26 incremental 27 setuptools 28 ]; 29 30 nativeBuildInputs = [ incremental ]; 31 32 dependencies = [ 33 aiohttp 34 click 35 pyjwt 36 typer 37 ]; 38 39 # Project has no tests 40 doCheck = false; 41 42 pythonImportsCheck = [ "ovoenergy" ]; 43 44 meta = { 45 description = "Python client for getting data from OVO's API"; 46 homepage = "https://github.com/timmo001/ovoenergy"; 47 changelog = "https://github.com/timmo001/ovoenergy/releases/tag/${src.tag}"; 48 license = lib.licenses.mit; 49 maintainers = with lib.maintainers; [ fab ]; 50 }; 51}