Files
nixpkgs/pkgs/development/python-modules/crownstone-cloud/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

43 lines
841 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchPypi,
certifi,
pythonOlder,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "crownstone-cloud";
version = "1.4.11";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "crownstone_cloud";
inherit version;
hash = "sha256-s84pK52uMupxQfdMldV14V3nj+yVku1Vw13CRX4o08U=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
certifi
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "crownstone_cloud" ];
meta = {
description = "Python module for communicating with Crownstone Cloud and devices";
homepage = "https://github.com/Crownstone-Community/crownstone-lib-python-cloud";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}