Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
956 B · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, poetry-core, pytestCheckHook, pytest-mock, typing-extensions}:
buildPythonPackage rec { pname = "pykka"; version = "4.0.1"; format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "jodal"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-SYgT69/AZX/JDm89PwFqrUL9Ll1iHRKEy78BN4QKz9Y="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [ typing-extensions ];
nativeCheckInputs = [ pytestCheckHook pytest-mock ];
pythonImportsCheck = [ "pykka" ];
meta = with lib; { homepage = "https://www.pykka.org/"; description = "A Python implementation of the actor model"; changelog = "https://github.com/jodal/pykka/releases/tag/v${version}"; maintainers = with maintainers; [ marsam ]; license = licenses.asl20; };}