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

python3Packages.python-bsblan: 3.1.4 -> 3.1.6 (#478740)

parents b1590cb5 a7e249ea
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -18,21 +18,21 @@
  yarl,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "python-bsblan";
  version = "3.1.4";
  version = "3.1.6";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "liudger";
    repo = "python-bsblan";
    tag = "v${version}";
    hash = "sha256-P063G4YD4IlNP0ezYGhELjK4AKFQ4wPXFhgYb9OjRf0=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-FMbba7z/Di5oD6xrjpF2cyJzdzdFjSw7wfTwS8Sjo8c=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail 'version = "0.0.0"' 'version = "${version}"'
      --replace-fail 'version = "0.0.0"' 'version = "${finalAttrs.version}"'
  '';

  build-system = [ hatchling ];
@@ -64,8 +64,8 @@ buildPythonPackage rec {
  meta = {
    description = "Module to control and monitor an BSBLan device programmatically";
    homepage = "https://github.com/liudger/python-bsblan";
    changelog = "https://github.com/liudger/python-bsblan/releases/tag/${src.tag}";
    changelog = "https://github.com/liudger/python-bsblan/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})