14 buildPythonPackage rec {
17 format = "setuptools";
19 src = fetchFromGitHub {
20 owner = "bobfang1992";
23 fetchSubmodules = true;
24 hash = "sha256-QJeXvj1M3Vq5ctmx7RhczONsPRXAecv3WhJgKWtNK+M=";
27 buildInputs = [ pybind11 ];
39 # pelican requires > 2.7
40 doCheck = !pythonOlder "3.6";
43 # incompatible with pytest7
44 # https://github.com/bobfang1992/pytomlpp/issues/66
45 "test_loads_valid_toml_files"
46 "test_round_trip_for_valid_toml_files"
47 "test_decode_encode_binary"
54 pythonImportsCheck = [ "pytomlpp" ];
57 description = "A python wrapper for tomlplusplus";
58 homepage = "https://github.com/bobfang1992/pytomlpp";
59 license = licenses.mit;
60 maintainers = with maintainers; [ evils ];