Files
nixpkgs/pkgs/development/python-modules/nemosis/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
949 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
requests,
beautifulsoup4,
feather-format,
joblib,
openpyxl,
pandas,
pyarrow,
xlrd,
}:
buildPythonPackage rec {
pname = "nemosis";
version = "3.8.1";
pyproject = true;
src = fetchFromGitHub {
owner = "UNSW-CEEM";
repo = "NEMOSIS";
tag = "v${version}";
hash = "sha256-4Bb9yZUfwkFQVNSVGtg3APXPovos23oHAx4v+6aa7MM=";
};
build-system = [ hatchling ];
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 ];
};
}