Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 41 lines 867 B view raw
1{ 2 aiohttp, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 lib, 7 pytestCheckHook, 8 requests, 9}: 10 11buildPythonPackage rec { 12 pname = "iottycloud"; 13 version = "0.2.1"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "pburgio"; 18 repo = "iottyCloud"; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-EtAAUyVL7FTn0VoGmU5bU9XouMuEQUOx2t6j/wd1OEo="; 21 }; 22 23 build-system = [ hatchling ]; 24 25 dependencies = [ aiohttp ]; 26 27 pythonImportsCheck = [ "iottycloud" ]; 28 29 nativeCheckInputs = [ 30 pytestCheckHook 31 requests 32 ]; 33 34 meta = { 35 changelog = "https://github.com/pburgio/iottyCloud/releases/tag/v${version}"; 36 description = "Python library to interact with iotty CloudApi"; 37 homepage = "https://github.com/pburgio/iottyCloud"; 38 license = lib.licenses.agpl3Only; 39 maintainers = with lib.maintainers; [ dotlambda ]; 40 }; 41}