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

python3Packages.hanna-cloud: init at 0.0.7 (#494241)

parents 61ba195f 55397635
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pycryptodome,
  requests,
  setuptools,
}:

buildPythonPackage (finalAttrs: {
  pname = "hanna-cloud";
  version = "0.0.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "bestycame";
    repo = "hanna_cloud";
    tag = finalAttrs.version;
    hash = "sha256-UYwM1IbU4LlgBBEbMYX5ovf5/8N1SwyeKTHz6TYZZ24=";
  };

  build-system = [ setuptools ];

  dependencies = [
    pycryptodome
    requests
  ];

  # upstream has no tests
  doCheck = false;

  pythonImportsCheck = [ "hanna_cloud" ];

  meta = {
    description = "Python client for the HannaCloud API";
    homepage = "https://github.com/bestycame/hanna_cloud";
    changelog = "https://github.com/bestycame/hanna_cloud/releases/tag/${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
})
+2 −1
Original line number Diff line number Diff line
@@ -2291,7 +2291,8 @@
      ];
    "hanna" =
      ps: with ps; [
      ]; # missing inputs: hanna-cloud
        hanna-cloud
      ];
    "hardkernel" =
      ps: with ps; [
        aiohasupervisor
+2 −0
Original line number Diff line number Diff line
@@ -6854,6 +6854,8 @@ self: super: with self; {
  hankel = callPackage ../development/python-modules/hankel { };
  hanna-cloud = callPackage ../development/python-modules/hanna-cloud { };
  hanzidentifier = callPackage ../development/python-modules/hanzidentifier { };
  hap-python = callPackage ../development/python-modules/hap-python { };