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

python3Packages.idrive-e2-client: init at 0.1.1 (#502312)

parents 924cca68 887a2f05
Loading
Loading
Loading
Loading
+53 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  setuptools,

  # dependencies
  aiohttp,
  typing-extensions,

  # tests
  aioresponses,
  pytest-asyncio,
  pytestCheckHook,
}:

buildPythonPackage (finalAttrs: {
  pname = "idrive-e2-client";
  version = "0.1.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "patrickvorgers";
    repo = "idrive-e2-client";
    tag = "v${finalAttrs.version}";
    hash = "sha256-T/tPFcwowZuAoAdJayWvWoir13U+dOTGxjFfsgrOJCo=";
  };

  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    typing-extensions
  ];

  nativeCheckInputs = [
    aioresponses
    pytest-asyncio
    pytestCheckHook
  ];

  pythonImportsCheck = [ "idrive_e2" ];

  meta = {
    description = "Asynchronous client for IDrive e2";
    homepage = "https://github.com/patrickvorgers/idrive-e2-client";
    changelog = "https://github.com/patrickvorgers/idrive-e2-client/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -2739,7 +2739,8 @@
    "idrive_e2" =
      ps: with ps; [
        aiobotocore
      ]; # missing inputs: idrive-e2-client
        idrive-e2-client
      ];
    "idteck_prox" =
      ps: with ps; [
        rfk101py
@@ -7628,6 +7629,7 @@
    "ibeacon"
    "icloud"
    "idasen_desk"
    "idrive_e2"
    "ifttt"
    "igloohome"
    "ign_sismologia"
+2 −0
Original line number Diff line number Diff line
@@ -7356,6 +7356,8 @@ self: super: with self; {
  idna-ssl = callPackage ../development/python-modules/idna-ssl { };
  idrive-e2-client = callPackage ../development/python-modules/idrive-e2-client { };
  idstools = callPackage ../development/python-modules/idstools { };
  ifaddr = callPackage ../development/python-modules/ifaddr { };