From bdf070fe2a8eb8c8e5a8a6b71250450f42678168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 23 Apr 2019 10:37:44 +0200 Subject: [PATCH] python.pkgs.kaptan: 0.5.11 -> 0.5.12 --- pkgs/development/python-modules/kaptan/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/kaptan/default.nix b/pkgs/development/python-modules/kaptan/default.nix index aada19dd45b2..5a6cf80a8352 100644 --- a/pkgs/development/python-modules/kaptan/default.nix +++ b/pkgs/development/python-modules/kaptan/default.nix @@ -2,27 +2,25 @@ , buildPythonPackage , fetchPypi , pyyaml +, pytest }: buildPythonPackage rec { pname = "kaptan"; - version = "0.5.11"; + version = "0.5.12"; src = fetchPypi { inherit pname version; - sha256 = "8403d6e48200c3f49cb6d6b3dcb5898aa5ab9d820831655bf9a2403e00cd4207"; + sha256 = "1abd1f56731422fce5af1acc28801677a51e56f5d3c3e8636db761ed143c3dd2"; }; - # https://github.com/emre/kaptan/pull/151 postPatch = '' - substituteInPlace requirements/base.txt \ - --replace "PyYAML>=3.13,<4" "PyYAML>=3.13" + sed -i "s/==.*//g" requirements/test.txt ''; propagatedBuildInputs = [ pyyaml ]; - # No tests in archive - doCheck = false; + checkInputs = [ pytest ]; meta = with stdenv.lib; { description = "Configuration manager for python applications";