pythonPackages.m3u8: init at 0.5.2
This commit is contained in:
parent
0726ab30f6
commit
cef835d40e
29
pkgs/development/python-modules/m3u8/default.nix
Normal file
29
pkgs/development/python-modules/m3u8/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, buildPythonPackage, python, fetchFromGitHub, requests, iso8601, bottle, pytest, pytestcov }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "m3u8";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "globocom";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0p6wmwv1nfa5pyakq5d55w9v142z5ja3db3s3qr44kx895d9lhng";
|
||||
};
|
||||
|
||||
checkInputs = [ bottle pytest pytestcov ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/test_{parser,model,variant_m3u8}.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ requests iso8601 ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/globocom/m3u8";
|
||||
description = "Python m3u8 parser";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Scriptkiddi ];
|
||||
};
|
||||
}
|
||||
|
@ -3994,6 +3994,8 @@ in {
|
||||
|
||||
python_magic = callPackage ../development/python-modules/python-magic { };
|
||||
|
||||
m3u8 = callPackage ../development/python-modules/m3u8 { };
|
||||
|
||||
magic = callPackage ../development/python-modules/magic { };
|
||||
|
||||
m2crypto = callPackage ../development/python-modules/m2crypto { };
|
||||
|
Loading…
Reference in New Issue
Block a user