Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 62 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchFromGitHub,
# build-system cffi, setuptools,
# dependencies numpy, platformdirs,
# tests pytestCheckHook, writableTmpDirAsHomeHook,}:
buildPythonPackage (finalAttrs: { pname = "moocore"; version = "0.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "multi-objective"; repo = "moocore"; tag = "v${finalAttrs.version}"; hash = "sha256-a0UA06no7pZd+8WQIUUrB5u87T3PoPv7dldBChEh4bw="; };
sourceRoot = "${finalAttrs.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 ]; };})