mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #220998 from fabaff/crownstone-cloud-remove-asynctest
python311Packages.crownstone-cloud: remove asynctest
This commit is contained in:
commit
25bdecbd6a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user