1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools 5}: 6 7buildPythonPackage rec { 8 pname = "labmath"; 9 version = "2.2.0"; 10 format = "pyproject"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "sha256-dzJ4szPxnck0Cgc5IEp5FBmHvIyAC0rqKRVrkt20ntQ="; 15 }; 16 17 nativeBuildInputs = [ 18 setuptools 19 ]; 20 21 pythonImportsCheck = [ "labmath" ]; 22 23 meta = with lib; { 24 homepage = "https://pypi.org/project/labmath"; 25 description = "Module for basic math in the general vicinity of computational number theory"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ siraben ]; 28 }; 29}