python3Packages.pymitv: init at 1.4.3
This commit is contained in:
parent
e59a33db58
commit
712bd27c13
2 changed files with 32 additions and 0 deletions
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 ];
|
||||
};
|
||||
}
|
|
@ -5694,6 +5694,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 a new issue