Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 54 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, setuptools, beautifulsoup4, lxml, cssutils, nltk, pytest-lazy-fixture, pytestCheckHook,}:
buildPythonPackage rec { pname = "pycaption"; version = "2.2.11";
disabled = pythonOlder "3.8";
pyproject = true;
src = fetchFromGitHub { owner = "pbs"; repo = "pycaption"; rev = "refs/tags/${version}"; hash = "sha256-ae3aldx/8nRnqut7py2KmqETQuAUt2wpDwFA/30UiGg="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ beautifulsoup4 lxml cssutils ];
passthru.optional-dependencies = { transcript = [ nltk ]; };
nativeCheckInputs = [ pytest-lazy-fixture pytestCheckHook ];
meta = with lib; { changelog = "https://github.com/pbs/pycaption/blob/${version}/docs/changelog.rst"; description = "Closed caption converter"; homepage = "https://github.com/pbs/pycaption"; license = licenses.asl20; maintainers = with maintainers; [ dotlambda ]; };}