Merge pull request #326686 from Sigmanificient/nemosis

python312Packages.nemosis: init at 3.7.0
This commit is contained in:
Sandro
2024-08-14 18:40:51 +02:00
committed by GitHub
3 changed files with 85 additions and 0 deletions
@@ -0,0 +1,32 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pyarrow,
}:
buildPythonPackage rec {
pname = "feather-format";
version = "0.4.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-RfZ+N0XTlNTxYMptY2u/1Pi2jQEZncFkm25IfT6HiQM=";
};
build-system = [ setuptools ];
dependencies = [ pyarrow ];
pythonImportsCheck = [ "feather" ];
doCheck = false; # no tests
meta = {
description = "Simple wrapper library to the Apache Arrow-based Feather File Format";
homepage = "https://github.com/wesm/feather";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
@@ -0,0 +1,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 ];
};
}
+4
View File
@@ -4302,6 +4302,8 @@ self: super: with self; {
fe25519 = callPackage ../development/python-modules/fe25519 { };
feather-format = callPackage ../development/python-modules/feather-format { };
feedfinder2 = callPackage ../development/python-modules/feedfinder2 { };
feedgen = callPackage ../development/python-modules/feedgen { };
@@ -9034,6 +9036,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 { };