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