11 buildPythonPackage rec {
12 pname = "crownstone-cloud";
14 format = "setuptools";
16 disabled = pythonOlder "3.8";
18 src = fetchFromGitHub {
20 repo = "crownstone-lib-python-cloud";
21 rev = "refs/tags/${version}";
22 hash = "sha256-CS1zeQiWPnsGCWixCsN9sz08mPORW5sVqIpSFPh0Qt0=";
26 # Remove asynctest, https://github.com/crownstone/crownstone-lib-python-cloud/pull/4
28 name = "remove-asynctest.patch";
29 url = "https://github.com/crownstone/crownstone-lib-python-cloud/commit/7f22c9b284bf8d7f6f43e205816787dd3bb37e78.patch";
30 hash = "sha256-LS1O9LVB14WyBXfuHf/bs1juJ59zWhJ8pL4aGtVrTG8=";
34 propagatedBuildInputs = [
44 sed -i '/codecov/d' requirements.txt
47 pythonImportsCheck = [
52 description = "Python module for communicating with Crownstone Cloud and devices";
53 homepage = "https://github.com/crownstone/crownstone-lib-python-cloud";
54 license = with licenses; [ mit ];
55 maintainers = with maintainers; [ fab ];