Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / rtp / default.nix
blobaef1171d8d47bc28c3ed4c31b4195e7514437f9e
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , python3
6   # nativeCheckInputs
7 , hypothesis
8 , unittestCheckHook
12 buildPythonPackage rec {
13   pname = "rtp";
14   version = "0.0.3";
15   format = "setuptools";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-I5k3uF5lSLDdCWjBEQC4kl2dWyAKcHEJIYwqnEvJDBI=";
20   };
22   nativeCheckInputs = [
23     hypothesis
24     unittestCheckHook
25   ];
27   unittestFlagsArray = [ "-s" "tests" "-v" ];
29   pythonImportsCheck = [
30     "rtp"
31   ];
34   meta = with lib; {
35     description = "A library for decoding/encoding rtp packets";
36     homepage = "https://github.com/bbc/rd-apmm-python-lib-rtp";
37     license = licenses.asl20;
38     maintainers = with maintainers; [ fleaz ];
39   };