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