Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / aiortsp / default.nix
bloba988e670070ded1e62b463225ec2683b3b53b451
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
5 # build-system
6 , setuptools
8 # dependencies
9 , dpkt
11 # tests
12 , mock
13 , pytestCheckHook
14 , pytest-asyncio
17 buildPythonPackage rec {
18   pname = "aiortsp";
19   version = "1.3.7";
20   pyproject = true;
22   src = fetchFromGitHub {
23     owner = "marss";
24     repo = "aiortsp";
25     rev = version;
26     hash = "sha256-bxfnKAzMYh0lhS3he617eGhO7hmNbiwEYHh8k/PZ6r4=";
27   };
29   nativeBuildInputs = [
30     setuptools
31   ];
33   propagatedBuildInputs = [
34     dpkt
35   ];
37   nativeCheckInputs = [
38     mock
39     pytestCheckHook
40     pytest-asyncio
41   ];
43   pythonImportsCheck = [
44     "aiortsp"
45   ];
47   meta = with lib; {
48     description = "An Asyncio-based RTSP library";
49     homepage = "https://github.com/marss/aiortsp";
50     changelog = "https://github.com/marss/aiortsp/blob/${src.rev}/CHANGELOG.rst";
51     license = licenses.lgpl3Plus;
52     maintainers = with maintainers; [ hexa ];
53   };