at 24.11-pre 894 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools-scm, 6 future, 7 cppy, 8 pytestCheckHook, 9 pythonOlder, 10}: 11 12buildPythonPackage rec { 13 pname = "atom"; 14 version = "0.10.4"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "nucleic"; 21 repo = "atom"; 22 rev = "refs/tags/${version}"; 23 hash = "sha256-HoUKU6z+6PPBUsvI4earZG9UXN0PrugAxu/F7WUfUe8="; 24 }; 25 26 nativeBuildInputs = [ setuptools-scm ]; 27 28 buildInputs = [ cppy ]; 29 30 preCheck = '' 31 rm -rf atom 32 ''; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 pythonImportsCheck = [ "atom.api" ]; 37 38 meta = with lib; { 39 description = "Memory efficient Python objects"; 40 homepage = "https://github.com/nucleic/atom"; 41 changelog = "https://github.com/nucleic/atom/releases/tag/${version}"; 42 license = licenses.bsd3; 43 maintainers = with maintainers; [ bhipple ]; 44 }; 45}