btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / development / python-modules / typechecks / default.nix
blob4d7da1759f311cefa1e4ec7b8baad01662af5a68
2   buildPythonPackage,
3   fetchFromGitHub,
4   lib,
5 }:
7 buildPythonPackage rec {
8   pname = "typechecks";
9   version = "unstable-2023-07-13";
10   format = "setuptools";
12   src = fetchFromGitHub {
13     owner = "openvax";
14     repo = pname;
15     # See https://github.com/openvax/typechecks/issues/2. As of 2023-07-13,
16     # they do no have version tags.
17     rev = "5340b4e8a2f419b3a7aa816a5b19e2e0a6ce0679";
18     hash = "sha256-GdmBtkyuzLfpk6oneWgJ5M1bnhGJ5/lSbGliwoAQWZs=";
19   };
21   pythonImportsCheck = [ "typechecks" ];
23   meta = with lib; {
24     description = "Type checking helpers for Python";
25     homepage = "https://github.com/openvax/typechecks";
26     license = licenses.asl20;
27     maintainers = with maintainers; [ samuela ];
28   };