python3Packages.moocore: init at 0.1.10
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
cffi,
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
numpy,
|
||||
platformdirs,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "moocore";
|
||||
version = "0.1.10";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "multi-objective";
|
||||
repo = "moocore";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ByWQpd2QuagctTeoO5BIyYiI2bSlEPzNht4ciWCCJtM=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/python";
|
||||
|
||||
build-system = [
|
||||
cffi
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
cffi
|
||||
numpy
|
||||
platformdirs
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "moocore" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Require downloading data from the internet
|
||||
"test_read_datasets_data"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Core Mathematical Functions for Multi-Objective Optimization";
|
||||
homepage = "https://github.com/multi-objective/moocore/tree/main/python";
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
||||
@@ -9914,6 +9914,8 @@ self: super: with self; {
|
||||
|
||||
monzopy = callPackage ../development/python-modules/monzopy { };
|
||||
|
||||
moocore = callPackage ../development/python-modules/moocore { };
|
||||
|
||||
moonraker-api = callPackage ../development/python-modules/moonraker-api { };
|
||||
|
||||
mopeka-iot-ble = callPackage ../development/python-modules/mopeka-iot-ble { };
|
||||
|
||||
Reference in New Issue
Block a user