Files
2026-07-15 14:04:39 -04:00

52 lines
978 B
Nix

{
lib,
buildPythonPackage,
colorama,
fetchFromGitHub,
packaging,
poetry-core,
pydantic,
redis,
structlog,
}:
buildPythonPackage rec {
pname = "diffsync";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "networktocode";
repo = "diffsync";
tag = "v${version}";
hash = "sha256-NkISo4AmyxA0pQEkzajq+hpxoMefgSOHQTy70kOjDl8=";
};
nativeBuildInputs = [
poetry-core
];
pythonRelaxDeps = [
"packaging"
"structlog"
];
propagatedBuildInputs = [
colorama
packaging
pydantic
redis
structlog
];
pythonImportsCheck = [ "diffsync" ];
meta = {
description = "Utility library for comparing and synchronizing different datasets";
homepage = "https://github.com/networktocode/diffsync";
changelog = "https://github.com/networktocode/diffsync/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ clerie ];
};
}