spicedb: 1.39.1 -> 1.40.0
[NixPkgs.git] / pkgs / development / python-modules / ppscore / default.nix
blob2dcafee094039a68d7bc6f48694dcb1d08c55e18
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   pandas,
7   pytestCheckHook,
8   pythonOlder,
9   scikit-learn,
12 buildPythonPackage rec {
13   pname = "ppscore";
14   version = "1.3.0";
15   pyproject = true;
17   disabled = pythonOlder "3.6";
19   src = fetchFromGitHub {
20     owner = "8080labs";
21     repo = "ppscore";
22     tag = version;
23     hash = "sha256-gJStsL8fN17kvXO8EH/NHGIBelPknJzYw5WEvHsFooU=";
24   };
26   nativeBuildInputs = [
27     setuptools
28   ];
30   propagatedBuildInputs = [
31     pandas
32     scikit-learn
33   ];
35   nativeCheckInputs = [ pytestCheckHook ];
37   pythonRelaxDeps = [ "pandas" ];
39   pythonImportsCheck = [ "ppscore" ];
41   meta = with lib; {
42     description = "Python implementation of the Predictive Power Score (PPS)";
43     homepage = "https://github.com/8080labs/ppscore/";
44     changelog = "https://github.com/8080labs/ppscore/blob/${src.rev}/CHANGELOG.md";
45     license = licenses.mit;
46     maintainers = with maintainers; [ evax ];
47   };