Merge pull request #261577 from natsukium/python311Packages-ppscore-update

python311Packages.ppscore: unstable-2021-11-25 -> 1.3.0
This commit is contained in:
Nick Cao 2023-10-17 08:56:58 -04:00 committed by GitHub
commit 5b83dcdac7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, setuptools
, pandas , pandas
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
@ -9,18 +10,22 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ppscore"; pname = "ppscore";
version = "unstable-2021-11-25"; version = "1.3.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "8080labs"; owner = "8080labs";
repo = pname; repo = "ppscore";
rev = "c9268c16b6305c5c38e2fe2fd84f43d97ec1aaca"; rev = "refs/tags/${version}";
hash = "sha256-qiogjUgcLFauAMpVf2CKNC27c9xR9q7nY69n8/go1ms="; hash = "sha256-gJStsL8fN17kvXO8EH/NHGIBelPknJzYw5WEvHsFooU=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
pandas pandas
scikit-learn scikit-learn
@ -37,6 +42,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python implementation of the Predictive Power Score (PPS)"; description = "Python implementation of the Predictive Power Score (PPS)";
homepage = "https://github.com/8080labs/ppscore/"; homepage = "https://github.com/8080labs/ppscore/";
changelog = "https://github.com/8080labs/ppscore/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ evax ]; maintainers = with maintainers; [ evax ];
}; };