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

python3Packages.plugwise: modernize

parent 66dc105d
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -12,21 +12,18 @@
  pytest-asyncio,
  pytestCheckHook,
  python-dateutil,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "plugwise";
  version = "1.11.3";
  pyproject = true;

  disabled = pythonOlder "3.12";

  src = fetchFromGitHub {
    owner = "plugwise";
    repo = "python-plugwise";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-tIV1h5V+a1ERr5uGH68pMDK6C55qGgJpegPRvXwZ7bM=";
  };

@@ -60,8 +57,8 @@ buildPythonPackage rec {
  meta = {
    description = "Python module for Plugwise Smiles, Stretch and USB stick";
    homepage = "https://github.com/plugwise/python-plugwise";
    changelog = "https://github.com/plugwise/python-plugwise/releases/tag/${src.tag}";
    changelog = "https://github.com/plugwise/python-plugwise/releases/tag/${finalAttrs.src.tag}";
    license = with lib.licenses; [ mit ];
    maintainers = with lib.maintainers; [ fab ];
  };
}
})