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

python3Packages.airpatrol: init at 0.1.0 (#491289)

parents 4bdaad74 66f43ae4
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  lib,
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  pytest-asyncio,
  setuptools,
}:

buildPythonPackage rec {
  pname = "airpatrol";
  version = "0.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "antondalgren";
    repo = "airpatrol";
    tag = "v${version}";
    hash = "sha256-KPch1GsJ5my43d9SVpwGA2EmrkmeBGJWAkY51rDofTk=";
  };

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-asyncio
  ];

  pythonImportsCheck = [ "airpatrol" ];

  meta = {
    description = "Python package for interacting with AirPatrol devices";
    homepage = "https://github.com/antondalgren/airpatrol";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ jamiemagee ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -126,7 +126,8 @@
      ];
    "airpatrol" =
      ps: with ps; [
      ]; # missing inputs: airpatrol
        airpatrol
      ];
    "airq" =
      ps: with ps; [
        aioairq
@@ -7178,6 +7179,7 @@
    "airnow"
    "airobot"
    "airos"
    "airpatrol"
    "airq"
    "airthings"
    "airthings_ble"
+2 −0
Original line number Diff line number Diff line
@@ -584,6 +584,8 @@ self: super: with self; {
  airos = callPackage ../development/python-modules/airos { };
  airpatrol = callPackage ../development/python-modules/airpatrol { };
  airportsdata = callPackage ../development/python-modules/airportsdata { };
  airthings-ble = callPackage ../development/python-modules/airthings-ble { };