Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 30 lines 597 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, jinja2 6, selenium 7, six 8}: 9 10buildPythonPackage rec { 11 pname = "branca"; 12 version = "0.3.1"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "3e762c9bdf40725f3d05ea1fda8fae9b470bfada6474e43a1242c8204a7bb15e"; 17 }; 18 19 checkInputs = [ pytest selenium ]; 20 propagatedBuildInputs = [ jinja2 six ]; 21 22 # Seems to require a browser 23 doCheck = false; 24 25 meta = { 26 description = "Generate complex HTML+JS pages with Python"; 27 homepage = https://github.com/python-visualization/branca; 28 license = with lib.licenses; [ mit ]; 29 }; 30}