Files
nixpkgs/pkgs/development/python-modules/python-yate/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

40 lines
875 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";
tag = "v${version}";
hash = "sha256-AdnlNsEOFuzuGTBmfV9zKyv2iFHEJ4eLMrC6SHHf7m0=";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "yate" ];
meta = {
description = "Python library for the yate telephony engine";
mainProgram = "yate_callgen";
homepage = "https://github.com/eventphone/python-yate";
changelog = "https://github.com/eventphone/python-yate/releases/tag/v${version}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ clerie ];
};
}