mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 18:47:57 +03:00
Merge pull request #204903 from mweinelt/cpython-changelog
This commit is contained in:
commit
b818d8a9b3
@ -507,7 +507,15 @@ in with passthru; stdenv.mkDerivation {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://python.org";
|
homepage = "https://www.python.org";
|
||||||
|
changelog = let
|
||||||
|
majorMinor = lib.versions.majorMinor version;
|
||||||
|
dashedVersion = lib.replaceStrings [ "." "a" ] [ "-" "-alpha-" ] version;
|
||||||
|
in
|
||||||
|
if sourceVersion.suffix == "" then
|
||||||
|
"https://docs.python.org/release/${version}/whatsnew/changelog.html"
|
||||||
|
else
|
||||||
|
"https://docs.python.org/${majorMinor}/whatsnew/changelog.html#python-${dashedVersion}";
|
||||||
description = "A high-level dynamically-typed programming language";
|
description = "A high-level dynamically-typed programming language";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Python is a remarkably powerful dynamic programming language that
|
Python is a remarkably powerful dynamic programming language that
|
||||||
|
Loading…
Reference in New Issue
Block a user