Files
nixpkgs/pkgs/development/python-modules/sensor-state-data/default.nix
Martin Weinelt 0f3c70badf python3Packages.sensor-state-data: 2.18.1 -> 2.19.0
https://github.com/Bluetooth-Devices/sensor-state-data/releases/tag/v2.19.0

This commit was automatically generated using update-python-libraries.
2025-08-09 19:04:11 +02:00

42 lines
962 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pytest-cov-stub,
pythonOlder,
}:
buildPythonPackage rec {
pname = "sensor-state-data";
version = "2.19.0";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = "sensor-state-data";
tag = "v${version}";
hash = "sha256-Jl+kyr9WhYEzvsnSdqfeDDWgcEU9Yi6Snd67YQ+1MqQ=";
};
nativeBuildInputs = [ poetry-core ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "sensor_state_data" ];
meta = with lib; {
description = "Models for storing and converting Sensor Data state";
homepage = "https://github.com/bluetooth-devices/sensor-state-data";
changelog = "https://github.com/Bluetooth-Devices/sensor-state-data/releases/tag/${src.tag}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}