1{ lib 2, buildPythonPackage 3, coloredlogs 4, executor 5, fetchFromGitHub 6, humanfriendly 7, naturalsort 8, property-manager 9, pytestCheckHook 10, pythonOlder 11, six 12}: 13 14buildPythonPackage rec { 15 pname = "update-dotdee"; 16 version = "6.0"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchFromGitHub { 22 owner = "xolox"; 23 repo = "python-update-dotdee"; 24 rev = version; 25 hash = "sha256-2k7FdgWM0ESHQb2za87yhXGaR/rbMYLVcv10QexUH1A="; 26 }; 27 28 propagatedBuildInputs = [ 29 coloredlogs 30 executor 31 humanfriendly 32 naturalsort 33 property-manager 34 six 35 ]; 36 37 nativeCheckInputs = [ 38 pytestCheckHook 39 ]; 40 41 postPatch = '' 42 substituteInPlace tox.ini \ 43 --replace " --cov --showlocals --verbose" "" 44 ''; 45 46 pythonImportsCheck = [ 47 "update_dotdee" 48 ]; 49 50 disabledTests = [ 51 # TypeError: %o format: an integer is required, not str 52 "test_executable" 53 ]; 54 55 meta = with lib; { 56 description = "Generic modularized configuration file manager"; 57 homepage = "https://github.com/xolox/python-update-dotdee"; 58 license = licenses.mit; 59 maintainers = with maintainers; [ eyjhb ]; 60 }; 61}