dotnet: improve language coverage of passthru.tests for dotnet sdks (#370789)
[NixPkgs.git] / pkgs / development / python-modules / pyfronius / default.nix
blobb9d1d7ffb3c39935996fb10a6bf87ec86bf185ef
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pythonOlder,
7   pytestCheckHook,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "pyfronius";
13   version = "0.7.3";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "nielstron";
20     repo = "pyfronius";
21     tag = "release-${version}";
22     hash = "sha256-7GtY/6uuLe7K9T7xMVt2ytpA6MKVWnyEoLtA5dSMiH4=";
23   };
25   build-system = [ setuptools ];
27   dependencies = [ aiohttp ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   pythonImportsCheck = [ "pyfronius" ];
33   meta = with lib; {
34     description = "Python module to communicate with Fronius Symo";
35     homepage = "https://github.com/nielstron/pyfronius";
36     changelog = "https://github.com/nielstron/pyfronius/releases/tag/release-${version}";
37     license = licenses.mit;
38     maintainers = with maintainers; [ fab ];
39     # https://github.com/nielstron/pyfronius/issues/18
40     broken = versionAtLeast aiohttp.version "3.10.1";
41   };