biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pykka / default.nix
blob1768d04891513ed844175d2286c4b09f77be6e6d
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   poetry-core,
7   pytestCheckHook,
8   pytest-mock,
9   typing-extensions,
12 buildPythonPackage rec {
13   pname = "pykka";
14   version = "4.0.2";
15   format = "pyproject";
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "jodal";
21     repo = pname;
22     rev = "refs/tags/v${version}";
23     hash = "sha256-2baFwZPNuVU39Kt5B8QvGKu7jMbg+GZ3ROoTxzPOXac=";
24   };
26   nativeBuildInputs = [ poetry-core ];
28   propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [ typing-extensions ];
30   nativeCheckInputs = [
31     pytestCheckHook
32     pytest-mock
33   ];
35   pythonImportsCheck = [ "pykka" ];
37   meta = with lib; {
38     homepage = "https://www.pykka.org/";
39     description = "Python implementation of the actor model";
40     changelog = "https://github.com/jodal/pykka/releases/tag/v${version}";
41     maintainers = [ ];
42     license = licenses.asl20;
43   };