1{ lib, buildPythonPackage, fetchPypi, pytest, cffi }: 2 3buildPythonPackage rec { 4 pname = "atomiclong"; 5 version = "0.1.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1gjbc9lvpkgg8vj7dspif1gz9aq4flkhxia16qj6yvb7rp27h4yb"; 10 }; 11 12 buildInputs = [ pytest ]; 13 propagatedBuildInputs = [ cffi ]; 14 15 meta = with lib; { 16 description = "Long data type with atomic operations using CFFI"; 17 homepage = "https://github.com/dreid/atomiclong"; 18 license = licenses.mit; 19 maintainers = with maintainers; [ robbinch ]; 20 }; 21}