Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / kotsu / default.nix
blobf1f9389daf5b09cc1e503011921b88927bcbae0c
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , pandas
6 , typing-extensions
7 , pytestCheckHook
8 , pytest-mock
9 , scikit-learn
12 buildPythonPackage rec {
13   pname = "kotsu";
14   version = "0.3.3";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "datavaluepeople";
21     repo = "kotsu";
22     rev = "v${version}";
23     hash = "sha256-V5OkgiLUTRNbNt6m94+aYUZd9Nw+/60LfhrqqdFhiUw=";
24   };
26   patches = [
27     ./disable-pytest-coverage-flags.patch
28   ];
30   propagatedBuildInputs = [ pandas typing-extensions ];
32   nativeCheckInputs = [
33     pytestCheckHook
34     pytest-mock
35     scikit-learn
36   ];
37   pythonImportsCheck = [ "kotsu" ];
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   };