nixos/java: No bashisms in `environment.shellInit` script (#294121)
[NixPkgs.git] / pkgs / development / python-modules / aiosolaredge / default.nix
blobb05f1b84cc6eac881bf8f9e82be37bb612d7b0a8
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   aiohttp,
7   yarl,
8   pytest-asyncio,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "aiosolaredge";
14   version = "0.2.0";
15   pyproject = true;
17   src = fetchFromGitHub {
18     owner = "bdraco";
19     repo = "aiosolaredge";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-1C74U5HWDTJum1XES21t1uIJwm0YW3l041mwvqY/dA4=";
22   };
24   postPatch = ''
25     sed -i "/^addopts/d" pyproject.toml
26   '';
28   build-system = [ poetry-core ];
30   dependencies = [
31     aiohttp
32     yarl
33   ];
35   pythonImportsCheck = [ "aiosolaredge" ];
37   nativeCheckInputs = [
38     pytest-asyncio
39     pytestCheckHook
40   ];
42   meta = {
43     changelog = "https://github.com/bdraco/aiosolaredge/blob/${src.rev}/CHANGELOG.md";
44     description = "Asyncio SolarEdge API client";
45     homepage = "https://github.com/bdraco/aiosolaredge";
46     license = lib.licenses.mit;
47     maintainers = with lib.maintainers; [ dotlambda ];
48   };