18 buildPythonPackage rec {
22 disabled = pythonOlder "3.7";
24 src = fetchFromGitHub {
27 rev = "refs/tags/v${version}";
28 hash = "sha256-PvMEwIxurDGwYMCmNFThedxDY4vwATHYwMlXkucNuwM=";
35 propagatedBuildInputs = [
39 passthru.optional-dependencies = {
41 msgpack = [ msgpack ];
43 toml = [ tomli-w ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
51 ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
53 pythonImportsCheck = [
58 description = "Fast and well tested serialization library on top of dataclasses";
59 homepage = "https://github.com/Fatal1ty/mashumaro";
60 changelog = "https://github.com/Fatal1ty/mashumaro/releases/tag/v${version}";
61 license = licenses.asl20;
62 maintainers = with maintainers; [ tjni ];