2021-08-28 20:33:29 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchFromGitHub
|
|
|
|
, poetry-core
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-mock
|
|
|
|
}:
|
2018-10-29 16:13:21 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-08-28 20:33:29 +00:00
|
|
|
pname = "pykka";
|
2021-10-08 15:01:18 +00:00
|
|
|
version = "3.0.2";
|
2021-08-28 20:33:29 +00:00
|
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.6.1";
|
2018-10-29 16:13:21 +00:00
|
|
|
|
2021-08-28 20:33:29 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jodal";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-10-08 15:01:18 +00:00
|
|
|
sha256 = "1cy4pr05xlsny9g573q7njsv7jaaysi1qzafm6f82y57jqnmziks";
|
2018-10-29 16:13:21 +00:00
|
|
|
};
|
|
|
|
|
2021-08-28 20:33:29 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-mock
|
|
|
|
];
|
2018-10-29 16:13:21 +00:00
|
|
|
|
2020-12-26 04:20:00 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.pykka.org/";
|
2018-10-29 16:13:21 +00:00
|
|
|
description = "A Python implementation of the actor model";
|
2020-12-26 04:20:00 +00:00
|
|
|
changelog = "https://github.com/jodal/pykka/blob/v${version}/docs/changes.rst";
|
2021-08-28 20:33:29 +00:00
|
|
|
maintainers = with maintainers; [ marsam ];
|
2018-10-29 16:13:21 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|