Merge pull request #220998 from fabaff/crownstone-cloud-remove-asynctest

python311Packages.crownstone-cloud: remove asynctest
This commit is contained in:
Fabian Affolter 2023-03-14 00:31:53 +01:00 committed by GitHub
commit 25bdecbd6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
, asynctest
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, certifi
, pythonOlder
, pytestCheckHook
@ -18,10 +19,19 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "crownstone";
repo = "crownstone-lib-python-cloud";
rev = version;
sha256 = "sha256-CS1zeQiWPnsGCWixCsN9sz08mPORW5sVqIpSFPh0Qt0=";
rev = "refs/tags/${version}";
hash = "sha256-CS1zeQiWPnsGCWixCsN9sz08mPORW5sVqIpSFPh0Qt0=";
};
patches = [
# Remove asynctest, https://github.com/crownstone/crownstone-lib-python-cloud/pull/4
(fetchpatch {
name = "remove-asynctest.patch";
url = "https://github.com/crownstone/crownstone-lib-python-cloud/commit/7f22c9b284bf8d7f6f43e205816787dd3bb37e78.patch";
hash = "sha256-LS1O9LVB14WyBXfuHf/bs1juJ59zWhJ8pL4aGtVrTG8=";
})
];
propagatedBuildInputs = [
aiohttp
asynctest