Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / fastjsonschema / default.nix
blob34eb0a158d97c1e813c902973237326774a36d3e
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5   # Check inputs
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "fastjsonschema";
11   version = "2.14.5";
13   disabled = pythonOlder "3.3";
15   src = fetchFromGitHub {
16     owner = "horejsek";
17     repo = "python-fastjsonschema";
18     rev = "v${version}";
19     fetchSubmodules = true;
20     sha256 = "1hgzafswdw5zqrd8qhdxa43crzfy7lrlifdn90133a0h3psr7qs1";
21   };
23   checkInputs = [ pytestCheckHook ];
24   dontUseSetuptoolsCheck = true;
25   disabledTests = [
26     "benchmark"
28     # these tests require network access
29     "remote ref"
30     "definitions"
31   ];
33   meta = with lib; {
34     description = "Fast JSON schema validator for Python.";
35     homepage = "https://horejsek.github.io/python-fastjsonschema/";
36     license = licenses.bsd3;
37     maintainers = with maintainers; [ drewrisinger ];
38   };