doc/python: remove usages of fetchPypi aliases
This commit is contained in:
@@ -411,7 +411,7 @@ with import <nixpkgs> {};
|
|||||||
version = "0.10.0";
|
version = "0.10.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = python311.pkgs.fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-CP3V73yWSArRHBLUct4hrNMjWZlvaaUlkpm1QP66RWA=";
|
hash = "sha256-CP3V73yWSArRHBLUct4hrNMjWZlvaaUlkpm1QP66RWA=";
|
||||||
};
|
};
|
||||||
@@ -1229,7 +1229,7 @@ with import <nixpkgs> {};
|
|||||||
packageOverrides = self: super: {
|
packageOverrides = self: super: {
|
||||||
pandas = super.pandas.overridePythonAttrs(old: rec {
|
pandas = super.pandas.overridePythonAttrs(old: rec {
|
||||||
version = "0.19.1";
|
version = "0.19.1";
|
||||||
src = super.fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "pandas";
|
pname = "pandas";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-JQn+rtpy/OA2deLszSKEuxyttqBzcAil50H+JDHUdCE=";
|
hash = "sha256-JQn+rtpy/OA2deLszSKEuxyttqBzcAil50H+JDHUdCE=";
|
||||||
@@ -1286,6 +1286,7 @@ specifying an interpreter version), like this:
|
|||||||
```nix
|
```nix
|
||||||
{ lib
|
{ lib
|
||||||
, python3
|
, python3
|
||||||
|
, fetchPypi
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
@@ -1293,7 +1294,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
version = "2.7.9";
|
version = "2.7.9";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = python3.pkgs.fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-Pe229rT0aHwA98s+nTHQMEFKZPo/yw6sot8MivFDvAw=";
|
hash = "sha256-Pe229rT0aHwA98s+nTHQMEFKZPo/yw6sot8MivFDvAw=";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user