1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-23 17:56:53 +03:00
nixpkgs/pkgs/development/python-modules/diffsync/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
995 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
colorama,
fetchFromGitHub,
packaging,
poetry-core,
pydantic,
redis,
structlog,
}:
buildPythonPackage rec {
pname = "diffsync";
version = "2.0.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "networktocode";
repo = "diffsync";
tag = "v${version}";
hash = "sha256-T3kcZcRm28WeXZTXBBCpaMxjgB0KmqvWO4gdILH5hCA=";
};
nativeBuildInputs = [
poetry-core
];
pythonRelaxDeps = [
"packaging"
"structlog"
];
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 ];
};
}