diff --git a/pkgs/development/python-modules/crownstone-cloud/default.nix b/pkgs/development/python-modules/crownstone-cloud/default.nix index 94e6219264c0..882f7d95df57 100644 --- a/pkgs/development/python-modules/crownstone-cloud/default.nix +++ b/pkgs/development/python-modules/crownstone-cloud/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "crownstone-cloud"; - version = "1.4.5"; + version = "1.4.8"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -18,8 +18,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "crownstone"; repo = "crownstone-lib-python-cloud"; - rev = "v${version}"; - sha256 = "1a8bkqkrc7iyggr5rr20qdqg67sycdx2d94dd1ylkmr7627r34ys"; + rev = version; + sha256 = "sha256-iHn4g52/QM0TS/flKkcFrX6IFrCjiXUxcjVLHNg6tVo="; }; propagatedBuildInputs = [ @@ -32,9 +32,13 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = [ + # https://github.com/crownstone/crownstone-lib-python-cloud/issues/1 + "test_data_structure" + ]; + postPatch = '' - substituteInPlace requirements.txt \ - --replace "codecov>=2.1.10" "" + sed -i '/codecov/d' requirements.txt ''; pythonImportsCheck = [