nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 # build inputs
6 typing-extensions,
7 typing-inspect,
8}:
9let
10 pname = "pyre-extensions";
11 version = "0.0.32";
12in
13buildPythonPackage {
14 inherit pname version;
15 format = "setuptools";
16
17 src = fetchPypi {
18 inherit version;
19 pname = "pyre_extensions"; # changed pname on 0.0.31?
20 hash = "sha256-U5ZxXxTqVsTV/QqIxXyn5E+qRo+QWQnt195K2Q7YXlU=";
21 };
22
23 propagatedBuildInputs = [
24 typing-extensions
25 typing-inspect
26 ];
27
28 pythonImportsCheck = [ "pyre_extensions" ];
29
30 meta = {
31 description = "This module defines extensions to the standard “typing” module that are supported by the Pyre typechecker";
32 homepage = "https://pypi.org/project/pyre-extensions";
33 license = lib.licenses.mit;
34 maintainers = with lib.maintainers; [ happysalada ];
35 };
36}