Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, stringcase 5, typing-inspect 6, marshmallow-enum 7}: 8 9buildPythonPackage rec { 10 pname = "dataclasses-json"; 11 version = "0.5.2"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "56ec931959ede74b5dedf65cf20772e6a79764d20c404794cce0111c88c085ff"; 16 }; 17 18 propagatedBuildInputs = [ 19 stringcase 20 typing-inspect 21 marshmallow-enum 22 ]; 23 24 meta = with lib; { 25 description = "Simple API for encoding and decoding dataclasses to and from JSON"; 26 homepage = "https://github.com/lidatong/dataclasses-json"; 27 license = licenses.mit; 28 maintainers = with maintainers; [ albakham ]; 29 }; 30}