3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ssdp/default.nix
2019-09-14 11:53:02 -07:00

30 lines
577 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, pbr
, pytest
}:
buildPythonPackage rec {
pname = "ssdp";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0yhjqs9jyvwmba8fi72xfi9k8pxy11wkz4iywayrg71ka3la49bk";
};
buildInputs = [ pbr ];
checkInputs = [ pytest ];
# test suite uses new async primitives
doCheck = !isPy27;
meta = with stdenv.lib; {
homepage = https://github.com/codingjoe/ssdp;
description = "Python asyncio library for Simple Service Discovery Protocol (SSDP).";
license = licenses.mit;
};
}