Created
November 18, 2019 22:22
-
-
Save matthew-piziak/1cc01a13d54ae7003990bc647e9ad8a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python372 = pkgs.python37.override | |
(params: { sourceVersion = params.sourceVersion // { patch = "2"; }; }).overrideAttrs (attrs: { | |
version = with attrs.sourceVersion; "${major}.${minor}.${patch}${suffix}"; | |
src = pkgs.fetchurl { | |
url = with attrs.sourceVersion; | |
"https://www.python.org/ftp/python/${major}.${minor}.${patch}/Python-${version}.tar.xz"; | |
sha256 = "0242gihnw3wfskl4fydp2xanpl8k5q7fj4dp7dbbqf46a4iwdzpa"; | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment