at 24.11-pre 723 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 python3, 6 7 # nativeCheckInputs 8 hypothesis, 9 unittestCheckHook, 10 11}: 12 13buildPythonPackage rec { 14 pname = "rtp"; 15 version = "0.0.3"; 16 format = "setuptools"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-I5k3uF5lSLDdCWjBEQC4kl2dWyAKcHEJIYwqnEvJDBI="; 21 }; 22 23 nativeCheckInputs = [ 24 hypothesis 25 unittestCheckHook 26 ]; 27 28 unittestFlagsArray = [ 29 "-s" 30 "tests" 31 "-v" 32 ]; 33 34 pythonImportsCheck = [ "rtp" ]; 35 36 meta = with lib; { 37 description = "A library for decoding/encoding rtp packets"; 38 homepage = "https://github.com/bbc/rd-apmm-python-lib-rtp"; 39 license = licenses.asl20; 40 maintainers = with maintainers; [ fleaz ]; 41 }; 42}