Commit ef936f76 authored by Sigmanificient's avatar Sigmanificient
Browse files

python312Packages.nemosis: init at 3.7.0

parent 0f7da287
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  requests,
  beautifulsoup4,
  feather-format,
  joblib,
  openpyxl,
  pandas,
  pyarrow,
  xlrd,
}:

buildPythonPackage rec {
  pname = "nemosis";
  version = "3.7.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "UNSW-CEEM";
    repo = "NEMOSIS";
    rev = "refs/tags/v${version}";
    hash = "sha256-7jIPBTvL7Y3945GEpa1/DQVdbPsSxVdYoOFTIaIgPag=";
  };

  build-system = [ setuptools ];
  dependencies = [
    beautifulsoup4
    feather-format
    joblib
    openpyxl
    pandas
    pyarrow
    requests
    xlrd
  ];

  pythonImportsCheck = [ "nemosis" ];
  doCheck = false; # require network and patching

  meta = {
    description = "Downloader of historical data published by the Australian Energy Market Operator";
    homepage = "https://github.com/UNSW-CEEM/NEMOSIS";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ sigmanificient ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8871,6 +8871,8 @@ self: super: with self; {
  nebula3-python = callPackage ../development/python-modules/nebula3-python { };
  nemosis = callPackage ../development/python-modules/nemosis { };
  nengo = callPackage ../development/python-modules/nengo { };
  neo = callPackage ../development/python-modules/neo { };