about summary refs log tree commit diff
path: root/pkgs/development/python-modules/typechecks/default.nix
blob: c458c9c15236ce6f29043755b7f1fc5cc9aa8430 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ buildPythonPackage
, fetchFromGitHub
, lib
}:

buildPythonPackage rec {
  pname = "typechecks";
  version = "unstable-2023-07-13";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "openvax";
    repo = pname;
    # See https://github.com/openvax/typechecks/issues/2. As of 2023-07-13,
    # they do no have version tags.
    rev = "5340b4e8a2f419b3a7aa816a5b19e2e0a6ce0679";
    hash = "sha256-GdmBtkyuzLfpk6oneWgJ5M1bnhGJ5/lSbGliwoAQWZs=";
  };

  pythonImportsCheck = [ "typechecks" ];

  meta = with lib; {
    description = "Type checking helpers for Python";
    homepage = "https://github.com/openvax/typechecks";
    license = licenses.asl20;
    maintainers = with maintainers; [ samuela ];
  };
}