depot/third_party/nixpkgs/pkgs/development/python-modules/branca/default.nix
Default email 4fc29cb41f Project import generated by Copybara.
GitOrigin-RevId: 135073a87b7e2c631739f4ffa016e1859b1a425e
2020-05-29 08:06:01 +02:00

31 lines
611 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, jinja2
, selenium
, six
, setuptools
}:
buildPythonPackage rec {
pname = "branca";
version = "0.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "1f7drarwiw8fh17hpq8b3p4mfqgjbh3k045dvpx5z12d3a0zg7ca";
};
checkInputs = [ pytest selenium ];
propagatedBuildInputs = [ jinja2 six setuptools ];
# 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 ];
};
}