13 buildPythonPackage rec {
16 format = "setuptools";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
21 owner = "samuelcolvin";
24 hash = "sha256-tvX4KcQGw0khBjEXVFmkhsVyAkdr2Bgm6IfD1yGZ37c=";
27 cargoDeps = rustPlatform.fetchCargoTarball {
29 name = "${pname}-${version}";
30 hash = "sha256-KcF3Z71S7ZNZicViqwpClfT736nYYbKcKWylOP+S3HI=";
33 nativeBuildInputs = with rustPlatform; [
37 rustPlatform.cargoSetupHook
44 pythonImportsCheck = [
57 description = "Rust based TOML library for Python";
58 homepage = "https://github.com/samuelcolvin/rtoml";
59 license = licenses.mit;
60 maintainers = with maintainers; [ evils ];