1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, mock 5, pytestCheckHook 6, pythonOlder 7, six 8}: 9 10buildPythonPackage rec { 11 pname = "configobj"; 12 version = "5.0.6"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "DiffSK"; 19 repo = pname; 20 rev = "v${version}"; 21 hash = "sha256-HMLYzVMnxvMpb3ORsbKy18oU/NkuRT0isK6NaUk6J3U="; 22 }; 23 24 propagatedBuildInputs = [ 25 six 26 ]; 27 28 checkInputs = [ 29 mock 30 pytestCheckHook 31 ]; 32 33 pythonImportsCheck = [ 34 "configobj" 35 ]; 36 37 meta = with lib; { 38 description = "Config file reading, writing and validation"; 39 homepage = "https://pypi.python.org/pypi/configobj"; 40 license = licenses.bsd3; 41 maintainers = with maintainers; [ ]; 42 }; 43}