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