Files
nixpkgs/pkgs/development/python-modules/atom/default.nix
2026-10-18 12:36:12 +02:00

41 lines
793 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
cppy,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "atom";
version = "0.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "nucleic";
repo = "atom";
tag = finalAttrs.version;
hash = "sha256-AwrzCd0kRiEeWnh5ywMYzFmcqzlOpiknfu17gQRU8hg=";
};
build-system = [ setuptools-scm ];
buildInputs = [ cppy ];
preCheck = ''
rm -rf atom
'';
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "atom.api" ];
meta = {
description = "Memory efficient Python objects";
homepage = "https://github.com/nucleic/atom";
changelog = "https://github.com/nucleic/atom/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd3;
};
})