Unverified Commit 3c69cee4 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.govee-ble: migrate to finalAttrs

parent 9e8bcf87
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
  sensor-state-data,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "govee-ble";
  version = "1.2.0";
  pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "Bluetooth-Devices";
    repo = "govee-ble";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-+qzSNwV+2h75LVly7kZaaulKQp5Hp0N8k05BauN1TXo=";
  };

@@ -42,8 +42,8 @@ buildPythonPackage rec {
  meta = {
    description = "Library for Govee BLE devices";
    homepage = "https://github.com/Bluetooth-Devices/govee-ble";
    changelog = "https://github.com/bluetooth-devices/govee-ble/blob/${src.tag}/CHANGELOG.md";
    changelog = "https://github.com/bluetooth-devices/govee-ble/blob/${finalAttrs.src.tag}/CHANGELOG.md";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})