depot/third_party/nixpkgs/pkgs/development/python-modules/diffsync/default.nix

48 lines
941 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, colorama
, fetchFromGitHub
, packaging
, poetry-core
, pydantic
, redis
, structlog
}:
buildPythonPackage rec {
pname = "diffsync";
version = "1.10.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "networktocode";
repo = "diffsync";
rev = "refs/tags/v${version}";
hash = "sha256-p7aML6dTDkF4hx67bwI29nhEHi7LIEZ5RlHPgtyQMbo=";
};
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 ];
};
}