1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/ssdp/default.nix

32 lines
608 B
Nix
Raw Normal View History

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