Merge pull request #225072 from fleaz/update_pytapo

python3Packages.rtp: init at 0.0.3
This commit is contained in:
Martin Weinelt 2023-04-07 02:15:39 +02:00 committed by GitHub
commit d3a40e2144
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 0 deletions

View File

@ -5,6 +5,7 @@
# propagates
, pycryptodome
, requests
, rtp
, urllib3
}:
@ -21,6 +22,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
pycryptodome
requests
rtp
urllib3
];

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchPypi
, python3
# nativeCheckInputs
, hypothesis
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "rtp";
version = "0.0.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-I5k3uF5lSLDdCWjBEQC4kl2dWyAKcHEJIYwqnEvJDBI=";
};
nativeCheckInputs = [
hypothesis
unittestCheckHook
];
unittestFlagsArray = [ "-s" "tests" "-v" ];
pythonImportsCheck = [
"rtp"
];
meta = with lib; {
description = "A library for decoding/encoding rtp packets";
homepage = "https://github.com/bbc/rd-apmm-python-lib-rtp";
license = licenses.asl20;
maintainers = with maintainers; [ fleaz ];
};
}

View File

@ -10429,6 +10429,8 @@ self: super: with self; {
rtoml = callPackage ../development/python-modules/rtoml { };
rtp = callPackage ../development/python-modules/rtp { };
rtree = callPackage ../development/python-modules/rtree {
inherit (pkgs) libspatialindex;
};