depot/third_party/nixpkgs/pkgs/development/python-modules/branca/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
623 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, jinja2
, selenium
, six
, setuptools
}:
buildPythonPackage rec {
pname = "branca";
version = "0.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "3e762c9bdf40725f3d05ea1fda8fae9b470bfada6474e43a1242c8204a7bb15e";
};
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 ];
};
}