Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 28 lines 567 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pbr 5, pytest 6, isPy3k 7}: 8 9buildPythonPackage rec { 10 pname = "ssdp"; 11 version = "1.0.1"; 12 disabled = !isPy3k; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "0yhjqs9jyvwmba8fi72xfi9k8pxy11wkz4iywayrg71ka3la49bk"; 17 }; 18 19 buildInputs = [ pbr ]; 20 checkInputs = [ pytest ]; 21 propagatedBuildInputs = [ ]; 22 23 meta = with stdenv.lib; { 24 homepage = https://github.com/codingjoe/ssdp; 25 description = "Python asyncio library for Simple Service Discovery Protocol (SSDP)."; 26 license = licenses.mit; 27 }; 28}