python311Packages.ppscore: refactor
- adopt `pyproject = true` - add changelog to meta
This commit is contained in:
parent
5fdd7d77d1
commit
d57b19b88b
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, pandas
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
@ -10,17 +11,21 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "ppscore";
|
||||
version = "1.3.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "8080labs";
|
||||
repo = pname;
|
||||
repo = "ppscore";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-gJStsL8fN17kvXO8EH/NHGIBelPknJzYw5WEvHsFooU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pandas
|
||||
scikit-learn
|
||||
@ -37,6 +42,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python implementation of the Predictive Power Score (PPS)";
|
||||
homepage = "https://github.com/8080labs/ppscore/";
|
||||
changelog = "https://github.com/8080labs/ppscore/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ evax ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user