summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorRobert Schütz <dev@schuetz-co.de>2021-07-03 13:37:24 +0200
committerRobert Schütz <dev@schuetz-co.de>2021-07-03 13:45:57 +0200
commit1ec565191387e1ed6dc5c7a355cdf58a2b56336a (patch)
treeeb839798fb977bc4792b6810307fee833fcf4acd /doc
parentd364e06e4ba7fe1557d2a672af9d52d992838f23 (diff)
downloadnixpkgs-1ec565191387e1ed6dc5c7a355cdf58a2b56336a.tar
nixpkgs-1ec565191387e1ed6dc5c7a355cdf58a2b56336a.tar.gz
nixpkgs-1ec565191387e1ed6dc5c7a355cdf58a2b56336a.tar.bz2
nixpkgs-1ec565191387e1ed6dc5c7a355cdf58a2b56336a.tar.lz
nixpkgs-1ec565191387e1ed6dc5c7a355cdf58a2b56336a.tar.xz
nixpkgs-1ec565191387e1ed6dc5c7a355cdf58a2b56336a.tar.zst
nixpkgs-1ec565191387e1ed6dc5c7a355cdf58a2b56336a.zip
treewide: use pythonPackages.python-dateutil instead of pythonPackages.dateutil
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/python.section.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index 54face47d1e..847a41cf23c 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -439,7 +439,7 @@ The following example shows which arguments are given to `buildPythonPackage` in
 order to build [`datashape`](https://github.com/blaze/datashape).
 
 ```nix
-{ lib, buildPythonPackage, fetchPypi, numpy, multipledispatch, dateutil, pytest }:
+{ lib, buildPythonPackage, fetchPypi, numpy, multipledispatch, python-dateutil, pytest }:
 
 buildPythonPackage rec {
   pname = "datashape";
@@ -451,7 +451,7 @@ buildPythonPackage rec {
   };
 
   checkInputs = [ pytest ];
-  propagatedBuildInputs = [ numpy multipledispatch dateutil ];
+  propagatedBuildInputs = [ numpy multipledispatch python-dateutil ];
 
   meta = with lib; {
     homepage = "https://github.com/ContinuumIO/datashape";
@@ -463,7 +463,7 @@ buildPythonPackage rec {
 ```
 
 We can see several runtime dependencies, `numpy`, `multipledispatch`, and
-`dateutil`. Furthermore, we have one `checkInputs`, i.e. `pytest`. `pytest` is a
+`python-dateutil`. Furthermore, we have one `checkInputs`, i.e. `pytest`. `pytest` is a
 test runner and is only used during the `checkPhase` and is therefore not added
 to `propagatedBuildInputs`.