1 { lib, buildPythonPackage, fetchFromGitHub, fetchpatch, requests, iso8601, bottle, pytestCheckHook }:
3 buildPythonPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-EfHhmV2otEgEy2OVohS+DF7dk97GFdWZ4cFCERZBmlA=";
15 # Fix hardcoded /tmp dir (fix build on Hydra)
17 url = "https://github.com/globocom/m3u8/commit/cf7ae5fda4681efcea796cd7c51c02f152c36009.patch";
18 sha256 = "sha256-SEETpIJQddid8D//6DVrSGs/BqDeMOzufE0bBrm+/xY=";
22 propagatedBuildInputs = [ requests iso8601 ];
24 checkInputs = [ bottle pytestCheckHook ];
27 "tests/test_parser.py"
29 "tests/test_variant_m3u8.py"
33 homepage = "https://github.com/globocom/m3u8";
34 description = "Python m3u8 parser";
35 license = licenses.mit;
36 maintainers = with maintainers; [ Scriptkiddi ];