blob: 753d7fcc677bb31619d585ad6c4ef98db388843b (
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
|
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "celery-types";
version = "0.19.0";
format = "pyproject";
disabled = pythonOlder "3.10";
src = fetchPypi {
inherit pname version;
hash = "sha256-1OLUJxsuxG/sCKDxKiU4i7o5HyaJdIW8rPo8UofMI28=";
};
patchPhase = ''
substituteInPlace pyproject.toml \
--replace "poetry.masonry.api" "poetry.core.masonry.api"
'';
propagatedBuildInputs = [
typing-extensions
];
nativeBuildInputs = [
poetry-core
];
doCheck = false;
meta = with lib; {
description = "PEP-484 stubs for Celery";
homepage = "https://github.com/sbdchd/celery-types";
license = licenses.mit;
maintainers = with maintainers; [ elohmeier ];
};
}
|