summary refs log tree commit diff
path: root/pkgs/development/python-modules/branca
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-05-04 16:18:03 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2017-05-04 16:19:56 +0200
commit2aeff6c05cdd9623320446c81d0db7c0dfeaa85f (patch)
tree6bf1962a0bc7cc8c34f529cc1fb939074986c064 /pkgs/development/python-modules/branca
parentb7ed6ef9e1fd86929204d5ba9eb1377fe4aa7327 (diff)
downloadnixpkgs-2aeff6c05cdd9623320446c81d0db7c0dfeaa85f.tar
nixpkgs-2aeff6c05cdd9623320446c81d0db7c0dfeaa85f.tar.gz
nixpkgs-2aeff6c05cdd9623320446c81d0db7c0dfeaa85f.tar.bz2
nixpkgs-2aeff6c05cdd9623320446c81d0db7c0dfeaa85f.tar.lz
nixpkgs-2aeff6c05cdd9623320446c81d0db7c0dfeaa85f.tar.xz
nixpkgs-2aeff6c05cdd9623320446c81d0db7c0dfeaa85f.tar.zst
nixpkgs-2aeff6c05cdd9623320446c81d0db7c0dfeaa85f.zip
pythonPackages.branca: init at 0.2.0
Diffstat (limited to 'pkgs/development/python-modules/branca')
-rw-r--r--pkgs/development/python-modules/branca/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/branca/default.nix b/pkgs/development/python-modules/branca/default.nix
new file mode 100644
index 00000000000..886433a358a
--- /dev/null
+++ b/pkgs/development/python-modules/branca/default.nix
@@ -0,0 +1,30 @@
+{ 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 ];
+  };
+}