1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 bidict,
7 bubop,
8}:
9
10buildPythonPackage rec {
11 pname = "item-synchronizer";
12 version = "1.1.5";
13 format = "pyproject";
14
15 src = fetchFromGitHub {
16 owner = "bergercookie";
17 repo = "item_synchronizer";
18 rev = "v${version}";
19 hash = "sha256-+mviKtCLlJhYV576Q07kcFJvtls5qohKSrqZtBqE/s4=";
20 };
21
22 postPatch = ''
23 substituteInPlace pyproject.toml --replace-fail 'bidict = "^0.21.4"' 'bidict = "^0.23"'
24 '';
25
26 nativeBuildInputs = [ poetry-core ];
27
28 propagatedBuildInputs = [
29 bidict
30 bubop
31 ];
32
33 pythonImportsCheck = [ "item_synchronizer" ];
34
35 meta = with lib; {
36 description = "";
37 homepage = "https://github.com/bergercookie/item_synchronizer";
38 changelog = "https://github.com/bergercookie/item_synchronizer/blob/${src.rev}/CHANGELOG.md";
39 license = licenses.mit;
40 maintainers = with maintainers; [ raitobezarius ];
41 };
42}