Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.11 39 lines 753 B view raw
1{ lib 2, boto3 3, buildPythonPackage 4, fetchPypi 5, pythonOlder 6, typing-extensions 7}: 8 9buildPythonPackage rec { 10 pname = "mypy-boto3-s3"; 11 version = "1.20.1"; 12 13 disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-RnWlDiXol074gikg8i449rx4ENG7Ac7kz9lMi12rkuw="; 18 }; 19 20 propagatedBuildInputs = [ 21 boto3 22 ] ++ lib.optionals (pythonOlder "3.9") [ 23 typing-extensions 24 ]; 25 26 # Project has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "mypy_boto3_s3" 31 ]; 32 33 meta = with lib; { 34 description = "Type annotations for boto3"; 35 homepage = "https://vemel.github.io/boto3_stubs_docs/mypy_boto3_s3/"; 36 license = with licenses; [ bsd3 ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}