1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5# build inputs 6, typing-extensions 7, typing-inspect 8}: 9let 10 pname = "pyre-extensions"; 11 version = "0.0.30"; 12in 13buildPythonPackage { 14 inherit pname version; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-unkjxIbgia+zehBiOo9K6C1zz/QkJtcRxIrwcOW8MbI="; 22 }; 23 24 propagatedBuildInputs = [ 25 typing-extensions 26 typing-inspect 27 ]; 28 29 pythonImportsCheck = [ "pyre_extensions" ]; 30 31 meta = with lib; { 32 description = "This module defines extensions to the standard typing module that are supported by the Pyre typechecker"; 33 homepage = "https://pypi.org/project/pyre-extensions"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ happysalada ]; 36 }; 37}