Python 3.4: be explicit about buildInputs

This commit is contained in:
Frederik Rietdijk 2016-05-15 13:37:51 +02:00
parent 58ec2d47ea
commit 56e96b8b10

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";