talosctl: 1.9.1 -> 1.9.2 (#374443)
[NixPkgs.git] / pkgs / development / python-modules / jsonschema-path / default.nix
blob9e1da404ec0254ec255403ea0d5d8ea77c3b056c
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   poetry-core,
7   pathable,
8   pyyaml,
9   referencing,
10   pytestCheckHook,
11   responses,
14 buildPythonPackage rec {
15   pname = "jsonschema-path";
16   version = "0.3.3";
18   disabled = pythonOlder "3.8";
20   pyproject = true;
22   src = fetchFromGitHub {
23     owner = "p1c2u";
24     repo = "jsonschema-path";
25     tag = version;
26     hash = "sha256-oBzB6Ke19QDcMQm4MpnaS132/prrtnCekAXuPMloZx4=";
27   };
29   postPatch = ''
30     sed -i '/--cov/d' pyproject.toml
31   '';
33   build-system = [ poetry-core ];
35   propagatedBuildInputs = [
36     pathable
37     pyyaml
38     referencing
39   ];
41   pythonImportsCheck = [ "jsonschema_path" ];
43   nativeCheckInputs = [
44     pytestCheckHook
45     responses
46   ];
48   meta = {
49     changelog = "https://github.com/p1c2u/jsonschema-path/releases/tag/${version}";
50     description = "JSONSchema Spec with object-oriented paths";
51     homepage = "https://github.com/p1c2u/jsonschema-path";
52     license = lib.licenses.asl20;
53     maintainers = with lib.maintainers; [ dotlambda ];
54   };