diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/branca/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/branca/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/branca/default.nix b/nixpkgs/pkgs/development/python-modules/branca/default.nix new file mode 100644 index 000000000000..c81233045c05 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/branca/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pytest +, jinja2 +, selenium +, six +}: + +buildPythonPackage rec { + pname = "branca"; + version = "0.3.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "3e762c9bdf40725f3d05ea1fda8fae9b470bfada6474e43a1242c8204a7bb15e"; + }; + + checkInputs = [ pytest selenium ]; + propagatedBuildInputs = [ jinja2 six ]; + + # 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 ]; + }; +} |