python311Packages.aiortsp: init at 1.3.7
This commit is contained in:
parent
d5c39a4b92
commit
7f784ce7d0
2 changed files with 56 additions and 0 deletions
54
pkgs/development/python-modules/aiortsp/default.nix
Normal file
54
pkgs/development/python-modules/aiortsp/default.nix
Normal file
|
@ -0,0 +1,54 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
|
||||
# dependencies
|
||||
, dpkt
|
||||
|
||||
# tests
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiortsp";
|
||||
version = "1.3.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "marss";
|
||||
repo = "aiortsp";
|
||||
rev = version;
|
||||
hash = "sha256-bxfnKAzMYh0lhS3he617eGhO7hmNbiwEYHh8k/PZ6r4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dpkt
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiortsp"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An Asyncio-based RTSP library";
|
||||
homepage = "https://github.com/marss/aiortsp";
|
||||
changelog = "https://github.com/marss/aiortsp/blob/${src.rev}/CHANGELOG.rst";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
|
@ -362,6 +362,8 @@ self: super: with self; {
|
|||
|
||||
aiortm = callPackage ../development/python-modules/aiortm { };
|
||||
|
||||
aiortsp = callPackage ../development/python-modules/aiortsp { };
|
||||
|
||||
aioruckus = callPackage ../development/python-modules/aioruckus { };
|
||||
|
||||
aiorun = callPackage ../development/python-modules/aiorun { };
|
||||
|
|
Loading…
Reference in a new issue