diff options
Diffstat (limited to 'pkgs/development/python-modules/python-yate/default.nix')
-rw-r--r-- | pkgs/development/python-modules/python-yate/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-yate/default.nix b/pkgs/development/python-modules/python-yate/default.nix new file mode 100644 index 00000000000..a35773f298d --- /dev/null +++ b/pkgs/development/python-modules/python-yate/default.nix @@ -0,0 +1,41 @@ +{ lib +, aiohttp +, async-timeout +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "python-yate"; + version = "0.4.1"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "eventphone"; + repo = "python-yate"; + rev = "refs/tags/v${version}"; + hash = "sha256-AdnlNsEOFuzuGTBmfV9zKyv2iFHEJ4eLMrC6SHHf7m0="; + }; + + propagatedBuildInputs = [ + aiohttp + async-timeout + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "yate" + ]; + + meta = with lib; { + description = "Python library for the yate telephony engine"; + homepage = "https://github.com/eventphone/python-yate"; + changelog = "https://github.com/eventphone/python-yate/releases/tag/v${version}"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ clerie ]; + }; +} |