9 buildPythonPackage rec {
10 pname = "fastjsonschema";
12 format = "setuptools";
14 disabled = pythonOlder "3.7";
16 src = fetchFromGitHub {
18 repo = "python-fastjsonschema";
20 fetchSubmodules = true;
21 hash = "sha256-Gojayel/xQ5gRI0nbwsroeSMdRndjb+8EniX1Qs4nbg=";
28 dontUseSetuptoolsCheck = true;
32 # these tests require network access
35 ] ++ lib.optionals stdenv.isDarwin [
36 "test_compile_to_code_custom_format" # cannot import temporary module created during test
39 pythonImportsCheck = [
44 description = "JSON schema validator for Python";
45 homepage = "https://horejsek.github.io/python-fastjsonschema/";
46 license = licenses.bsd3;
47 maintainers = with maintainers; [ drewrisinger ];