Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 aiohttp, 4 bleak, 5 buildPythonPackage, 6 fetchFromGitHub, 7 async-timeout, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "adax-local"; 13 version = "0.2.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "Danielhiversen"; 18 repo = "pyAdaxLocal"; 19 tag = version; 20 hash = "sha256-HdhatjlN4oUzBV1cf/PfgOJbEks4KBdw4vH8Y/z6efQ="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 aiohttp 27 bleak 28 async-timeout 29 ]; 30 31 # Module has no tests 32 doCheck = false; 33 34 pythonImportsCheck = [ "adax_local" ]; 35 36 meta = with lib; { 37 description = "Module for local access to Adax"; 38 homepage = "https://github.com/Danielhiversen/pyAdaxLocal"; 39 changelog = "https://github.com/Danielhiversen/pyAdaxLocal/releases/tag/${src.tag}"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}