Unverified Commit d3a40e21 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #225072 from fleaz/update_pytapo

python3Packages.rtp: init at 0.0.3
parents 28b80451 b597a175
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
# propagates
, pycryptodome
, requests
, rtp
, urllib3
}:

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

+40 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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;
  };