mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #332770 from dotlambda/python3Packages.mypermobil
home-assistant: support permobil component
This commit is contained in:
commit
efcb904a6c
50
pkgs/development/python-modules/mypermobil/default.nix
Normal file
50
pkgs/development/python-modules/mypermobil/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
aiocache,
|
||||
aiohttp,
|
||||
aiounittest,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mypermobil";
|
||||
version = "0.1.8";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Permobil-Software";
|
||||
repo = "mypermobil";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-linnaRyA45EzqeSeNmvIE5gXkHA2F504U1++QBeRa90=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aiocache
|
||||
aiohttp
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mypermobil" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aiounittest
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# requires networking
|
||||
"test_region"
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/Permobil-Software/mypermobil/releases/tag/v${version}";
|
||||
description = "Python wrapper for the MyPermobil API";
|
||||
homepage = "https://github.com/Permobil-Software/mypermobil";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -3356,7 +3356,8 @@
|
||||
"pepco" = ps: with ps; [
|
||||
];
|
||||
"permobil" = ps: with ps; [
|
||||
]; # missing inputs: mypermobil
|
||||
mypermobil
|
||||
];
|
||||
"persistent_notification" = ps: with ps; [
|
||||
];
|
||||
"person" = ps: with ps; [
|
||||
@ -5768,6 +5769,7 @@
|
||||
"panel_iframe"
|
||||
"peco"
|
||||
"pegel_online"
|
||||
"permobil"
|
||||
"persistent_notification"
|
||||
"person"
|
||||
"philips_js"
|
||||
|
@ -8128,6 +8128,8 @@ self: super: with self; {
|
||||
|
||||
myjwt = callPackage ../development/python-modules/myjwt { };
|
||||
|
||||
mypermobil = callPackage ../development/python-modules/mypermobil { };
|
||||
|
||||
mypy = callPackage ../development/python-modules/mypy { };
|
||||
|
||||
mypy-boto3-builder = callPackage ../development/python-modules/mypy-boto3-builder { };
|
||||
|
Loading…
Reference in New Issue
Block a user