mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
Merge pull request #254433 from clerie/clerie/diffsync
python3Packages.diffsync: init at 1.8.0
This commit is contained in:
commit
220530b67c
47
pkgs/development/python-modules/diffsync/default.nix
Normal file
47
pkgs/development/python-modules/diffsync/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user