about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-05-18 15:38:26 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2024-05-18 15:39:00 +0200
commit07ef71ef0b5607a6e2e84b167486b8186f01f330 (patch)
tree7fcf7ab06a7ac5945b7610df2fb44255e4b04f90
parent537c6bc478509bba0a7d698fbedaef79ca615ed0 (diff)
python312Packages.summarytools: refactor
-rw-r--r--pkgs/development/python-modules/summarytools/default.nix17
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/summarytools/default.nix b/pkgs/development/python-modules/summarytools/default.nix
index b9ae6876c945b..32d4f2d1f6eb1 100644
--- a/pkgs/development/python-modules/summarytools/default.nix
+++ b/pkgs/development/python-modules/summarytools/default.nix
@@ -17,27 +17,34 @@ buildPythonPackage rec {
 
   disabled = pythonOlder "3.7";
 
-  # no version tags in GitHub repo
   src = fetchPypi {
     inherit pname version;
     hash = "sha256-m29ug+JZC4HgMIVopovA/dyR40Z1IcADOiDWKg9mzdc=";
   };
 
-  nativeBuildInputs = [ setuptools ];
+  build-system = [
+    setuptools
+  ];
 
-  propagatedBuildInputs = [
+  dependencies = [
     ipython
     matplotlib
     numpy
     pandas
   ];
 
-  nativeCheckImports = [ pytestCheckHook ];
-  pythonImportsCheck = [ "summarytools" ];
+  nativeCheckImports = [
+    pytestCheckHook
+  ];
+
+  pythonImportsCheck = [
+    "summarytools"
+  ];
 
   meta = with lib; {
     description = "Python port of the R summarytools package for summarizing dataframes";
     homepage = "https://github.com/6chaoran/jupyter-summarytools";
+    changelog = "https://github.com/6chaoran/jupyter-summarytools/releases/tag/v${version}";
     license = licenses.asl20;
     maintainers = with maintainers; [ bcdarwin ];
   };