Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 57 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, fetchPypi, mock, pyopenssl, pytestCheckHook, pythonOlder, service-identity, six, twisted, txi2p-tahoe, txtorcon}:
buildPythonPackage rec { pname = "foolscap"; version = "23.3.0";
disabled = pythonOlder "3.7";
format = "setuptools";
src = fetchPypi { inherit pname version; hash = "sha256-Vu7oXC1brsgBwr2q59TAgx8j1AFRbi5mjRNIWZTbkUU="; };
propagatedBuildInputs = [ six twisted pyopenssl ] ++ twisted.optional-dependencies.tls;
passthru.optional-dependencies = { i2p = [ txi2p-tahoe ]; tor = [ txtorcon ]; };
nativeCheckInputs = [ mock pytestCheckHook ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
pythonImportsCheck = [ "foolscap" ];
meta = with lib; { description = "RPC protocol for Python that follows the distributed object-capability model"; longDescription = '' "Foolscap" is the name for the next-generation RPC protocol, intended to replace Perspective Broker (part of Twisted). Foolscap is a protocol to implement a distributed object-capabilities model in Python. ''; homepage = "https://github.com/warner/foolscap"; license = licenses.mit; maintainers = with maintainers; [ ]; };}