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