14 buildPythonPackage rec {
15 pname = "libpurecool";
20 inherit pname version;
21 sha256 = "1kwbinbg0i4fca1bpx6jwa1fiw71vg0xa89jhq4pmnl5cn9c8kqx";
24 # Remove vendorized zeroconf, https://github.com/etheralm/libpurecool/issues/33
26 rm libpurecool/zeroconf.py
27 substituteInPlace libpurecool/dyson_pure_cool_link.py \
28 --replace-fail "from .zeroconf import ServiceBrowser, Zeroconf" "from zeroconf import ServiceBrowser, Zeroconf"
31 build-system = [ setuptools ];
42 # Tests are only present in repo, https://github.com/etheralm/libpurecool/issues/36
44 pythonImportsCheck = [ "libpurecool" ];
47 description = "Python library for Dyson devices";
48 homepage = "http://libpurecool.readthedocs.io";
49 license = with licenses; [ asl20 ];
50 maintainers = with maintainers; [ fab ];