2022-09-16 23:30:13 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools
|
|
|
|
}:
|
2021-03-28 20:43:10 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "labmath";
|
2022-01-11 09:51:48 +00:00
|
|
|
version = "2.2.0";
|
|
|
|
format = "pyproject";
|
2021-03-28 20:43:10 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-11 09:51:48 +00:00
|
|
|
sha256 = "sha256-dzJ4szPxnck0Cgc5IEp5FBmHvIyAC0rqKRVrkt20ntQ=";
|
2021-03-28 20:43:10 +00:00
|
|
|
};
|
|
|
|
|
2022-09-16 23:30:13 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2021-03-28 20:43:10 +00:00
|
|
|
pythonImportsCheck = [ "labmath" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://pypi.org/project/labmath";
|
|
|
|
description = "Module for basic math in the general vicinity of computational number theory";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
};
|
|
|
|
}
|