mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 11:50:06 +00:00
python313Packages.sdjson: init at 0.5.0
This commit is contained in:
40
pkgs/development/python-modules/sdjson/default.nix
Normal file
40
pkgs/development/python-modules/sdjson/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user