summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/diffsync
diff options
context:
space:
mode:
authorclerie <git@clerie.de>2023-09-10 17:28:19 +0200
committerclerie <git@clerie.de>2023-09-10 18:12:08 +0200
commit7c62fc8661ecefffd76ab2c29a07ad2e033c3a5e (patch)
tree946796685ee69c0ee26c84ff180f1d241d677ba5 /pkgs/development/python-modules/diffsync
parent14821ae8a8d0029a229172a89964935b07d3c10d (diff)
python3Packages.diffsync: init at 1.8.0
Diffstat (limited to 'pkgs/development/python-modules/diffsync')
-rw-r--r--pkgs/development/python-modules/diffsync/default.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/diffsync/default.nix b/pkgs/development/python-modules/diffsync/default.nix
new file mode 100644
index 000000000000..81c3b5c7eda4
--- /dev/null
+++ b/pkgs/development/python-modules/diffsync/default.nix
@@ -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 ];
+ };
+}