Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 42 lines 1.0 kB view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7 pytestCheckHook, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "pyfronius"; 13 version = "0.7.3"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "nielstron"; 20 repo = "pyfronius"; 21 rev = "refs/tags/release-${version}"; 22 hash = "sha256-7GtY/6uuLe7K9T7xMVt2ytpA6MKVWnyEoLtA5dSMiH4="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ aiohttp ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "pyfronius" ]; 32 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 }; 42}