Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 54 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies dpkt,
# tests mock, pytestCheckHook, pytest-asyncio,}:
buildPythonPackage rec { pname = "aiortsp"; version = "1.4.0"; pyproject = true;
src = fetchFromGitHub { owner = "marss"; repo = "aiortsp"; tag = "v${version}"; hash = "sha256-/ydsu+53WOocdWk3AW0/cXBEx1qAlhIC0LUDy459pbQ="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ dpkt ];
nativeCheckInputs = [ mock pytestCheckHook pytest-asyncio ];
disabledTestPaths = [ # these tests get stuck, could be pytest-asyncio compat issue "tests/test_connection.py" ];
pythonImportsCheck = [ "aiortsp" ];
meta = with lib; { description = "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 ]; };}