Merge pull request #126965 from dotlambda/arcam-fmj-init
This commit is contained in:
commit
0082e65f4f
4 changed files with 55 additions and 1 deletions
51
pkgs/development/python-modules/arcam-fmj/default.nix
Normal file
51
pkgs/development/python-modules/arcam-fmj/default.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, attrs
|
||||
, defusedxml
|
||||
, pytest-aiohttp
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "arcam-fmj";
|
||||
version = "0.7.0";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elupus";
|
||||
repo = "arcam_fmj";
|
||||
rev = version;
|
||||
sha256 = "0y4wvvbcsizjd9qz6iw4gjhq5qf0qcqs27hpx1cd90vhy6rclxm0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
attrs
|
||||
defusedxml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-aiohttp
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"arcam.fmj"
|
||||
"arcam.fmj.client"
|
||||
"arcam.fmj.state"
|
||||
"arcam.fmj.utils"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for speaking to Arcam receivers";
|
||||
homepage = "https://github.com/elupus/arcam_fmj";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
|
@ -45,7 +45,7 @@
|
|||
"aprs" = ps: with ps; [ aprslib geopy ];
|
||||
"aqualogic" = ps: with ps; [ aqualogic ];
|
||||
"aquostv" = ps: with ps; [ ]; # missing inputs: sharp_aquos_rc
|
||||
"arcam_fmj" = ps: with ps; [ ]; # missing inputs: arcam-fmj
|
||||
"arcam_fmj" = ps: with ps; [ arcam-fmj ];
|
||||
"arduino" = ps: with ps; [ ]; # missing inputs: PyMata
|
||||
"arest" = ps: with ps; [ ];
|
||||
"arlo" = ps: with ps; [ ha-ffmpeg pyarlo ];
|
||||
|
|
|
@ -292,6 +292,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"apple_tv"
|
||||
"apprise"
|
||||
"aprs"
|
||||
"arcam_fmj"
|
||||
"arlo"
|
||||
"asuswrt"
|
||||
"atag"
|
||||
|
|
|
@ -499,6 +499,8 @@ in {
|
|||
|
||||
arabic-reshaper = callPackage ../development/python-modules/arabic-reshaper { };
|
||||
|
||||
arcam-fmj = callPackage ../development/python-modules/arcam-fmj { };
|
||||
|
||||
archinfo = callPackage ../development/python-modules/archinfo { };
|
||||
|
||||
area = callPackage ../development/python-modules/area { };
|
||||
|
|
Loading…
Reference in a new issue