1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 matplotlib,
7 numpy,
8 numpydoc,
9 pytest,
10 scipy,
11 pythonOlder,
12 pytestCheckHook,
13}:
14
15buildPythonPackage rec {
16 pname = "allantools";
17 version = "2024.06";
18 pyproject = true;
19
20 src = fetchFromGitHub {
21 owner = "aewallin";
22 repo = "allantools";
23 tag = version;
24 hash = "sha256-dF19aSpIioOm0BnwrLkMe/DtfgWSKFnX4c/Xs1O2Quw=";
25 };
26
27 build-system = [
28 hatchling
29 ];
30
31 dependencies = [
32 matplotlib
33 numpy
34 numpydoc
35 pytest
36 scipy
37 ];
38
39 nativeCheckInputs = [
40 pytestCheckHook
41 ];
42
43 pythonImportsCheck = [
44 "allantools"
45 ];
46
47 meta = {
48 description = "Allan deviation and related time & frequency statistics library in Python";
49 homepage = "https://github.com/aewallin/allantools";
50 license = lib.licenses.lgpl3Plus;
51 maintainers = with lib.maintainers; [ kiranshila ];
52 };
53}