depot/third_party/nixpkgs/pkgs/development/python-modules/dataclasses-json/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

30 lines
648 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, stringcase
, typing-inspect
, marshmallow-enum
}:
buildPythonPackage rec {
pname = "dataclasses-json";
version = "0.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "56ec931959ede74b5dedf65cf20772e6a79764d20c404794cce0111c88c085ff";
};
propagatedBuildInputs = [
stringcase
typing-inspect
marshmallow-enum
];
meta = with lib; {
description = "Simple API for encoding and decoding dataclasses to and from JSON";
homepage = "https://github.com/lidatong/dataclasses-json";
license = licenses.mit;
maintainers = with maintainers; [ albakham ];
};
}