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