depot/third_party/nixpkgs/pkgs/development/python-modules/python-yate/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

41 lines
857 B
Nix

{ 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 ];
};
}