Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 33 lines 681 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6}: 7 8buildPythonPackage rec { 9 pname = "pyskyqhub"; 10 version = "0.1.9"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "RogerSelwyn"; 15 repo = "skyq_hub"; 16 rev = version; 17 hash = "sha256-yXqtABbsCh1yb96lsEA0gquikVenGLCo6J93AeXAC8k="; 18 }; 19 20 propagatedBuildInputs = [ aiohttp ]; 21 22 # Tests require physical hardware 23 doCheck = false; 24 25 pythonImportsCheck = [ "pyskyqhub" ]; 26 27 meta = { 28 description = "Python module for accessing SkyQ Hub"; 29 homepage = "https://github.com/RogerSelwyn/skyq_hub"; 30 license = lib.licenses.asl20; 31 maintainers = with lib.maintainers; [ fab ]; 32 }; 33}