https://github.com/Bluetooth-Devices/sensor-state-data/releases/tag/v2.19.0 This commit was automatically generated using update-python-libraries.
42 lines
962 B
Nix
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 ];
|
|
};
|
|
}
|