blob: 5b4e553499719908466778299c8aaf89bea0e2ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
bidict,
bubop,
}:
buildPythonPackage rec {
pname = "item-synchronizer";
version = "1.1.5";
pyproject = true;
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 = {
description = "";
homepage = "https://github.com/bergercookie/item_synchronizer";
changelog = "https://github.com/bergercookie/item_synchronizer/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ raitobezarius ];
};
}
|