Unverified Commit 585d6757 authored by Kiran Shila's avatar Kiran Shila
Browse files

python3Packages.allantools: init at 2024.06

parent 1ec6f5e3
Loading
Loading
Loading
Loading
+53 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  matplotlib,
  numpy,
  numpydoc,
  pytest,
  scipy,
  pythonOlder,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "allantools";
  version = "2024.06";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "aewallin";
    repo = "allantools";
    tag = version;
    hash = "sha256-dF19aSpIioOm0BnwrLkMe/DtfgWSKFnX4c/Xs1O2Quw=";
  };

  build-system = [
    hatchling
  ];

  dependencies = [
    matplotlib
    numpy
    numpydoc
    pytest
    scipy
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "allantools"
  ];

  meta = {
    description = "Allan deviation and related time & frequency statistics library in Python";
    homepage = "https://github.com/aewallin/allantools";
    license = lib.licenses.lgpl3Plus;
    maintainers = with lib.maintainers; [ kiranshila ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -604,6 +604,8 @@ self: super: with self; {
  aliyun-python-sdk-sts = callPackage ../development/python-modules/aliyun-python-sdk-sts { };
  allantools = callPackage ../development/python-modules/allantools { };
  allpairspy = callPackage ../development/python-modules/allpairspy { };
  allure-behave = callPackage ../development/python-modules/allure-behave { };