Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / diffsync / default.nix
blobff96650b920f2e6bf4978cb1c262464414b11978
1 { lib
2 , buildPythonPackage
3 , colorama
4 , fetchFromGitHub
5 , packaging
6 , poetry-core
7 , pydantic
8 , pythonRelaxDepsHook
9 , redis
10 , structlog
13 buildPythonPackage rec {
14   pname = "diffsync";
15   version = "2.0.0";
16   format = "pyproject";
18   src = fetchFromGitHub {
19     owner = "networktocode";
20     repo = "diffsync";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-4LS18FPrnGE1tM0pFzAw0+ajDaw9g7MCgIwS2ptrX9c=";
23   };
25   nativeBuildInputs = [
26     poetry-core
27     pythonRelaxDepsHook
28   ];
30   pythonRelaxDeps = [
31     "packaging"
32     "structlog"
33   ];
35   propagatedBuildInputs = [
36     colorama
37     packaging
38     pydantic
39     redis
40     structlog
41   ];
43   pythonImportsCheck = [
44     "diffsync"
45   ];
47   meta = with lib; {
48     description = "Utility library for comparing and synchronizing different datasets";
49     homepage = "https://github.com/networktocode/diffsync";
50     changelog = "https://github.com/networktocode/diffsync/blob/v${version}/CHANGELOG.md";
51     license = with licenses; [ asl20 ];
52     maintainers = with maintainers; [ clerie ];
53   };