depot/third_party/nixpkgs/pkgs/development/python-modules/item-synchronizer/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

42 lines
932 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
bidict,
bubop,
}:
buildPythonPackage rec {
pname = "item-synchronizer";
version = "1.1.5";
format = "pyproject";
src = fetchFromGitHub {
owner = "bergercookie";
repo = "item_synchronizer";
rev = "v${version}";
hash = "sha256-+mviKtCLlJhYV576Q07kcFJvtls5qohKSrqZtBqE/s4=";
};
postPatch = ''
substituteInPlace pyproject.toml --replace-fail 'bidict = "^0.21.4"' 'bidict = "^0.23"'
'';
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
bidict
bubop
];
pythonImportsCheck = [ "item_synchronizer" ];
meta = with lib; {
description = "";
homepage = "https://github.com/bergercookie/item_synchronizer";
changelog = "https://github.com/bergercookie/item_synchronizer/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ raitobezarius ];
};
}