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:
parent
9cf1425116
commit
f0417a3336
44
pkgs/development/python-modules/crownstone-sse/default.nix
Normal file
44
pkgs/development/python-modules/crownstone-sse/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue