mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #113778 from fabaff/pymitv
This commit is contained in:
commit
a0e658b8f7
30
pkgs/development/python-modules/pymitv/default.nix
Normal file
30
pkgs/development/python-modules/pymitv/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymitv";
|
||||
version = "1.4.3";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0jbs1zhqpnsyad3pd8cqy1byv8m5bq17ydc6crmrfkjbp6xvvg3x";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
# Projec thas no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pymitv" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client the Mi Tv 3";
|
||||
homepage = "https://github.com/simse/pymitv";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -950,7 +950,7 @@
|
||||
"xiaomi" = ps: with ps; [ ha-ffmpeg ];
|
||||
"xiaomi_aqara" = ps: with ps; [ pyxiaomigateway aiohttp-cors netdisco zeroconf ];
|
||||
"xiaomi_miio" = ps: with ps; [ construct python-miio ];
|
||||
"xiaomi_tv" = ps: with ps; [ ]; # missing inputs: pymitv
|
||||
"xiaomi_tv" = ps: with ps; [ pymitv ];
|
||||
"xmpp" = ps: with ps; [ slixmpp ];
|
||||
"xs1" = ps: with ps; [ ]; # missing inputs: xs1-api-client
|
||||
"yale_smart_alarm" = ps: with ps; [ yalesmartalarmclient ];
|
||||
|
@ -5696,6 +5696,8 @@ in {
|
||||
|
||||
pymetno = callPackage ../development/python-modules/pymetno { };
|
||||
|
||||
pymitv = callPackage ../development/python-modules/pymitv { };
|
||||
|
||||
pymodbus = callPackage ../development/python-modules/pymodbus { };
|
||||
|
||||
pymongo = callPackage ../development/python-modules/pymongo { };
|
||||
|
Loading…
Reference in New Issue
Block a user