Files
nixpkgs/pkgs/development/python-modules/mpegdash/default.nix
T
2026-01-19 16:18:51 +00:00

37 lines
790 B
Nix

{
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 ];
};
}