summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/mathlibtools/default.nix
blob: 11e4b3207282ec2868184d5feeea05c526477f13 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{ lib
, atomicwrites
, buildPythonPackage
, click
, fetchPypi
, GitPython
, networkx
, pydot
, PyGithub
, pythonOlder
, pyyaml
, toml
, tqdm
}:

buildPythonPackage rec {
  pname = "mathlibtools";
  version = "1.1.2";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-Jbnb3FKyB1NAehB8tZxBV6d7JJCOgWZPMWMaFEAOzkM=";
  };

  propagatedBuildInputs = [
    atomicwrites
    click
    GitPython
    networkx
    pydot
    PyGithub
    pyyaml
    toml
    tqdm
  ];

  # Requires internet access
  doCheck = false;

  pythonImportsCheck = [
    "mathlibtools"
  ];

  meta = with lib; {
    description = "Supporting tool for Lean's mathlib";
    homepage = "https://github.com/leanprover-community/mathlib-tools";
    license = licenses.asl20;
    maintainers = with maintainers; [ gebner ];
  };
}