blob: 1d42aa9989f9a8798d294fdc2a20c8255cbfdb2e (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
setuptools,
setuptools-scm,
# tests
astropy,
numpy,
pillow,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyavm";
version = "0.9.6";
pyproject = true;
src = fetchPypi {
pname = "PyAVM";
inherit version;
hash = "sha256-s7eLPoAHDbY9tPt3RA5zJg+NuTtVV/SqpUUR3NrG8m0=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
astropy
numpy
pillow
pytestCheckHook
];
pythonImportsCheck = [ "pyavm" ];
meta = with lib; {
description = "Simple pure-python AVM meta-data handling";
homepage = "https://astrofrog.github.io/pyavm/";
license = licenses.mit;
maintainers = with maintainers; [ smaret ];
};
}
|