1{ 2 lib, 3 buildPythonPackage, 4 cffi, 5 fetchPypi, 6 pytestCheckHook, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "atomiclong"; 13 version = "0.1.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-yxN4xM1nbW8kNkHFDid1BKv0X3Dx6nbkRu/Nu2liS74="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 dependencies = [ cffi ]; 28 29 pythonImportsCheck = [ "atomiclong" ]; 30 31 meta = with lib; { 32 description = "Long data type with atomic operations using CFFI"; 33 homepage = "https://github.com/dreid/atomiclong"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ robbinch ]; 36 }; 37}