Python 3.4: be explicit about buildInputs
This commit is contained in:
parent
58ec2d47ea
commit
56e96b8b10
1 changed files with 15 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue