blob: 956dd5287c7b637f29a239eed6b3daeb2afa32ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "mpegdash";
version = "0.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "sangwonl";
repo = "python-mpegdash";
rev = version;
hash = "sha256-WrsTxI6zdPCvzU4bW41kuPpR6B1DcDRUFDbAb9JZnK8=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# requires network access
"test_xml2mpd_from_url"
];
pythonImportsCheck = [ "mpegdash" ];
meta = {
description = "MPEG-DASH MPD(Media Presentation Description) Parser";
homepage = "https://github.com/sangwonl/python-mpegdash";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ drawbu ];
};
}
|