0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00
nixpkgs/pkgs/development/python-modules/custom-json-diff/default.nix
Ethan Carter Edwards b1da3802ff
python3Packages.custom-json-diff: init at 2.1.6
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2025-07-02 11:38:44 -04:00

52 lines
938 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
jinja2,
json-flatten,
packageurl-python,
semver,
toml,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "custom-json-diff";
version = "2.1.6";
pyproject = true;
src = fetchFromGitHub {
owner = "appthreat";
repo = "custom-json-diff";
tag = "v${version}";
hash = "sha256-09kSj4fJHQHyzsCk0bSVlwAgkyzWOSjRKxU1rcMXacQ=";
};
build-system = [
setuptools
];
dependencies = [
jinja2
json-flatten
packageurl-python
semver
toml
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"custom_json_diff"
];
meta = {
description = "Utility to compare json documents containing dynamically-generated fields";
homepage = "https://github.com/appthreat/custom-json-diff";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ethancedwards8 ];
};
}