Unverified Commit c66477f2 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.ruuvitag-ble: 0.2.1 -> 0.3.0 (#458889)

parents f027d822 45c71da6
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -8,22 +8,19 @@
  home-assistant-bluetooth,
  pytest-cov-stub,
  pytestCheckHook,
  pythonOlder,
  sensor-state-data,
}:

buildPythonPackage rec {
  pname = "ruuvitag-ble";
  version = "0.2.1";
  version = "0.3.0";
  pyproject = true;

  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "Bluetooth-Devices";
    repo = "ruuvitag-ble";
    tag = "v${version}";
    hash = "sha256-9aaAKb5Av2OMDGaSM9+tT0s++YYE0g1D01Le6RrMoMk=";
    hash = "sha256-5hlO2/YCTc65ImwjJVyWhFe2PTPlQ33aNdqEIxH/lms=";
  };

  build-system = [ hatchling ];
@@ -42,10 +39,11 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "ruuvitag_ble" ];

  meta = with lib; {
  meta = {
    changelog = "https://github.com/Bluetooth-Devices/ruuvitag-ble/releases/tag/${src.tag}";
    description = "Library for Ruuvitag BLE devices";
    homepage = "https://github.com/Bluetooth-Devices/ruuvitag-ble";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+4 −7
Original line number Diff line number Diff line
@@ -5,24 +5,21 @@
  poetry-core,
  pytestCheckHook,
  pytest-cov-stub,
  pythonOlder,
}:

buildPythonPackage rec {
  pname = "sensor-state-data";
  version = "2.19.0";
  format = "pyproject";

  disabled = pythonOlder "3.9";
  version = "2.20.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Bluetooth-Devices";
    repo = "sensor-state-data";
    tag = "v${version}";
    hash = "sha256-Jl+kyr9WhYEzvsnSdqfeDDWgcEU9Yi6Snd67YQ+1MqQ=";
    hash = "sha256-ONAM1WxKnzRCJsuJa+4zDaOXPkTj+zcTH54SgktpMR8=";
  };

  nativeBuildInputs = [ poetry-core ];
  build-system = [ poetry-core ];

  nativeCheckInputs = [
    pytestCheckHook