From 70ea9f9ebf3cdd3d1c9791b6b7cd04cec7aa7490 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Tue, 30 Aug 2022 00:19:56 -0700 Subject: [PATCH] python310Packages.mathlibtools: 1.1.1 -> 1.1.2 (#188491) * python310Packages.mathlibtools: 1.1.1 -> 1.1.2 * python310Packages.mathlibtools: add pythonImportsCheck - add disabled Co-authored-by: Fabian Affolter --- .../python-modules/mathlibtools/default.nix | 41 +++++++++++++++---- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/mathlibtools/default.nix b/pkgs/development/python-modules/mathlibtools/default.nix index be1df56206d8..11e4b3207282 100644 --- a/pkgs/development/python-modules/mathlibtools/default.nix +++ b/pkgs/development/python-modules/mathlibtools/default.nix @@ -1,25 +1,52 @@ -{ lib, buildPythonPackage, fetchPypi, PyGithub, GitPython, toml, click, tqdm, - networkx, pydot, pyyaml, atomicwrites }: +{ lib +, atomicwrites +, buildPythonPackage +, click +, fetchPypi +, GitPython +, networkx +, pydot +, PyGithub +, pythonOlder +, pyyaml +, toml +, tqdm +}: buildPythonPackage rec { pname = "mathlibtools"; - version = "1.1.1"; + version = "1.1.2"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-0iW7SWIxb+Ek4T26hru5EgBgXfqRh6zOR73GAgLFNyE="; + hash = "sha256-Jbnb3FKyB1NAehB8tZxBV6d7JJCOgWZPMWMaFEAOzkM="; }; propagatedBuildInputs = [ - PyGithub GitPython toml click tqdm networkx pydot pyyaml atomicwrites + atomicwrites + click + GitPython + networkx + pydot + PyGithub + pyyaml + toml + tqdm ]; - # requires internet access + # 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"; - description = "leanproject is a supporting tool for Lean's mathlib"; license = licenses.asl20; maintainers = with maintainers; [ gebner ]; };