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:
commit
6c2862ee31
34
pkgs/development/python-modules/aioserial/default.nix
Normal file
34
pkgs/development/python-modules/aioserial/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
35
pkgs/development/python-modules/phone-modem/default.nix
Normal file
35
pkgs/development/python-modules/phone-modem/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue