depot/third_party/nixpkgs/pkgs/development/python-modules/mathlibtools/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

54 lines
1,012 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";
mainProgram = "leanproject";
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 ];
};
}