3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #140125 from fabaff/phone-modem

python3Packages.phone-modem: init at 0.1.1
This commit is contained in:
Fabian Affolter 2021-10-03 23:03:11 +02:00 committed by GitHub
commit 6c2862ee31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 73 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyserial
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioserial";
version = "1.3.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "080j3ws3j2arj2f16mzqn1qliy0bzmb0gzk5jvm5ldkhsf1s061h";
};
propagatedBuildInputs = [
pyserial
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "aioserial" ];
meta = with lib; {
description = "Python module for async serial communication";
homepage = "https://github.com/changyuheng/aioserial";
license = licenses.mpl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,35 @@
{ lib
, aioserial
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "phone-modem";
version = "0.1.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "phone_modem";
inherit version;
sha256 = "0kqa1ky5hjs9zdp3dnd8s9mz5p6z0al3hxxlgqdq9vnnpnv0lafy";
};
propagatedBuildInputs = [
aioserial
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "phone_modem" ];
meta = with lib; {
description = "Python module for receiving caller ID and call rejection";
homepage = "https://github.com/tkdrob/phone_modem";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -369,6 +369,8 @@ in {
aiorun = callPackage ../development/python-modules/aiorun { };
aioserial = callPackage ../development/python-modules/aioserial { };
aioshelly = callPackage ../development/python-modules/aioshelly { };
aiosignal = callPackage ../development/python-modules/aiosignal { };
@ -5491,6 +5493,8 @@ in {
phik = callPackage ../development/python-modules/phik { };
phone-modem = callPackage ../development/python-modules/phone-modem { };
phonenumbers = callPackage ../development/python-modules/phonenumbers { };
micloud = callPackage ../development/python-modules/micloud { };