blob: 1d7252b12a91a423d151ff7b66a98fb281931f79 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
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 ];
};
}
|