summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/typechecks/default.nix
blob: 5899598cab52c9c94d30be18f3cf267764d651e5 (plain)
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
29
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
}:

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

  src = fetchFromGitHub {
    owner = "openvax";
    repo = "typechecks";
    # 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 = {
    description = "Type checking helpers for Python";
    homepage = "https://github.com/openvax/typechecks";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ samuela ];
  };
}