blob: f858eb07be9a18709f5ceb1f50c69fbf0faa1247 (
plain) (
blame)
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
35
36
37
38
39
40
41
42
43
44
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
cppy,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "atom";
version = "0.10.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "nucleic";
repo = "atom";
rev = "refs/tags/${version}";
hash = "sha256-wRVmCyqMwDs1thnRXYH6z1a/qCubw8CVUhaEMqLtiSM=";
};
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ cppy ];
preCheck = ''
rm -rf atom
'';
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "atom.api" ];
meta = with lib; {
description = "Memory efficient Python objects";
homepage = "https://github.com/nucleic/atom";
changelog = "https://github.com/nucleic/atom/releases/tag/${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ bhipple ];
};
}
|