2025-08-13 20:13:12 +02:00

33 lines
691 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "lima";
version = "0.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-OxBBmzZGM+PtpSw5ixIMVH/Z1YVOTO/ZvPecPAoAEmM=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "lima" ];
meta = with lib; {
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 ];
};
}