19 buildPythonPackage rec {
24 disabled = pythonOlder "3.8";
26 src = fetchFromGitHub {
29 rev = "refs/tags/v${version}";
30 hash = "sha256-Km3RuDU77L3N2RQBhpcEztOjYtQhTXFZoGKu70g5EPU=";
33 nativeBuildInputs = [ setuptools ];
35 propagatedBuildInputs = [ typing-extensions ];
37 optional-dependencies = {
39 msgpack = [ msgpack ];
41 toml = [ tomli-w ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
49 ] ++ lib.flatten (lib.attrValues optional-dependencies);
51 pythonImportsCheck = [ "mashumaro" ];
54 description = "Serialization library on top of dataclasses";
55 homepage = "https://github.com/Fatal1ty/mashumaro";
56 changelog = "https://github.com/Fatal1ty/mashumaro/releases/tag/v${version}";
57 license = licenses.asl20;
58 maintainers = with maintainers; [ tjni ];