blob: 217a40bf7aa90c5cf747c95b919b29a363276af4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, jinja2
, selenium
}:
buildPythonPackage rec {
pname = "branca";
version = "0.3.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "bea38396cf58fd7173ac942277fe4138127eb1546622684206cb34d344b03fb4";
};
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 ];
};
}
|