From 2aeff6c05cdd9623320446c81d0db7c0dfeaa85f Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 4 May 2017 16:18:03 +0200 Subject: [PATCH] pythonPackages.branca: init at 0.2.0 --- .../python-modules/branca/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/branca/default.nix diff --git a/pkgs/development/python-modules/branca/default.nix b/pkgs/development/python-modules/branca/default.nix new file mode 100644 index 000000000000..886433a358ae --- /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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2bf9f13d54a7..90c6fdaa419c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3264,6 +3264,8 @@ in { }; }; + branca = callPackage ../development/python-modules/branca { }; + bugwarrior = buildPythonPackage rec { name = "bugwarrior-${version}"; version = "1.4.0";