Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchPypi, buildPythonPackage, requests, zeroconf, protobuf, casttube, isPy3k }: 2 3buildPythonPackage rec { 4 pname = "PyChromecast"; 5 version = "7.2.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "9aad074d0361791af8ccb8fb7ea0f1646db3d89600fed85c5562b64c8b1aa899"; 10 }; 11 12 disabled = !isPy3k; 13 14 propagatedBuildInputs = [ requests zeroconf protobuf casttube ]; 15 16 meta = with lib; { 17 description = "Library for Python 3.4+ to communicate with the Google Chromecast"; 18 homepage = "https://github.com/balloob/pychromecast"; 19 license = licenses.mit; 20 maintainers = with maintainers; [ abbradar ]; 21 platforms = platforms.unix; 22 }; 23}