depot/third_party/nixpkgs/pkgs/development/python-modules/jsonmerge/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

33 lines
758 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jsonschema
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "jsonmerge";
version = "1.9.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-otH4ACHFwdcKSeMfhitfBo+dsGYIDYVh6AZU3nSjWE0=";
};
propagatedBuildInputs = [ jsonschema ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# Fails with "Unresolvable JSON pointer"
"test_local_reference_in_meta"
];
meta = with lib; {
description = "Merge a series of JSON documents";
homepage = "https://github.com/avian2/jsonmerge";
changelog = "https://github.com/avian2/jsonmerge/blob/jsonmerge-${version}/ChangeLog";
license = licenses.mit;
maintainers = with maintainers; [ emily ];
};
}