python.pkgs.kaptan: 0.5.11 -> 0.5.12

This commit is contained in:
Robert Schütz 2019-04-23 10:37:44 +02:00
parent cba32c8a75
commit bdf070fe2a

View File

@ -2,27 +2,25 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pyyaml , pyyaml
, pytest
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "kaptan"; pname = "kaptan";
version = "0.5.11"; version = "0.5.12";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "8403d6e48200c3f49cb6d6b3dcb5898aa5ab9d820831655bf9a2403e00cd4207"; sha256 = "1abd1f56731422fce5af1acc28801677a51e56f5d3c3e8636db761ed143c3dd2";
}; };
# https://github.com/emre/kaptan/pull/151
postPatch = '' postPatch = ''
substituteInPlace requirements/base.txt \ sed -i "s/==.*//g" requirements/test.txt
--replace "PyYAML>=3.13,<4" "PyYAML>=3.13"
''; '';
propagatedBuildInputs = [ pyyaml ]; propagatedBuildInputs = [ pyyaml ];
# No tests in archive checkInputs = [ pytest ];
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Configuration manager for python applications"; description = "Configuration manager for python applications";