nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 51 lines 1.0 kB view raw
1{ 2 lib, 3 aiohttp, 4 async-timeout, 5 buildPythonPackage, 6 fetchFromGitHub, 7 poetry-core, 8 pytest-asyncio, 9 pytest-timeout, 10 pytest-cov-stub, 11 pytestCheckHook, 12 python-dotenv, 13}: 14 15buildPythonPackage rec { 16 pname = "aiopvpc"; 17 version = "4.3.1"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "azogue"; 22 repo = "aiopvpc"; 23 tag = "v${version}"; 24 hash = "sha256-1xeXfhoXRfJ7vrpRPeYmwcAGjL09iNCOm/f4pPvuZLU="; 25 }; 26 27 build-system = [ poetry-core ]; 28 29 dependencies = [ 30 aiohttp 31 async-timeout 32 ]; 33 34 nativeCheckInputs = [ 35 pytest-asyncio 36 pytest-timeout 37 pytest-cov-stub 38 pytestCheckHook 39 python-dotenv 40 ]; 41 42 pythonImportsCheck = [ "aiopvpc" ]; 43 44 meta = { 45 description = "Python module to download Spanish electricity hourly prices (PVPC)"; 46 homepage = "https://github.com/azogue/aiopvpc"; 47 changelog = "https://github.com/azogue/aiopvpc/blob/v${version}/CHANGELOG.md"; 48 license = with lib.licenses; [ mit ]; 49 maintainers = with lib.maintainers; [ fab ]; 50 }; 51}