From b34af91889356f815156adf9dd13263ded5ab773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 20 Mar 2018 13:04:04 +0100 Subject: [PATCH] pythonPackages.klein: 15.3.1 -> 17.10.0 --- .../development/python-modules/klein/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/klein/default.nix b/pkgs/development/python-modules/klein/default.nix index f4748a93277b..3dfbb4e17db2 100644 --- a/pkgs/development/python-modules/klein/default.nix +++ b/pkgs/development/python-modules/klein/default.nix @@ -1,17 +1,23 @@ -{ lib, buildPythonPackage, fetchPypi, isPy3k, werkzeug, twisted }: +{ lib, buildPythonPackage, fetchPypi +, six, twisted, werkzeug, incremental +, mock }: buildPythonPackage rec { pname = "klein"; - version = "15.3.1"; + version = "17.10.0"; src = fetchPypi { inherit pname version; - sha256 = "1hl2psnn1chm698rimyn9dgcpl1mxgc8dj11b3ipp8z37yfjs3z9"; + sha256 = "30aaf0d78a987d5dbfe0968a07367ad0c73e02823cc8eef4c54f80ab848370d0"; }; - disabled = isPy3k; + propagatedBuildInputs = [ six twisted werkzeug incremental ]; - propagatedBuildInputs = [ werkzeug twisted ]; + checkInputs = [ mock ]; + + checkPhase = '' + trial klein + ''; meta = with lib; { description = "Klein Web Micro-Framework";