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

32 lines
623 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.2";
2017-05-04 14:18:03 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "c111453617b17ab2bda60a4cd71787d6f2b59c85cdf71ab160a737606ac66c31";
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 ];
};
}