2 , buildPythonPackage, fetchPypi, isPy3k
3 , beautifulsoup4, lxml, cssutils, future, enum34, six
6 buildPythonPackage rec {
11 inherit pname version;
12 sha256 = "0f2hx9ky65c4niws3x5yx59yi8mqqrw9b2cghd220g4hj9yl800h";
18 substituteInPlace setup.py \
19 --replace 'beautifulsoup4>=4.2.1,<4.5.0' \
20 'beautifulsoup4>=4.2.1,<5'
23 # don't require enum34 on python >= 3.4
26 url = "https://github.com/pbs/pycaption/pull/161.patch";
27 sha256 = "0p58awpsqx1qc3x9zfl1gd85h1nk7204lzn4kglsgh1bka0j237j";
31 propagatedBuildInputs = [ beautifulsoup4 lxml cssutils future enum34 six ];
33 # Tests not included in pypi (?)
37 description = "Closed caption converter";
38 homepage = "https://github.com/pbs/pycaption";
39 license = with licenses; [ asl20 ];