Loading pkgs/development/python-modules/mindsdb-evaluator/default.nix +19 −14 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, pythonOlder, fetchFromGitHub, poetry-core, dataprep-ml, numpy, pandas, scikit-learn, type-infer, pytestCheckHook, }: buildPythonPackage rec { pname = "mindsdb-evaluator"; version = "0.0.18"; version = "0.0.20"; pyproject = true; disabled = pythonOlder "3.8"; # using PyPI as git repository does not have release tags or branches src = fetchPypi { pname = "mindsdb_evaluator"; inherit version; hash = "sha256-UGg7P/OKmRi70z2roRBsA95FAXm7CG+TdPzTRy7+p4w="; src = fetchFromGitHub { owner = "mindsdb"; repo = "mindsdb_evaluator"; tag = "v${version}"; hash = "sha256-ZeJABMbyRdGrZGkWWXcjleOeDQBSicGR06hZAPUKvgI="; }; build-system = [ poetry-core ]; pythonRelaxDeps = [ "dataprep-ml" "numpy" "scikit-learn" ]; dependencies = [ Loading @@ -41,10 +41,15 @@ buildPythonPackage rec { pythonImportsCheck = [ "mindsdb_evaluator" ]; meta = with lib; { nativeCheckInputs = [ pytestCheckHook ]; meta = { changelog = "https://github.com/mindsdb/mindsdb_evaluator/releases/tag/${src.tag}"; description = "Model evaluation for Machine Learning pipelines"; homepage = "https://pypi.org/project/mindsdb-evaluator/"; license = licenses.gpl3Only; maintainers = with maintainers; [ mbalatsko ]; homepage = "https://github.com/mindsdb/mindsdb_evaluator"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ mbalatsko ]; }; } pkgs/development/python-modules/standard-sndhdr/default.nix 0 → 100644 +42 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, setuptools, standard-aifc, }: buildPythonPackage rec { pname = "standard-sndhdr"; version = "3.13.0"; pyproject = true; src = fetchFromGitHub { owner = "youknowone"; repo = "python-deadlib"; tag = "v${version}"; hash = "sha256-vhGFTd1yXL4Frqli5D1GwOatwByDjvcP8sxgkdu6Jqg="; }; sourceRoot = "${src.name}/sndhdr"; build-system = [ setuptools ]; dependencies = [ standard-aifc ]; pythonImportsCheck = [ "sndhdr" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Standard library sndhdr redistribution"; homepage = "https://github.com/youknowone/python-deadlib/tree/main/sndhdr"; license = lib.licenses.psfl; maintainers = [ lib.maintainers.dotlambda ]; }; } pkgs/development/python-modules/type-infer/default.nix +15 −6 Original line number Diff line number Diff line { lib, buildPythonPackage, pythonOlder, pythonAtLeast, fetchFromGitHub, fetchpatch, poetry-core, colorlog, dataclasses-json, Loading @@ -14,6 +13,8 @@ py3langid, pytestCheckHook, python-dateutil, standard-imghdr, standard-sndhdr, scipy, toml, }: Loading @@ -24,7 +25,7 @@ let d.stopwords ]); version = "0.0.23"; version = "0.0.25"; tag = "v${version}"; in buildPythonPackage { Loading @@ -32,15 +33,21 @@ buildPythonPackage { inherit version; pyproject = true; disabled = pythonOlder "3.8" || pythonAtLeast "3.13"; src = fetchFromGitHub { owner = "mindsdb"; repo = "type_infer"; inherit tag; hash = "sha256-tqT/MTcSHcKGoPUUzjPLFpOTchannFsCd2VMC+8kVZ8="; hash = "sha256-WL/2WSy3e2Mg/jNS8afUEnCt10wpXho4uOPAkVdzHWA="; }; patches = [ # https://github.com/mindsdb/type_infer/pull/83 (fetchpatch { url = "https://github.com/mindsdb/type_infer/commit/d09f88d5ddbe55125b1fff4506b03165d019d88b.patch"; hash = "sha256-wNBzb+RxoZC8zn5gdOrtJeXJIIH3DTt1gTZfgN/WnQQ="; }) ]; pythonRelaxDeps = [ "psutil" "py3langid" Loading @@ -59,6 +66,8 @@ buildPythonPackage { py3langid python-dateutil scipy standard-imghdr standard-sndhdr toml ]; Loading pkgs/top-level/python-packages.nix +6 −0 Original line number Diff line number Diff line Loading @@ -17650,6 +17650,12 @@ self: super: with self; { standard-pipes = if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-pipes { } else null; standard-sndhdr = if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-sndhdr { } else null; standard-sunau = if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-sunau { } else null; Loading
pkgs/development/python-modules/mindsdb-evaluator/default.nix +19 −14 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, pythonOlder, fetchFromGitHub, poetry-core, dataprep-ml, numpy, pandas, scikit-learn, type-infer, pytestCheckHook, }: buildPythonPackage rec { pname = "mindsdb-evaluator"; version = "0.0.18"; version = "0.0.20"; pyproject = true; disabled = pythonOlder "3.8"; # using PyPI as git repository does not have release tags or branches src = fetchPypi { pname = "mindsdb_evaluator"; inherit version; hash = "sha256-UGg7P/OKmRi70z2roRBsA95FAXm7CG+TdPzTRy7+p4w="; src = fetchFromGitHub { owner = "mindsdb"; repo = "mindsdb_evaluator"; tag = "v${version}"; hash = "sha256-ZeJABMbyRdGrZGkWWXcjleOeDQBSicGR06hZAPUKvgI="; }; build-system = [ poetry-core ]; pythonRelaxDeps = [ "dataprep-ml" "numpy" "scikit-learn" ]; dependencies = [ Loading @@ -41,10 +41,15 @@ buildPythonPackage rec { pythonImportsCheck = [ "mindsdb_evaluator" ]; meta = with lib; { nativeCheckInputs = [ pytestCheckHook ]; meta = { changelog = "https://github.com/mindsdb/mindsdb_evaluator/releases/tag/${src.tag}"; description = "Model evaluation for Machine Learning pipelines"; homepage = "https://pypi.org/project/mindsdb-evaluator/"; license = licenses.gpl3Only; maintainers = with maintainers; [ mbalatsko ]; homepage = "https://github.com/mindsdb/mindsdb_evaluator"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ mbalatsko ]; }; }
pkgs/development/python-modules/standard-sndhdr/default.nix 0 → 100644 +42 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, setuptools, standard-aifc, }: buildPythonPackage rec { pname = "standard-sndhdr"; version = "3.13.0"; pyproject = true; src = fetchFromGitHub { owner = "youknowone"; repo = "python-deadlib"; tag = "v${version}"; hash = "sha256-vhGFTd1yXL4Frqli5D1GwOatwByDjvcP8sxgkdu6Jqg="; }; sourceRoot = "${src.name}/sndhdr"; build-system = [ setuptools ]; dependencies = [ standard-aifc ]; pythonImportsCheck = [ "sndhdr" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Standard library sndhdr redistribution"; homepage = "https://github.com/youknowone/python-deadlib/tree/main/sndhdr"; license = lib.licenses.psfl; maintainers = [ lib.maintainers.dotlambda ]; }; }
pkgs/development/python-modules/type-infer/default.nix +15 −6 Original line number Diff line number Diff line { lib, buildPythonPackage, pythonOlder, pythonAtLeast, fetchFromGitHub, fetchpatch, poetry-core, colorlog, dataclasses-json, Loading @@ -14,6 +13,8 @@ py3langid, pytestCheckHook, python-dateutil, standard-imghdr, standard-sndhdr, scipy, toml, }: Loading @@ -24,7 +25,7 @@ let d.stopwords ]); version = "0.0.23"; version = "0.0.25"; tag = "v${version}"; in buildPythonPackage { Loading @@ -32,15 +33,21 @@ buildPythonPackage { inherit version; pyproject = true; disabled = pythonOlder "3.8" || pythonAtLeast "3.13"; src = fetchFromGitHub { owner = "mindsdb"; repo = "type_infer"; inherit tag; hash = "sha256-tqT/MTcSHcKGoPUUzjPLFpOTchannFsCd2VMC+8kVZ8="; hash = "sha256-WL/2WSy3e2Mg/jNS8afUEnCt10wpXho4uOPAkVdzHWA="; }; patches = [ # https://github.com/mindsdb/type_infer/pull/83 (fetchpatch { url = "https://github.com/mindsdb/type_infer/commit/d09f88d5ddbe55125b1fff4506b03165d019d88b.patch"; hash = "sha256-wNBzb+RxoZC8zn5gdOrtJeXJIIH3DTt1gTZfgN/WnQQ="; }) ]; pythonRelaxDeps = [ "psutil" "py3langid" Loading @@ -59,6 +66,8 @@ buildPythonPackage { py3langid python-dateutil scipy standard-imghdr standard-sndhdr toml ]; Loading
pkgs/top-level/python-packages.nix +6 −0 Original line number Diff line number Diff line Loading @@ -17650,6 +17650,12 @@ self: super: with self; { standard-pipes = if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-pipes { } else null; standard-sndhdr = if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-sndhdr { } else null; standard-sunau = if pythonAtLeast "3.13" then callPackage ../development/python-modules/standard-sunau { } else null;