depot/third_party/nixpkgs/pkgs/development/python-modules/nemosis/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

49 lines
961 B
Nix

{
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 ];
};
}