Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 23 lines 665 B view raw
1{ lib, fetchPypi, buildPythonPackage, requests, zeroconf, protobuf, casttube, isPy3k }: 2 3buildPythonPackage rec { 4 pname = "PyChromecast"; 5 version = "3.2.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1fhh3djb6chs23j46hwzm1rd6hypkl517vjmmg44rxnslkcl7dhb"; 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}