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

python314Packages.pysiaalarm: 3.1.1 -> 3.2.2 (#485189)

parents f0bd58d3 f2ce847c
Loading
Loading
Loading
Loading
+9 −14
Original line number Diff line number Diff line
@@ -5,38 +5,33 @@
  dataclasses-json,
  pycryptodome,
  setuptools-scm,
  pytest-asyncio_0,
  pytest-asyncio,
  pytest-cases,
  pytest-cov-stub,
  pytestCheckHook,
  pytz,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "pysiaalarm";
  version = "3.1.1";
  version = "3.2.2";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-q42bsBeAwU9lt7wtYGFJv23UBND+aMXZJlSWyTfZDQE=";
    inherit (finalAttrs) pname version;
    hash = "sha256-9icZnEpSaezVj9EH5s1u2mB2h9jP/oZcpkVE0WFM4W8=";
  };

  postPatch = ''
    substituteInPlace setup.cfg \
      --replace "==" ">="
  '';

  build-system = [ setuptools-scm ];

  propagatedBuildInputs = [
  dependencies = [
    dataclasses-json
    pycryptodome
    pytz
  ];

  nativeCheckInputs = [
    pytest-asyncio_0
    pytest-asyncio
    pytest-cases
    pytest-cov-stub
    pytestCheckHook
@@ -50,8 +45,8 @@ buildPythonPackage rec {
  meta = {
    description = "Python package for creating a client that talks with SIA-based alarm systems";
    homepage = "https://github.com/eavanvalkenburg/pysiaalarm";
    changelog = "https://github.com/eavanvalkenburg/pysiaalarm/releases/tag/v${version}";
    changelog = "https://github.com/eavanvalkenburg/pysiaalarm/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
})