Merge pull request #254433 from clerie/clerie/diffsync

python3Packages.diffsync: init at 1.8.0
This commit is contained in:
Mario Rodas 2023-09-10 13:23:33 -05:00 committed by GitHub
commit 220530b67c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 0 deletions

View File

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

View File

@ -2719,6 +2719,8 @@ self: super: with self; {
diffimg = callPackage ../development/python-modules/diffimg { };
diffsync = callPackage ../development/python-modules/diffsync { };
digital-ocean = callPackage ../development/python-modules/digitalocean { };
digi-xbee = callPackage ../development/python-modules/digi-xbee { };