mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-01 14:28:20 +00:00
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.
27 lines
552 B
Nix
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
|
|
];
|
|
};
|
|
}
|