at master 828 B view raw
1{ 2 buildPythonPackage, 3 domdf-python-tools, 4 fetchFromGitHub, 5 lib, 6 typing-extensions, 7 whey, 8}: 9 10buildPythonPackage rec { 11 pname = "sdjson"; 12 version = "0.5.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "domdfcoding"; 17 repo = "singledispatch-json"; 18 tag = "v${version}"; 19 hash = "sha256-7qwmPhij2X2GLtjeaoMCoOyT0qzYt9oFccWrQOq6LXw="; 20 }; 21 22 build-system = [ whey ]; 23 24 dependencies = [ 25 domdf-python-tools 26 typing-extensions 27 ]; 28 29 pythonImportsCheck = [ "sdjson" ]; 30 31 # missing dependency coincidence 32 doCheck = false; 33 34 meta = { 35 description = "Custom JSON Encoder for Python utilising functools.singledispatch"; 36 homepage = "https://github.com/domdfcoding/singledispatch-json"; 37 license = lib.licenses.mit; 38 maintainers = with lib.maintainers; [ dotlambda ]; 39 }; 40}