blob: 2f568499eb086cfa900dbabb3d95ca8a2486dada (
plain) (
blame)
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
43
|
{ 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 ];
};
}
|