diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2024-05-10 12:08:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-10 12:08:42 +0200 |
commit | 3708b2a1e4c452d32b999bd2e5e6e509ef674add (patch) | |
tree | e4355e68fa1ff453c48987f759e8636bec402c0e /pkgs/development/python-modules/mpegdash/default.nix | |
parent | cb0f222b680bf4211b0c3f4c8822a37508885365 (diff) | |
parent | f10f3f4fed28afc9a8aa8975d95cdeb32440b9b1 (diff) |
Merge pull request #310439 from drawbu/fix-tidal
python3Packages.tidalapi: fix build error; python3Packages.mpegdash: init at 0.4.0
Diffstat (limited to 'pkgs/development/python-modules/mpegdash/default.nix')
-rw-r--r-- | pkgs/development/python-modules/mpegdash/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/mpegdash/default.nix b/pkgs/development/python-modules/mpegdash/default.nix new file mode 100644 index 0000000000000..3480c4dcafd83 --- /dev/null +++ b/pkgs/development/python-modules/mpegdash/default.nix @@ -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 ]; + }; +} |