nixpkgs/pkgs/development/python-modules/diffsync/default.nix
Michael Daniels 075e8c2c4f
treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

51 lines
988 B
Nix

{
lib,
buildPythonPackage,
colorama,
fetchFromGitHub,
packaging,
poetry-core,
pydantic,
redis,
structlog,
}:
buildPythonPackage rec {
pname = "diffsync";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "networktocode";
repo = "diffsync";
tag = "v${version}";
hash = "sha256-UZpGWa/UjHXp6jD0fPNWTMl1DZ1AWmILRX/5XRIpLdE=";
};
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 = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ clerie ];
};
}