mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #234674 from fabaff/androidtvremote2
python311Packages.androidtvremote2: init at 0.0.9
This commit is contained in:
commit
abed6be64d
49
pkgs/development/python-modules/androidtvremote2/default.nix
Normal file
49
pkgs/development/python-modules/androidtvremote2/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{ lib
|
||||
, aiofiles
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, protobuf
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "androidtvremote2";
|
||||
version = "0.0.9";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tronikos";
|
||||
repo = "androidtvremote2";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-gQ2PVEhX1jwd0yvMf/Z0yKvruDzpY5080x4IU2i/PJ4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiofiles
|
||||
cryptography
|
||||
protobuf
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"androidtvremote2"
|
||||
];
|
||||
|
||||
# Module only has a dummy test
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to interact with the Android TV Remote protocol v2";
|
||||
homepage = "https://github.com/tronikos/androidtvremote2";
|
||||
changelog = "https://github.com/tronikos/androidtvremote2/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -150,7 +150,8 @@
|
||||
++ androidtv.optional-dependencies.async
|
||||
++ pure-python-adb.optional-dependencies.async;
|
||||
"androidtv_remote" = ps: with ps; [
|
||||
]; # missing inputs: androidtvremote2
|
||||
androidtvremote2
|
||||
];
|
||||
"anel_pwrctrl" = ps: with ps; [
|
||||
]; # missing inputs: anel_pwrctrl-homeassistant
|
||||
"anova" = ps: with ps; [
|
||||
@ -4732,6 +4733,7 @@
|
||||
"analytics"
|
||||
"android_ip_webcam"
|
||||
"androidtv"
|
||||
"androidtv_remote"
|
||||
"apache_kafka"
|
||||
"apcupsd"
|
||||
"api"
|
||||
|
@ -468,6 +468,8 @@ self: super: with self; {
|
||||
|
||||
androidtv = callPackage ../development/python-modules/androidtv { };
|
||||
|
||||
androidtvremote2 = callPackage ../development/python-modules/androidtvremote2 { };
|
||||
|
||||
androguard = callPackage ../development/python-modules/androguard { };
|
||||
|
||||
angr = callPackage ../development/python-modules/angr { };
|
||||
|
Loading…
Reference in New Issue
Block a user