at 23.11-beta 1.0 kB view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, pandas 6, typing-extensions 7, pytestCheckHook 8, pytest-mock 9, scikit-learn 10}: 11 12buildPythonPackage rec { 13 pname = "kotsu"; 14 version = "0.3.3"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "datavaluepeople"; 21 repo = "kotsu"; 22 rev = "v${version}"; 23 hash = "sha256-V5OkgiLUTRNbNt6m94+aYUZd9Nw+/60LfhrqqdFhiUw="; 24 }; 25 26 patches = [ 27 ./disable-pytest-coverage-flags.patch 28 ]; 29 30 propagatedBuildInputs = [ pandas typing-extensions ]; 31 32 nativeCheckInputs = [ 33 pytestCheckHook 34 pytest-mock 35 scikit-learn 36 ]; 37 pythonImportsCheck = [ "kotsu" ]; 38 39 meta = with lib; { 40 description = "Lightweight framework for structured and repeatable model validation"; 41 homepage = "https://github.com/datavaluepeople/kotsu"; 42 changelog = "https://github.com/datavaluepeople/kotsu/blob/${src.rev}/CHANGELOG.md"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ mbalatsko ]; 45 }; 46}