1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchFromGitHub,
6 hatchling,
7 pydantic,
8 pytestCheckHook,
9 pytest-mock,
10}:
11
12buildPythonPackage rec {
13 pname = "pykka";
14 version = "4.4.0";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "jodal";
19 repo = "pykka";
20 tag = "v${version}";
21 hash = "sha256-OwY8EKCRuc9Tli7Q+rHieqEAYxb7KNBHiPUuycNO8J4=";
22 };
23
24 build-system = [ hatchling ];
25
26 nativeCheckInputs = [
27 pydantic
28 pytestCheckHook
29 pytest-mock
30 ];
31
32 pythonImportsCheck = [ "pykka" ];
33
34 meta = with lib; {
35 homepage = "https://www.pykka.org/";
36 description = "Python implementation of the actor model";
37 changelog = "https://github.com/jodal/pykka/releases/tag/${src.tag}";
38 maintainers = [ ];
39 license = licenses.asl20;
40 };
41}