Files
nixpkgs/pkgs/development/interpreters/python/cpython/docs/3.14-text.nix
Nicolas Benes f510bda3df pythonDocs: switch to stable URL, drop pdf-a4
The previous URL did not contain the patch version and therefore there
were hash changes to the fetched files. Switch to a more stable URL.
The pdf-a4 file format seems to be generated only for the .0 patch
release, so it is missing for later releases.
2026-06-13 16:52:56 +02:00

27 lines
552 B
Nix

# This file was generated and will be overwritten by ./generate.sh
{
stdenv,
fetchurl,
lib,
}:
stdenv.mkDerivation {
pname = "python314-docs-text";
version = "3.14.6";
src = fetchurl {
url = "https://www.python.org/ftp/python/doc/3.14.6/python-3.14.6-docs-text.tar.bz2";
sha256 = "0flqq4k9fq948gb3zim04znyxr21pfv8i4mrhh3qwna13fh897zg";
};
installPhase = ''
mkdir -p $out/share/doc/python314
cp -R ./ $out/share/doc/python314/text
'';
meta = {
maintainers = with lib.maintainers; [
panicgh
];
};
}