Merge branch 'staging'
Hydra rebuild looks fine; only a few Darwin jobs is queued: http://hydra.nixos.org/eval/1304891?compare=1304807
This commit is contained in:
@@ -6,8 +6,8 @@ let
|
||||
sha256 = "ea8033fc9905804e652f75474d33410a07404c1a78dd3c949a66863bd1050ebd";
|
||||
};
|
||||
setuptools_source = fetchurl {
|
||||
url = "https://files.pythonhosted.org/packages/3b/c7/e9724e6f81c96248fba5876054418c11d327b3093d075790903cd66fad44/setuptools-26.1.1-py2.py3-none-any.whl";
|
||||
sha256 = "226c9ce65e76c6069e805982b036f36dc4b227b37dd87fc219aef721ec8604ae";
|
||||
url = "https://files.pythonhosted.org/packages/3b/7e/293d19ccd106119e35db4bf3e111b1895098f618b455b758aa636496cf03/setuptools-28.8.0-py2.py3-none-any.whl";
|
||||
sha256 = "2e59d06ac798efce29c567ee0e0687514efca529a665b8f364cf497cd10d21b2";
|
||||
};
|
||||
argparse_source = fetchurl {
|
||||
url = "https://pypi.python.org/packages/2.7/a/argparse/argparse-1.4.0-py2.py3-none-any.whl";
|
||||
@@ -15,11 +15,11 @@ let
|
||||
};
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "${python.libPrefix}-bootstrapped-pip-${version}";
|
||||
version = "8.1.2";
|
||||
version = "9.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pypi.python.org/packages/9c/32/004ce0852e0a127f07f358b715015763273799bd798956fa930814b60f39/pip-${version}-py2.py3-none-any.whl";
|
||||
sha256 = "18cjrd66mn4a0gwa99zzs89lrb0xn4xmajdzya6zqd7v16cdsr34";
|
||||
url = "https://files.pythonhosted.org/packages/b6/ac/7015eb97dc749283ffdec1c3a88ddb8ae03b8fad0f0e611408f196358da3/pip-9.0.1-py2.py3-none-any.whl";
|
||||
sha256 = "690b762c0a8460c303c089d5d0be034fb15a5ea2b75bdf565f40421f542fefb0";
|
||||
};
|
||||
|
||||
unpackPhase = ''
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
diff -ruN a/src/config.py b/src/config.py
|
||||
--- a/src/config.py 2015-07-31 19:35:37.000000000 +0000
|
||||
+++ b/src/config.py 2015-08-03 09:23:34.322098081 +0000
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
import logging.config
|
||||
import os
|
||||
+import stat
|
||||
import sys
|
||||
import pkg_resources
|
||||
|
||||
@@ -563,6 +564,13 @@
|
||||
copy2(default, options.filename)
|
||||
elif path.isfile(other):
|
||||
copy2(other, options.filename)
|
||||
+
|
||||
+ # Inside the nixstore, the reference file is readonly, so is the copy.
|
||||
+ # Make it writable by the user who just created it.
|
||||
+ if os.path.exists(options.filename):
|
||||
+ os.chmod(options.filename,
|
||||
+ os.stat(options.filename).st_mode | stat.S_IWUSR)
|
||||
+
|
||||
global firstrun
|
||||
firstrun = True
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
{ stdenv, lib, fetchurl, python, wrapPython }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
shortName = "setuptools-${version}";
|
||||
pname = "setuptools";
|
||||
shortName = "${pname}-${version}";
|
||||
name = "${python.libPrefix}-${shortName}";
|
||||
|
||||
version = "26.1.1"; # 18.4 and up breaks python34Packages.characteristic and many others
|
||||
version = "28.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/s/setuptools/${shortName}.tar.gz";
|
||||
sha256 = "475ce28993d7cb75335942525b9fac79f7431a7f6e8a0079c0f2680641379481";
|
||||
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${shortName}.tar.gz";
|
||||
sha256 = "432a1ad4044338c34c2d09b0ff75d509b9849df8cf329f4c1c7706d9c2ba3c61";
|
||||
};
|
||||
|
||||
buildInputs = [ python wrapPython ];
|
||||
|
||||
Reference in New Issue
Block a user