a3d4720129
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
54 lines
970 B
Nix
54 lines
970 B
Nix
{ lib
|
|
, atomicwrites
|
|
, buildPythonPackage
|
|
, click
|
|
, fetchPypi
|
|
, gitpython
|
|
, networkx
|
|
, pydot
|
|
, PyGithub
|
|
, pythonOlder
|
|
, pyyaml
|
|
, toml
|
|
, tqdm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mathlibtools";
|
|
version = "1.3.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-mkn0y3NV/acnkqVzi8xd+Sex4QLvxxmt++FtsZmgrGs=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/leanprover-community/mathlib-tools/raw/v${version}/CHANGELOG.md";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ gebner ];
|
|
};
|
|
}
|