Unverified Commit a95d1874 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.synology-srm: init at 0.2.3 (#432197)

parents 92efecab d2c587c5
Loading
Loading
Loading
Loading
+56 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  requests,
  poetry-core,
  pythonRelaxDepsHook,
  pytestCheckHook,
  requests-mock,
}:

buildPythonPackage rec {
  pname = "synology-srm";
  version = "0.2.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "aerialls";
    repo = "synology-srm";
    tag = "v${version}";
    hash = "sha256-qQxctw1UUs3jYve//irBni8rNKeld5u/bVtOwD2ofEQ=";
  };

  build-system = [
    poetry-core
  ];

  nativeBuildInputs = [
    pythonRelaxDepsHook
  ];

  pythonRelaxDeps = [
    "requests"
  ];

  dependencies = [
    requests
  ];

  nativeCheckInputs = [
    pytestCheckHook
    requests-mock
  ];

  pythonImportsCheck = [
    "synology_srm"
  ];

  meta = {
    description = "Python 3 library for Synology SRM (Router Manager)";
    homepage = "https://github.com/aerialls/synology-srm";
    changelog = "https://github.com/aerialls/synology-srm/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}
+2 −1
Original line number Diff line number Diff line
@@ -5774,7 +5774,8 @@
      ];
    "synology_srm" =
      ps: with ps; [
      ]; # missing inputs: synology-srm
        synology-srm
      ];
    "syslog" =
      ps: with ps; [
      ];
+2 −0
Original line number Diff line number Diff line
@@ -17595,6 +17595,8 @@ self: super: with self; {
  synergy = callPackage ../development/python-modules/synergy { };
  synology-srm = callPackage ../development/python-modules/synology-srm { };
  syrupy = callPackage ../development/python-modules/syrupy { };
  syslog-rfc5424-formatter = callPackage ../development/python-modules/syslog-rfc5424-formatter { };