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

31 lines
619 B
Nix
Raw Normal View History

2017-05-04 16:18:03 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, jinja2
, selenium
}:
buildPythonPackage rec {
pname = "branca";
version = "0.2.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "327b0bae73a519f25dc2f320d8d9f1885aad2e8e5105add1496269d5391b8ea4";
};
checkInputs = [ pytest selenium ];
propagatedBuildInputs = [ jinja2 ];
# 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 ];
};
}