python31{1,2}Packages.mpegdash: init at 0.4.0

This commit is contained in:
Clément 2024-05-10 09:10:57 +02:00
parent 42a5d29b6f
commit 24dcde46bf
No known key found for this signature in database
GPG key ID: 005280E9B819AECF
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "mpegdash";
version = "0.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "sangwonl";
repo = "python-mpegdash";
rev = version;
hash = "sha256-eKtJ+QzeoMog5X1r1ix9vrmGTi/9KzdJiu80vrTX14I=";
};
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 ];
};
}

View file

@ -7691,6 +7691,8 @@ self: super: with self; {
mpd2 = callPackage ../development/python-modules/mpd2 { };
mpegdash = callPackage ../development/python-modules/mpegdash { };
mpi4py = callPackage ../development/python-modules/mpi4py { };
mpldatacursor = callPackage ../development/python-modules/mpldatacursor { };