at 23.05-pre 808 B view raw
1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchFromGitHub 5, poetry-core 6, pytestCheckHook 7, pytest-mock 8}: 9 10buildPythonPackage rec { 11 pname = "pykka"; 12 version = "3.1.1"; 13 format = "pyproject"; 14 disabled = pythonOlder "3.6.1"; 15 16 src = fetchFromGitHub { 17 owner = "jodal"; 18 repo = pname; 19 rev = "refs/tags/v${version}"; 20 sha256 = "sha256-bvRjFpXufGygTgPfEOJOCXFbMy3dNlrTHlGoaIG/Fbs="; 21 }; 22 23 nativeBuildInputs = [ 24 poetry-core 25 ]; 26 27 checkInputs = [ 28 pytestCheckHook 29 pytest-mock 30 ]; 31 32 meta = with lib; { 33 homepage = "https://www.pykka.org/"; 34 description = "A Python implementation of the actor model"; 35 changelog = "https://github.com/jodal/pykka/blob/v${version}/docs/changes.rst"; 36 maintainers = with maintainers; [ marsam ]; 37 license = licenses.asl20; 38 }; 39}