Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 aiohttp, 7 websockets, 8}: 9 10buildPythonPackage rec { 11 pname = "pymee"; 12 version = "2.2.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "FreshlyBrewedCode"; 17 repo = "pymee"; 18 rev = "refs/tags/v${version}"; 19 hash = "sha256-4XKd0lZ6RAsG2zXjKMUeST6cNcg+SjT371gxLIhxkAA="; 20 }; 21 22 build-system = [ setuptools ]; 23 dependencies = [ 24 aiohttp 25 websockets 26 ]; 27 28 pythonImportsCheck = [ "pymee" ]; 29 30 # no tests 31 doCheck = false; 32 33 meta = { 34 description = "Python library to interact with homee"; 35 homepage = "https://github.com/FreshlyBrewedCode/pymee"; 36 changelog = "https://github.com/FreshlyBrewedCode/pymee/blob/${src.rev}/CHANGELOG.md"; 37 license = lib.licenses.mit; 38 maintainers = with lib.maintainers; [ sigmanificient ]; 39 }; 40}