blob: 88cfc818e3b98be8f450f767382db60485ec4789 (
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
45
46
47
48
49
50
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools-scm
, future
, cppy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "atom";
version = "0.8.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "nucleic";
repo = pname;
rev = version;
hash = "sha256-Xby3QopKw7teShMi80RMG8YdhOOvfQb5vwOuFEUTxHQ=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
buildInputs = [
cppy
];
preCheck = ''
rm -rf atom
'';
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"atom.api"
];
meta = with lib; {
description = "Memory efficient Python objects";
maintainers = [ maintainers.bhipple ];
homepage = "https://github.com/nucleic/atom";
license = licenses.bsd3;
};
}
|