blob: 15f7555e8e9d572122d24a92aa9728938ddd8bae (
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
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
cppy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "atom";
version = "0.12.1";
pyproject = true;
src = fetchFromGitHub {
owner = "nucleic";
repo = "atom";
tag = version;
hash = "sha256-XFJujJrxubtdCLTr1oaM7h0LNS1Ep08f8+1tRzARBqs=";
};
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ cppy ];
preCheck = ''
rm -rf atom
'';
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "atom.api" ];
meta = {
description = "Memory efficient Python objects";
homepage = "https://github.com/nucleic/atom";
changelog = "https://github.com/nucleic/atom/releases/tag/${version}";
license = lib.licenses.bsd3;
};
}
|