Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / androidtvremote2 / default.nix
blob976ba217ce464ecd2a408e0f2e33085575824f76
1 { lib
2 , aiofiles
3 , buildPythonPackage
4 , cryptography
5 , fetchFromGitHub
6 , protobuf
7 , pythonOlder
8 , setuptools
9 }:
11 buildPythonPackage rec {
12   pname = "androidtvremote2";
13   version = "0.0.14";
14   format = "pyproject";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "tronikos";
20     repo = "androidtvremote2";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-m53TlNrrCjA4CqvR02Yph7Gr5Dt17VJFBX6MC3arWOI=";
23   };
25   nativeBuildInputs = [
26     setuptools
27   ];
29   propagatedBuildInputs = [
30     aiofiles
31     cryptography
32     protobuf
33   ];
35   pythonImportsCheck = [
36     "androidtvremote2"
37   ];
39   # Module only has a dummy test
40   doCheck = false;
42   meta = with lib; {
43     description = "Library to interact with the Android TV Remote protocol v2";
44     homepage = "https://github.com/tronikos/androidtvremote2";
45     changelog = "https://github.com/tronikos/androidtvremote2/releases/tag/v${version}";
46     license = licenses.asl20;
47     maintainers = with maintainers; [ fab ];
48   };