nixpkgs/pkgs/development/python-modules/branca/default.nix

32 lines
611 B
Nix
Raw Normal View History

2017-05-04 14:18:03 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, jinja2
, selenium
, six
, setuptools
2017-05-04 14:18:03 +00:00
}:
buildPythonPackage rec {
pname = "branca";
version = "0.4.1";
2017-05-04 14:18:03 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "1f7drarwiw8fh17hpq8b3p4mfqgjbh3k045dvpx5z12d3a0zg7ca";
2017-05-04 14:18:03 +00:00
};
checkInputs = [ pytest selenium ];
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";
homepage = "https://github.com/python-visualization/branca";
2017-05-04 14:18:03 +00:00
license = with lib.licenses; [ mit ];
};
}