Merge pull request #305153 from emattiza/update/result-0-16-1

python3Packages.result: 0.7.0 -> 0.16.1

authored by Peder Bergebakken Sundt and committed by GitHub 62f7c1ff e8664fce

+8 -9
+8 -9
pkgs/development/python-modules/result/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , pytestCheckHook 5 + , pytest-asyncio 6 + , nix-update-script 5 7 }: 6 8 7 9 buildPythonPackage rec { 8 10 pname = "result"; 9 - version = "0.7.0"; 11 + version = "0.16.1"; 10 12 format = "setuptools"; 11 13 12 14 src = fetchFromGitHub { 13 15 owner = "rustedpy"; 14 16 repo = "result"; 15 - rev = "v${version}"; 16 - hash = "sha256-bEf3OJg6ksDvzZE7ezA58Q2FObb5V7BG8vkKtX284Jg="; 17 + rev = "v${version}"; 18 + hash = "sha256-7BvFIQbl4Udd9GTpbMrAqP0P1BGn/C1CHQ3QUCEMXPs="; 17 19 }; 18 20 19 21 postPatch = '' ··· 28 30 29 31 nativeCheckInputs = [ 30 32 pytestCheckHook 33 + pytest-asyncio 31 34 ]; 32 35 33 - disabledTestPaths = [ 34 - #TODO: figure out the failure "match o:" Invalid Syntax 35 - "tests/test_pattern_matching.py" 36 - ]; 37 - 36 + passthru.updateScript = nix-update-script {}; 38 37 pythonImportsCheck = [ "result" ]; 39 38 40 39 meta = with lib; { 41 40 description = "A simple Result type for Python 3 inspired by Rust, fully type annotated"; 42 41 homepage = "https://github.com/rustedpy/result"; 43 42 license = licenses.mit; 44 - maintainers = []; 43 + maintainers = with lib.maintainers; [ emattiza ]; 45 44 }; 46 45 }