depot/third_party/nixpkgs/pkgs/development/python-modules/branca/default.nix
Default email ffc78d3539 Project import generated by Copybara.
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
2021-01-05 19:05:55 +02:00

31 lines
623 B
Nix

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