python3Packages.labmath: 1.2.0 -> 2.2.0

This commit is contained in:
Ben Siraphob 2022-01-11 16:51:48 +07:00
parent 570c0e27c5
commit 21769949dc
No known key found for this signature in database
GPG Key ID: 45F0E5D788143267

View File

@ -2,17 +2,14 @@
buildPythonPackage rec {
pname = "labmath";
version = "1.2.0";
version = "2.2.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-/fZ61tJ6PVZsubr3OXlbg/VxyyKimz36uPV+r33kgD0=";
sha256 = "sha256-dzJ4szPxnck0Cgc5IEp5FBmHvIyAC0rqKRVrkt20ntQ=";
};
postPatch = ''
substituteInPlace setup.py --replace "labmath/DESCRIPTION.rst" "PKG-INFO"
'';
pythonImportsCheck = [ "labmath" ];
meta = with lib; {