Files
nixpkgs/pkgs/development/python-modules/pykka/default.nix
2025-09-29 22:20:11 +00:00

42 lines
785 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
hatchling,
pydantic,
pytestCheckHook,
pytest-mock,
}:
buildPythonPackage rec {
pname = "pykka";
version = "4.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jodal";
repo = "pykka";
tag = "v${version}";
hash = "sha256-OwY8EKCRuc9Tli7Q+rHieqEAYxb7KNBHiPUuycNO8J4=";
};
build-system = [ hatchling ];
nativeCheckInputs = [
pydantic
pytestCheckHook
pytest-mock
];
pythonImportsCheck = [ "pykka" ];
meta = with lib; {
homepage = "https://www.pykka.org/";
description = "Python implementation of the actor model";
changelog = "https://github.com/jodal/pykka/releases/tag/${src.tag}";
maintainers = [ ];
license = licenses.asl20;
};
}