depot/third_party/nixpkgs/pkgs/development/python-modules/phone-modem/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

35 lines
687 B
Nix

{ lib
, aioserial
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "phone-modem";
version = "0.1.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "phone_modem";
inherit version;
sha256 = "sha256-7NahK9l67MdT/dDVXsq+y0Z4cZxZ/WUW2kPpE4Wz6j0=";
};
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 ];
};
}