Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ lib, buildPythonPackage, fetchFromGitHub,
# build-system cffi, setuptools,
# dependencies numpy, platformdirs,
# tests pytestCheckHook, writableTmpDirAsHomeHook,}:
buildPythonPackage (finalAttrs: { pname = "moocore"; version = "0.3.2"; pyproject = true; __structuredAttrs = true;
src = fetchFromGitHub { owner = "multi-objective"; repo = "moocore"; tag = "v${finalAttrs.version}"; hash = "sha256-R4CqhvmaMyCKJnF+SfD2HSv5tnsCIC6CMmLTaMBJZIw="; };
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 ]; };})