Files
nixpkgs/pkgs/development/python-modules/atom/default.nix
T
Clément dc1e0ee99f python3Package.atom: 0.11.0 -> 0.12.1; fix build failure
Build was failing because of tests with Python 3.14.
2026-01-02 13:36:18 -08:00

44 lines
814 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
cppy,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "atom";
version = "0.12.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "nucleic";
repo = "atom";
tag = version;
hash = "sha256-XFJujJrxubtdCLTr1oaM7h0LNS1Ep08f8+1tRzARBqs=";
};
nativeBuildInputs = [ 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/${version}";
license = lib.licenses.bsd3;
};
}