Commit 7bf55a1a authored by Robert Schütz's avatar Robert Schütz
Browse files

python313Packages.sdjson: init at 0.5.0

parent 23cf0d11
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  domdf-python-tools,
  fetchFromGitHub,
  lib,
  typing-extensions,
  whey,
}:

buildPythonPackage rec {
  pname = "sdjson";
  version = "0.5.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "domdfcoding";
    repo = "singledispatch-json";
    tag = "v${version}";
    hash = "sha256-7qwmPhij2X2GLtjeaoMCoOyT0qzYt9oFccWrQOq6LXw=";
  };

  build-system = [ whey ];

  dependencies = [
    domdf-python-tools
    typing-extensions
  ];

  pythonImportsCheck = [ "sdjson" ];

  # missing dependency coincidence
  doCheck = false;

  meta = {
    description = "Custom JSON Encoder for Python utilising functools.singledispatch";
    homepage = "https://github.com/domdfcoding/singledispatch-json";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -14711,6 +14711,8 @@ self: super: with self; {
  sdds = callPackage ../development/python-modules/sdds { };
  sdjson = callPackage ../development/python-modules/sdjson { };
  sdkmanager = callPackage ../development/python-modules/sdkmanager { };
  sdnotify = callPackage ../development/python-modules/sdnotify { };