nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python3Packages.foolscap: 20.4.0 -> 21.7.0

authored by

Fabian Affolter and committed by
Jonathan Ringer
aea1a6c3 ce35e285

+26 -17
+26 -17
pkgs/development/python-modules/foolscap/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , mock 5 - , twisted 6 5 , pyopenssl 6 + , pytestCheckHook 7 7 , service-identity 8 + , twisted 8 9 }: 9 10 10 11 buildPythonPackage rec { 11 12 pname = "foolscap"; 12 - version = "20.4.0"; 13 + version = "21.7.0"; 13 14 14 15 src = fetchPypi { 15 16 inherit pname version; 16 - sha256 = "0rbw9makjmawkcxnkkngybj3n14s0dnzn9gkqqq2krcm514kmlb9"; 17 + sha256 = "sha256-6dGFU4YNk1joXXZi2c2L84JtUbTs1ICgXfv0/EU2P4Q="; 17 18 }; 18 19 19 - propagatedBuildInputs = [ mock twisted pyopenssl service-identity ]; 20 + propagatedBuildInputs = [ 21 + mock 22 + twisted 23 + pyopenssl 24 + service-identity 25 + ]; 20 26 21 - checkPhase = '' 22 - # Either uncomment this, or remove this custom check phase entirely, if 23 - # you wish to do battle with the foolscap tests. ~ C. 24 - # trial foolscap 25 - ''; 27 + checkInputs = [ 28 + pytestCheckHook 29 + ]; 30 + 31 + disabledTestPaths = [ 32 + # Not all dependencies are present 33 + "src/foolscap/test/test_connection.py" 34 + ]; 35 + 36 + pythonImportsCheck = [ "foolscap" ]; 26 37 27 38 meta = with lib; { 28 - homepage = "http://foolscap.lothar.com/"; 29 - description = "Foolscap, an RPC protocol for Python that follows the distributed object-capability model"; 39 + description = "RPC protocol for Python that follows the distributed object-capability model"; 30 40 longDescription = '' 31 - "Foolscap" is the name for the next-generation RPC protocol, 32 - intended to replace Perspective Broker (part of Twisted). 33 - Foolscap is a protocol to implement a distributed 34 - object-capabilities model in Python. 41 + "Foolscap" is the name for the next-generation RPC protocol, intended to 42 + replace Perspective Broker (part of Twisted). Foolscap is a protocol to 43 + implement a distributed object-capabilities model in Python. 35 44 ''; 36 - # See http://foolscap.lothar.com/trac/browser/LICENSE. 45 + homepage = "https://github.com/warner/foolscap"; 37 46 license = licenses.mit; 47 + maintainers = with maintainers; [ ]; 38 48 }; 39 - 40 49 }