2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, colorama
|
|
|
|
, fetchFromGitHub
|
|
|
|
, packaging
|
|
|
|
, poetry-core
|
|
|
|
, pydantic
|
|
|
|
, redis
|
|
|
|
, structlog
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "diffsync";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "1.10.0";
|
2023-10-09 19:29:22 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "networktocode";
|
|
|
|
repo = "diffsync";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-p7aML6dTDkF4hx67bwI29nhEHi7LIEZ5RlHPgtyQMbo=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
colorama
|
|
|
|
packaging
|
|
|
|
pydantic
|
|
|
|
redis
|
|
|
|
structlog
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"diffsync"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Utility library for comparing and synchronizing different datasets";
|
|
|
|
homepage = "https://github.com/networktocode/diffsync";
|
|
|
|
changelog = "https://github.com/networktocode/diffsync/blob/v${version}/CHANGELOG.md";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ clerie ];
|
|
|
|
};
|
|
|
|
}
|