12 buildPythonPackage rec {
13 pname = "libpurecool";
17 inherit pname version;
18 sha256 = "1kwbinbg0i4fca1bpx6jwa1fiw71vg0xa89jhq4pmnl5cn9c8kqx";
21 # Remove vendorized zeroconf, https://github.com/etheralm/libpurecool/issues/33
23 rm libpurecool/zeroconf.py
24 substituteInPlace libpurecool/dyson_pure_cool_link.py \
25 --replace "from .zeroconf import ServiceBrowser, Zeroconf" "from zeroconf import ServiceBrowser, Zeroconf"
28 propagatedBuildInputs = [
37 # Tests are only present in repo, https://github.com/etheralm/libpurecool/issues/36
39 pythonImportsCheck = [ "libpurecool" ];
42 description = "Python library for Dyson devices";
43 homepage = "http://libpurecool.readthedocs.io";
44 license = with licenses; [ asl20 ];
45 maintainers = with maintainers; [ fab ];