Python 3.5: be explicit about buildInputs

This commit is contained in:
Frederik Rietdijk 2016-05-15 13:38:02 +02:00
parent 56e96b8b10
commit 91834cfe3e

View file

@ -27,15 +27,27 @@ let
fullVersion = "${version}";
buildInputs = filter (p: p != null) [
zlib bzip2 lzma gdbm sqlite db readline ncurses openssl tcl tk libX11 xproto
];
zlib
bzip2
lzma
gdbm
sqlite
db
readline
ncurses
openssl
tcl
tk
libX11
xproto
] ++ optionals stdenv.isDarwin [ CF configd ];
in
stdenv.mkDerivation {
name = "python3-${fullVersion}";
pythonVersion = majorVersion;
inherit majorVersion version;
buildInputs = optionals stdenv.isDarwin [ CF configd ];
inherit buildInputs;
src = fetchurl {
url = "http://www.python.org/ftp/python/${version}/Python-${fullVersion}.tar.xz";