diff options
Diffstat (limited to 'pkgs/development/python-modules/aiortsp/default.nix')
-rw-r--r-- | pkgs/development/python-modules/aiortsp/default.nix | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/pkgs/development/python-modules/aiortsp/default.nix b/pkgs/development/python-modules/aiortsp/default.nix index a988e670070d..0e3920cfd6a8 100644 --- a/pkgs/development/python-modules/aiortsp/default.nix +++ b/pkgs/development/python-modules/aiortsp/default.nix @@ -1,38 +1,35 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub +{ + lib, + buildPythonPackage, + fetchFromGitHub, -# build-system -, setuptools + # build-system + setuptools, -# dependencies -, dpkt + # dependencies + dpkt, -# tests -, mock -, pytestCheckHook -, pytest-asyncio + # tests + mock, + pytestCheckHook, + pytest-asyncio, }: buildPythonPackage rec { pname = "aiortsp"; - version = "1.3.7"; + version = "1.4.0"; pyproject = true; src = fetchFromGitHub { owner = "marss"; repo = "aiortsp"; - rev = version; - hash = "sha256-bxfnKAzMYh0lhS3he617eGhO7hmNbiwEYHh8k/PZ6r4="; + rev = "refs/tags/v${version}"; + hash = "sha256-/ydsu+53WOocdWk3AW0/cXBEx1qAlhIC0LUDy459pbQ="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; - propagatedBuildInputs = [ - dpkt - ]; + propagatedBuildInputs = [ dpkt ]; nativeCheckInputs = [ mock @@ -40,12 +37,10 @@ buildPythonPackage rec { pytest-asyncio ]; - pythonImportsCheck = [ - "aiortsp" - ]; + pythonImportsCheck = [ "aiortsp" ]; meta = with lib; { - description = "An Asyncio-based RTSP library"; + 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; |