parabolic: 2024.5.0 -> 2025.1.4 (#378350)
[NixPkgs.git] / pkgs / development / python-modules / pyavm / default.nix
blob1d42aa9989f9a8798d294fdc2a20c8255cbfdb2e
2   lib,
3   buildPythonPackage,
4   fetchPypi,
6   # build-system
7   setuptools,
8   setuptools-scm,
10   # tests
11   astropy,
12   numpy,
13   pillow,
14   pytestCheckHook,
17 buildPythonPackage rec {
18   pname = "pyavm";
19   version = "0.9.6";
20   pyproject = true;
22   src = fetchPypi {
23     pname = "PyAVM";
24     inherit version;
25     hash = "sha256-s7eLPoAHDbY9tPt3RA5zJg+NuTtVV/SqpUUR3NrG8m0=";
26   };
28   nativeBuildInputs = [
29     setuptools
30     setuptools-scm
31   ];
33   nativeCheckInputs = [
34     astropy
35     numpy
36     pillow
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [ "pyavm" ];
42   meta = with lib; {
43     description = "Simple pure-python AVM meta-data handling";
44     homepage = "https://astrofrog.github.io/pyavm/";
45     license = licenses.mit;
46     maintainers = with maintainers; [ smaret ];
47   };