Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
841 B
Nix
45 lines
841 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
poetry-core,
|
|
bleak,
|
|
bleak-retry-connector,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "medcom-ble";
|
|
version = "0.1.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "medcom_ble";
|
|
inherit version;
|
|
hash = "sha256-PQ0ZOFLGVllz/Jxw2CN6D5Ypza5/Ck3dtk3DuB+eHiA=";
|
|
};
|
|
|
|
build-system = [
|
|
poetry-core
|
|
];
|
|
|
|
dependencies = [
|
|
bleak
|
|
bleak-retry-connector
|
|
];
|
|
|
|
# Package has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"medcom_ble"
|
|
];
|
|
|
|
meta = {
|
|
description = "Library to communicate with Medcom BLE radiation monitors";
|
|
homepage = "https://github.com/elafargue/medcom-ble";
|
|
changelog = "https://github.com/elafargue/medcom-ble/blob/main/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.jamiemagee ];
|
|
};
|
|
}
|