fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
725 B
Nix
37 lines
725 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
cffi,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "atomiclong";
|
|
version = "0.1.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-yxN4xM1nbW8kNkHFDid1BKv0X3Dx6nbkRu/Nu2liS74=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
dependencies = [ cffi ];
|
|
|
|
pythonImportsCheck = [ "atomiclong" ];
|
|
|
|
meta = with lib; {
|
|
description = "Long data type with atomic operations using CFFI";
|
|
homepage = "https://github.com/dreid/atomiclong";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ robbinch ];
|
|
};
|
|
}
|