depot/third_party/nixpkgs/pkgs/development/python-modules/branca/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

31 lines
610 B
Nix

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