mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-07 09:33:12 -05:00
81 lines
1.5 KiB
Nix
81 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
dulwich,
|
|
everett,
|
|
importlib-metadata,
|
|
jsonschema,
|
|
numpy,
|
|
psutil,
|
|
python-box,
|
|
requests,
|
|
requests-toolbelt,
|
|
rich,
|
|
semantic-version,
|
|
sentry-sdk,
|
|
setuptools,
|
|
simplejson,
|
|
urllib3,
|
|
versionCheckHook,
|
|
wrapt,
|
|
wurlitzer,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "comet-ml";
|
|
version = "3.58.1";
|
|
pyproject = true;
|
|
__structuredAttrs = true;
|
|
|
|
# No GitHub repository
|
|
src = fetchPypi {
|
|
pname = "comet_ml";
|
|
inherit (finalAttrs) version;
|
|
hash = "sha256-6DHmsd7CcFd1QU06G09CVMeVuHGAtn8Rxsr1++epdeU=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
dulwich
|
|
everett
|
|
importlib-metadata
|
|
jsonschema
|
|
numpy
|
|
psutil
|
|
python-box
|
|
requests
|
|
requests-toolbelt
|
|
rich
|
|
semantic-version
|
|
sentry-sdk
|
|
simplejson
|
|
urllib3
|
|
wrapt
|
|
wurlitzer
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"everett"
|
|
"python-box"
|
|
];
|
|
|
|
pythonImportsCheck = [ "comet_ml" ];
|
|
|
|
nativeCheckInputs = [
|
|
versionCheckHook
|
|
# Skip pytestCheckHook, as Python tests require a lot of additional dependencies to run.
|
|
];
|
|
|
|
meta = {
|
|
description = "Platform designed to help machine learning teams track, compare, explain, and optimize their models";
|
|
homepage = "https://www.comet.com/site/";
|
|
changelog = "https://www.comet.com/docs/v2/api-and-sdk/python-sdk/releases/";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ jherland ];
|
|
mainProgram = "comet";
|
|
};
|
|
})
|