2017-05-04 14:18:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, jinja2
|
|
|
|
, selenium
|
2018-12-02 13:21:13 +00:00
|
|
|
, six
|
2019-12-26 17:03:24 +00:00
|
|
|
, setuptools
|
2017-05-04 14:18:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "branca";
|
2020-05-23 09:36:02 +00:00
|
|
|
version = "0.4.1";
|
2017-05-04 14:18:03 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-23 09:36:02 +00:00
|
|
|
sha256 = "1f7drarwiw8fh17hpq8b3p4mfqgjbh3k045dvpx5z12d3a0zg7ca";
|
2017-05-04 14:18:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest selenium ];
|
2019-12-26 17:03:24 +00:00
|
|
|
propagatedBuildInputs = [ jinja2 six setuptools ];
|
2017-05-04 14:18:03 +00:00
|
|
|
|
|
|
|
# Seems to require a browser
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Generate complex HTML+JS pages with Python";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/python-visualization/branca";
|
2017-05-04 14:18:03 +00:00
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
};
|
|
|
|
}
|