1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

python3Packages.crownstone-sse: init at 2.0.2

This commit is contained in:
Fabian Affolter 2021-10-11 07:54:18 +02:00
parent 9cf1425116
commit f0417a3336
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{ lib
, aiohttp
, asynctest
, buildPythonPackage
, certifi
, fetchFromGitHub
, pythonOlder
, coverage
}:
buildPythonPackage rec {
pname = "crownstone-sse";
version = "2.0.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "crownstone";
repo = "crownstone-lib-python-sse";
rev = version;
sha256 = "0rrr92j8pi5annrfa22k1hggsyyacl9asi9i8yrj4jqdjvwjn2gc";
};
propagatedBuildInputs = [
aiohttp
asynctest
certifi
];
# Tests are only providing coverage
doCheck = false;
pythonImportsCheck = [
"crownstone_sse"
];
meta = with lib; {
description = "Python module for listening to Crownstone SSE events";
homepage = "https://github.com/crownstone/crownstone-lib-python-sse";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1743,6 +1743,8 @@ in {
crownstone-core = callPackage ../development/python-modules/crownstone-core { };
crownstone-sse = callPackage ../development/python-modules/crownstone-sse { };
crownstone-uart = callPackage ../development/python-modules/crownstone-uart { };
cryptacular = callPackage ../development/python-modules/cryptacular { };