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