at master 691 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "pysubs2"; 11 version = "1.8.0"; 12 format = "pyproject"; 13 14 src = fetchFromGitHub { 15 owner = "tkarabela"; 16 repo = "pysubs2"; 17 rev = version; 18 hash = "sha256-fKSb7MfBHGft8Tp6excjfkVXKnHRER11X0QxbR1zD4I="; 19 }; 20 21 nativeBuildInputs = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "pysubs2" ]; 26 27 meta = with lib; { 28 homepage = "https://github.com/tkarabela/pysubs2"; 29 description = "Python library for editing subtitle files"; 30 mainProgram = "pysubs2"; 31 license = licenses.mit; 32 maintainers = [ ]; 33 }; 34}