Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 aiohttp, 4 async-timeout, 5 buildPythonPackage, 6 fetchFromGitHub, 7}: 8 9buildPythonPackage rec { 10 pname = "pyemby"; 11 version = "1.9"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "mezz64"; 16 repo = pname; 17 rev = version; 18 hash = "sha256-4mOQLfPbRzZzpNLvekJHVKiqdGGKPhW6BpKkyRfk2Pc="; 19 }; 20 21 propagatedBuildInputs = [ 22 aiohttp 23 async-timeout 24 ]; 25 26 # Project has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ "pyemby" ]; 30 31 meta = with lib; { 32 description = "Python library to interface with the Emby API"; 33 homepage = "https://github.com/mezz64/pyemby"; 34 license = with licenses; [ mit ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}