Skip to content

Instantly share code, notes, and snippets.

@BerriJ
Created October 16, 2025 20:06
Show Gist options
  • Select an option

  • Save BerriJ/be117bbc743323ece179f203d9a9cfcc to your computer and use it in GitHub Desktop.

Select an option

Save BerriJ/be117bbc743323ece179f203d9a9cfcc to your computer and use it in GitHub Desktop.
ondil nix derivation
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
numba,
numpy,
scipy,
scikit-learn,
}:
buildPythonPackage {
pname = "ondil";
version = "v0.4.3";
src = fetchFromGitHub {
owner = "simon-hirsch";
repo = "ondil";
rev = "v0.4.3";
sha256 = "sha256-0fg2a23hcfhygdcz1za0j2kllfa175wxbpb8xnvwdgn6ic1i2xmi";
};
pyproject = true;
build-system = [
setuptools
];
dependencies = [
numba
numpy
scipy
scikit-learn
];
pythonImportsCheck = [
"ondil"
];
# Metadata
meta = with lib; {
description = "A package for online distributional learning.";
homepage = "https://github.com/simon-hirsch/ondil";
license = licenses.gpl3;
maintainers = with maintainers; [ berrij ];
platforms = platforms.all;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment