Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 crc, 7 setuptools, 8 pytest-asyncio, 9}: 10 11buildPythonPackage rec { 12 pname = "pyaprilaire"; 13 version = "0.7.4"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "chamberlain2007"; 18 repo = "pyaprilaire"; 19 rev = "refs/tags/${version}"; 20 hash = "sha256-+/yQO0JF2nkxaM71iNj6ODB8raM9s4qiLLi6/borcr4="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ crc ]; 26 27 pythonImportsCheck = [ "pyaprilaire" ]; 28 29 nativeCheckInputs = [ 30 pytestCheckHook 31 pytest-asyncio 32 ]; 33 34 meta = { 35 changelog = "https://github.com/chamberlain2007/pyaprilaire/releases/tag/${version}"; 36 description = "Python library for interacting with Aprilaire thermostats."; 37 homepage = "https://github.com/chamberlain2007/pyaprilaire"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ pyrox0 ]; 40 }; 41}