coqPackages.ExtLib: 0.12.2 → 0.13.0
[NixPkgs.git] / pkgs / development / python-modules / aiortsp / default.nix
blob0e3920cfd6a8b583a59d4302366eb2edef8e057d
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   setuptools,
9   # dependencies
10   dpkt,
12   # tests
13   mock,
14   pytestCheckHook,
15   pytest-asyncio,
18 buildPythonPackage rec {
19   pname = "aiortsp";
20   version = "1.4.0";
21   pyproject = true;
23   src = fetchFromGitHub {
24     owner = "marss";
25     repo = "aiortsp";
26     rev = "refs/tags/v${version}";
27     hash = "sha256-/ydsu+53WOocdWk3AW0/cXBEx1qAlhIC0LUDy459pbQ=";
28   };
30   nativeBuildInputs = [ setuptools ];
32   propagatedBuildInputs = [ dpkt ];
34   nativeCheckInputs = [
35     mock
36     pytestCheckHook
37     pytest-asyncio
38   ];
40   pythonImportsCheck = [ "aiortsp" ];
42   meta = with lib; {
43     description = "Asyncio-based RTSP library";
44     homepage = "https://github.com/marss/aiortsp";
45     changelog = "https://github.com/marss/aiortsp/blob/${src.rev}/CHANGELOG.rst";
46     license = licenses.lgpl3Plus;
47     maintainers = with maintainers; [ hexa ];
48   };