python313Packages.lima: refactor

Changed files
+9 -5
pkgs
development
python-modules
+9 -5
pkgs/development/python-modules/lima/default.nix
···
lib,
buildPythonPackage,
fetchPypi,
-
isPy3k,
pytestCheckHook,
+
setuptools,
}:
buildPythonPackage rec {
pname = "lima";
version = "0.5";
-
format = "setuptools";
-
disabled = !isPy3k;
+
pyproject = true;
src = fetchPypi {
inherit pname version;
-
sha256 = "0qqj0053r77ppkcyyk2fhpaxjzsl1h98nf9clpny6cs66sdl241v";
+
hash = "sha256-OxBBmzZGM+PtpSw5ixIMVH/Z1YVOTO/ZvPecPAoAEmM=";
};
+
build-system = [ setuptools ];
+
nativeCheckInputs = [ pytestCheckHook ];
+
+
pythonImportsCheck = [ "lima" ];
meta = with lib; {
-
description = "Lightweight Marshalling of Python 3 Objects";
+
description = "Lightweight Marshalling of Python Objects";
homepage = "https://github.com/b6d/lima";
+
changelog = "https://github.com/b6d/lima/blob/${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ zhaofengli ];
};