depot/third_party/nixpkgs/pkgs/development/python-modules/atomiclong/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}