mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 04:58:37 +00:00
Merge pull request #225072 from fleaz/update_pytapo
python3Packages.rtp: init at 0.0.3
This commit is contained in:
commit
d3a40e2144
@ -5,6 +5,7 @@
|
||||
# propagates
|
||||
, pycryptodome
|
||||
, requests
|
||||
, rtp
|
||||
, urllib3
|
||||
}:
|
||||
|
||||
@ -21,6 +22,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
pycryptodome
|
||||
requests
|
||||
rtp
|
||||
urllib3
|
||||
];
|
||||
|
||||
|
40
pkgs/development/python-modules/rtp/default.nix
Normal file
40
pkgs/development/python-modules/rtp/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user