summary refs log tree commit diff
path: root/pkgs/development/python-modules/pandas
diff options
context:
space:
mode:
authorDrew Risinger <drewrisinger@users.noreply.github.com>2020-09-17 10:19:28 -0400
committerJonathan Ringer <jonringer117@gmail.com>2020-11-05 15:47:09 -0800
commitac8aff99bf4aea5d641dd2b23afb228d3cfa458b (patch)
tree1a95702067daf846483c53a8f09166e3da4f751a /pkgs/development/python-modules/pandas
parentf3ecc37a857e2dfe4f03dc508dfdf8300afa867c (diff)
downloadnixpkgs-ac8aff99bf4aea5d641dd2b23afb228d3cfa458b.tar
nixpkgs-ac8aff99bf4aea5d641dd2b23afb228d3cfa458b.tar.gz
nixpkgs-ac8aff99bf4aea5d641dd2b23afb228d3cfa458b.tar.bz2
nixpkgs-ac8aff99bf4aea5d641dd2b23afb228d3cfa458b.tar.lz
nixpkgs-ac8aff99bf4aea5d641dd2b23afb228d3cfa458b.tar.xz
nixpkgs-ac8aff99bf4aea5d641dd2b23afb228d3cfa458b.tar.zst
nixpkgs-ac8aff99bf4aea5d641dd2b23afb228d3cfa458b.zip
pythonPackages.pandas: cleanup
* Sort imports
* add changelog
Diffstat (limited to 'pkgs/development/python-modules/pandas')
-rw-r--r--pkgs/development/python-modules/pandas/default.nix53
1 files changed, 28 insertions, 25 deletions
diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix
index 6e9f3874d29..da3358cbbda 100644
--- a/pkgs/development/python-modules/pandas/default.nix
+++ b/pkgs/development/python-modules/pandas/default.nix
@@ -1,27 +1,29 @@
-{ buildPythonPackage
+{ stdenv
+, buildPythonPackage
 , fetchPypi
 , python
-, stdenv
-, pytest
-, glibcLocales
+, isPy38
+, beautifulsoup4
+, bottleneck
 , cython
 , dateutil
-, scipy
-, moto
+, html5lib
+, lxml
 , numexpr
+, openpyxl
 , pytz
-, xlrd
-, bottleneck
 , sqlalchemy
-, lxml
-, html5lib
-, beautifulsoup4
-, hypothesis
-, openpyxl
+, scipy
 , tables
+, xlrd
 , xlwt
+# Test Inputs
+, glibcLocales
+, hypothesis
+, moto
+, pytest
+# Darwin inputs
 , runtimeShell
-, isPy38
 , libcxx ? null
 }:
 
@@ -43,18 +45,18 @@ in buildPythonPackage rec {
   nativeBuildInputs = [ cython ];
   buildInputs = optional isDarwin libcxx;
   propagatedBuildInputs = [
+    beautifulsoup4
+    bottleneck
     dateutil
-    scipy
+    html5lib
     numexpr
-    pytz
-    xlrd
-    bottleneck
-    sqlalchemy
     lxml
-    html5lib
-    beautifulsoup4
     openpyxl
+    pytz
+    scipy
+    sqlalchemy
     tables
+    xlrd
     xlwt
   ];
 
@@ -128,14 +130,15 @@ in buildPythonPackage rec {
     runHook postCheck
   '';
 
-  meta = {
+  meta = with stdenv.lib; {
     # https://github.com/pandas-dev/pandas/issues/14866
     # pandas devs are no longer testing i686 so safer to assume it's broken
     broken = stdenv.isi686;
     homepage = "https://pandas.pydata.org/";
+    changelog = "https://pandas.pydata.org/docs/whatsnew/index.html";
     description = "Python Data Analysis Library";
-    license = stdenv.lib.licenses.bsd3;
-    maintainers = with stdenv.lib.maintainers; [ raskin fridh knedlsepp ];
-    platforms = stdenv.lib.platforms.unix;
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ raskin fridh knedlsepp ];
+    platforms = platforms.unix;
   };
 }