13 buildPythonPackage rec {
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
21 owner = "samuelcolvin";
24 hash = "sha256-1movtKMQkQ6PEpKpSkK0Oy4AV0ee7XrS0P9m6QwZTaM=";
27 cargoDeps = rustPlatform.fetchCargoTarball {
29 name = "${pname}-${version}";
30 hash = "sha256-BWcOIZMl4yHxxKxCn6Qh69MlMdz3REp3izN0A1eFX3o=";
33 build-system = with rustPlatform; [
38 buildInputs = [ libiconv ];
40 pythonImportsCheck = [ "rtoml" ];
48 pytestFlagsArray = [ "--benchmark-disable" ];
51 # TypeError: loads() got an unexpected keyword argument 'name'
60 description = "Rust based TOML library for Python";
61 homepage = "https://github.com/samuelcolvin/rtoml";
62 license = licenses.mit;
63 maintainers = with maintainers; [ evils ];